PIC18LF4455-I/PT Microchip Technology, PIC18LF4455-I/PT Datasheet - Page 196

IC PIC MCU FLASH 12KX16 44TQFP

PIC18LF4455-I/PT

Manufacturer Part Number
PIC18LF4455-I/PT
Description
IC PIC MCU FLASH 12KX16 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF4455-I/PT

Core Size
8-Bit
Program Memory Size
24KB (12K x 16)
Core Processor
PIC
Speed
48MHz
Connectivity
I²C, SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
35
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 13x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
Controller Family/series
PIC18
No. Of I/o's
36
Eeprom Memory Size
256Byte
Ram Memory Size
2048Byte
Cpu Speed
48MHz
No. Of Timers
4
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
2 KB
Interface Type
SPI, I2C, EAUSART
Maximum Clock Frequency
48 MHz
Number Of Programmable I/os
35
Number Of Timers
4
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DV164136, DM163025
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 13 Channel
Package
44TQFP
Device Core
PIC
Family Name
PIC18
Maximum Speed
48 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF4455-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18LF4455-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC18F2455/2550/4455/4550
18.2
When the SPP is configured for USB operation, data
can be clocked directly to and from the USB peripheral
without intervention of the microcontroller; thus, no
process time is required. Data is clocked into or out
from the SPP with endpoint (address) information first,
followed by one or more bytes of data, as shown in
Figure 18-5. This is ideal for applications that require
isochronous, large volume data movement.
The following steps are required to set up the SPP for
USB control:
1.
2.
3.
4.
5.
6.
18.3
The SPP can also act as a parallel port for the
microcontroller. In this mode, the SPPEPS register
(Register 18-3) provides status and address write
control. Data is written to and read from the SPPDATA
register.
microcontroller, the SPP clock is driven by the
instruction clock (F
The following steps are required to set up the SPP for
microcontroller operation:
1.
2.
3.
FIGURE 18-5:
DS39632E-page 194
Note:
Configure the SPP as desired, including wait
states and clocks.
Set the SPPOWN bit for USB ownership.
Set the buffer descriptor starting address
(BDnADRL:BDnADRH) to FFFFh.
Set the KEN bit (BDnSTAT<5>) so the buffer
descriptor is kept indefinitely by the SIE.
Set the INCDIS bit (BDnSTAT<4>) to disable
automatic buffer address increment.
Set the SPPEN bit to enable the module.
Configure the SPP as desired, including wait
states and clocks.
Clear the SPPOWN bit.
Set SPPEN to enable the module.
Setup for USB Control
Setup for Microcontroller Control
When
If a USB endpoint is configured to use the
SPP, the data transfer type of that
endpoint must be isochronous only.
Endpoint
Address
OSC
the
TRANSFER OF DATA BETWEEN USB SIE AND SPP
/4).
SPP
Byte 0
is
owned
Byte 1
by
Byte 2
the
Byte 3
18.3.1
When owned by the microcontroller core, control can
generate an interrupt to notify the application when
each read and write operation is completed. The
interrupt flag bit is SPPIF (PIR1<7>) and is enabled by
the SPPIE bit (PIE1<7>). Like all other microcontroller
level interrupts, it can be set to a low or high priority.
This is done with the SPPIP bit (IPR1<7>).
18.3.2
Once configured, writing to the SPP is performed by
writing to the SPPEPS and SPPDATA registers. If the
SPP is configured to clock out endpoint address infor-
mation with the data, writing to the SPPEPS register
initiates the address write cycle. Otherwise, the write is
started by writing the data to the SPPDATA register.
The SPPBUSY bit indicates the status of the address
and the data write cycles.
The following is an example write sequence:
1.
2.
3.
4.
5.
Note:
Write the 4-bit address to the SPPEPS register.
The SPP automatically starts writing the
address. If address write is not used, then skip
to step 3.
Monitor the SPPBUSY bit to determine when the
address has been sent. The duration depends
on the wait states.
Write the data to the SPPDATA register. The
SPP automatically starts writing the data.
Monitor the SPPBUSY bit to determine when the
data has been sent. The duration depends on
the wait states.
Go back to steps 1 or 3 to write a new address
or data.
Write USB endpoint number to SPP
Write outbound USB data to SPP or
read inbound USB data from SPP
SPP INTERRUPTS
WRITING TO THE SPP
The SPPBUSY bit should be polled to
make certain that successive writes to the
SPPEPS or SPPDATA registers do not
overrun the wait time due to the wait state
setting.
Byte n
© 2009 Microchip Technology Inc.

Related parts for PIC18LF4455-I/PT