PIC18F4550-I/P Microchip Technology Inc., PIC18F4550-I/P Datasheet - Page 185

no-image

PIC18F4550-I/P

Manufacturer Part Number
PIC18F4550-I/P
Description
40 PIN, 32 KB FLASH, 2048 RAM, FS-USB 2.0
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F4550-I/P

A/d Inputs
13-Channel, 10-Bit
Comparators
2
Cpu Speed
12 MIPS
Eeprom Memory
256 Bytes
Input Output
34
Interface
I2C/SPI/UART/USART/USB
Memory Type
Flash
Number Of Bits
8
Package Type
40-pin PDIP
Programmable Memory
32K Bytes
Ram Size
2K Bytes
Speed
48 MHz
Timers
1-8-bit, 3-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F4550-I/PT
Manufacturer:
MURATA
Quantity:
12 000
Part Number:
PIC18F4550-I/PT
Manufacturer:
Microchip Technology
Quantity:
36 332
Part Number:
PIC18F4550-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F4550-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F4550-I/PT
0
Company:
Part Number:
PIC18F4550-I/PT
Quantity:
4 500
17.6
Many USB applications will likely have several different
sets of power requirements and configuration. The
most common power modes encountered are Bus
Power Only, Self-Power Only and Dual Power with
Self-Power Dominance. The most common cases are
presented here.
17.6.1
In Bus Power Only mode, all power for the application
is drawn from the USB (Figure 17-10). This is
effectively the simplest power method for the device.
FIGURE 17-10:
17.6.2
In Self-Power Only mode, the USB application provides
its own power, with very little power being pulled from
the USB. Figure 17-11 shows an example. Note that an
attach indication is added to indicate when the USB
has been connected.
FIGURE 17-11:
17.6.3
Some applications may require a dual power option.
This allows the application to use internal power prima-
rily, but switch to power from the USB when no internal
power is available. Figure 17-12 shows a simple Dual
Power with Self-Power Dominance example, which
automatically switches between Self-Power Only and
USB Bus Power Only modes.
© 2006 Microchip Technology Inc.
V
~5V
BUS
USB Power Modes
V
V
100 k
SELF
~5V
~5V
BUS
BUS POWER ONLY
SELF-POWER ONLY
DUAL POWER WITH SELF-POWER
DOMINANCE
Attach Sense
BUS POWER ONLY
SELF-POWER ONLY
100 k
V
V
V
USB
DD
SS
I/O pin
V
V
V
DD
USB
SS
PIC18F2455/2550/4455/4550
Preliminary
FIGURE 17-12:
17.7
The Streaming Parallel Port (SPP) is an alternate route
option for data besides USB RAM. Using the SPP, an
endpoint can be configured to send data to or receive
data directly from external hardware.
This methodology presents design possibilities where
the microcontroller acts as a data manager, allowing
the SPP to pass large blocks of data without the micro-
controller actually processing it. An application
example might include a data acquisition system,
where data is streamed from an external FIFO through
USB to the host computer. In this case, endpoint
control is managed by the microcontroller and raw data
movement is processed externally.
The SPP is enabled as a USB endpoint port through
the associated endpoint buffer descriptor. The endpoint
must be enabled as follows:
1.
2.
3.
Refer to Section 18.0 “Streaming Parallel Port” for
more information about the SPP.
V
V
Note:
SELF
Note 1: If an endpoint is configured to use the
~5V
~5V
BUS
100 k
Set BDnADRL:BDnADRH to point to FFFFh.
Set the KEN bit (BDnSTAT<5>) to let SIE keep
control of the buffer.
Set the INCDIS bit (BDnSTAT<4>) to disable
automatic address increment.
2: In addition, if an endpoint is configured to
Streaming Parallel Port
Users should keep in mind the limits for
devices drawing power from the USB.
According to USB Specification 2.0, this
cannot exceed 100 mA per low-power
device or 500 mA per high-power device.
SPP, the SPP module must also be
configured to use the USB module.
Otherwise, unexpected operation may
occur.
use the SPP, the data transfer type of that
endpoint must be isochronous only.
100 k
DUAL POWER EXAMPLE
Attach Sense
DS39632C-page 183
I/O pin
V
V
V
USB
DD
SS

Related parts for PIC18F4550-I/P