PIC18F2550-I/SP Microchip Technology, PIC18F2550-I/SP Datasheet - Page 185

IC PIC MCU FLASH 16KX16 28DIP

PIC18F2550-I/SP

Manufacturer Part Number
PIC18F2550-I/SP
Description
IC PIC MCU FLASH 16KX16 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2550-I/SP

Program Memory Type
FLASH
Program Memory Size
32KB (16K x 16)
Package / Case
28-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
24
Eeprom Size
256 x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1536 B
Interface Type
SPI, I2C, EAUSART
Maximum Clock Frequency
48 MHz
Number Of Programmable I/os
24
Number Of Timers
4
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DM163025, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 10 Channel
Package
28SPDIP
Device Core
PIC
Family Name
PIC18
Maximum Speed
48 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
I3-DB18F4550 - BOARD DAUGHTER ICEPIC3DM163025 - PIC DEM FULL SPEED USB DEMO BRDDVA18XP280 - DEVICE ADAPTER 18F2220 PDIP 28LD
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2550-I/SP
Manufacturer:
MICROCHIP
Quantity:
2 100
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.
© 2007 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
DD
USB
SS
I/O pin
V
V
V
USB
DD
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
DS39632D-page 183
I/O pin
V
V
V
DD
USB
SS

Related parts for PIC18F2550-I/SP