PIC18F4553-I/ML Microchip Technology, PIC18F4553-I/ML Datasheet - Page 3

32 KB Flash, 2048 RAM, FS-USB 2.0, 12-bit ADC 44 QFN 8x8x0.9mm TUBE

PIC18F4553-I/ML

Manufacturer Part Number
PIC18F4553-I/ML
Description
32 KB Flash, 2048 RAM, FS-USB 2.0, 12-bit ADC 44 QFN 8x8x0.9mm TUBE
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4553-I/ML

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
34
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 13x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-QFN
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
2 KB
Interface Type
MSSP, I2C, SPI, EUSART, CCP, ECCP
Maximum Clock Frequency
48 MHz
Number Of Programmable I/os
35
Number Of Timers
4
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, DV164136, DM163025
Minimum Operating Temperature
- 40 C
On-chip Adc
12 bit, 13 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164322 - MODULE SOCKET MPLAB PM3 28/44QFNDM163025 - PIC DEM FULL SPEED USB DEMO BRD444-1001 - DEMO BOARD FOR PICMICRO MCU
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F4553-I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
5. Module: MSSP
EXAMPLE 1:
EXAMPLE 2:
© 2008 Microchip Technology Inc.
WriteSPI:
BCF
MOVF
MOVLW 0xA5
MOVWF SSPBUF
WaitXmitComplete:
BTFSS PIR1, SSPIF
BRA
MOVF
unsigned char WriteSPI(unsigned char ByteToSend)
{
}
If the application firmware is expecting to receive
valid data – in either SPI Slave or Master mode –
the firmware must read from the SSPBUF register
before writing the next byte to transmit to SSPBUF.
If the firmware does not read from SSPBUF, the
BF bit (SSPSTAT<0>) can still be set from the pre-
vious transaction. If the BF bit is set, the incoming
data byte is blocked from transferring from the
SSPSR Shift register to the SSPBUF register. If
the firmware then reads from SSPBUF, the data
read will not match the data most recently received
on the SDI pin.
In the earlier silicon revision (B5), incoming data
bytes received on the SDI pin are always trans-
ferred from SSPSR to SSPBUF, regardless of the
state of the BF bit.
unsigned char TempVariable;
PIR1bits.SSPIF = 0;
TempVariable = SSPBUF;
SSPBUF = ByteToSend;
while(!PIR1bits.SSPIF);
return SSPBUF;
PIR1, SSPIF
SSPBUF, w
WaitXmitComplete
SSPBUF, w
SAMPLE ASSEMBLY CODE FOR TRANSFERRING SPI DATA
SAMPLE C CODE FOR TRANSFERRING SPI DATA
;Perform read, even if the data in SSPBUF is not important
;In this example, let’s send “0xA5” to the other SPI device.
;The data received should be valid.
// Reads from SSPBUF, ensures BF bit is clear before
// sending the next byte.
// Wait until the transmission is complete.
// The data received should be valid.
PIC18F2458/2553/4458/4553
Work around
If the firmware expects to receive valid data,
always clear the BF bit by reading from SSPBUF
prior to writing to SSPBUF, even when the current
data in SSPBUF is not important. Sample work
around code, suitable for all silicon revisions, is
given in Example 1 (Assembly language) and
Example 2 (C language).
Date Codes that pertain to this issue:
All engineering and production devices.
DS80387A-page 3

Related parts for PIC18F4553-I/ML