PIC18LF248-I/SP Microchip Technology, PIC18LF248-I/SP Datasheet - Page 231

IC MCU CAN FLASH 8K LP 28DIP

PIC18LF248-I/SP

Manufacturer Part Number
PIC18LF248-I/SP
Description
IC MCU CAN FLASH 8K LP 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF248-I/SP

Core Size
8-Bit
Program Memory Size
16KB (8K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
22
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC18
No. Of I/o's
22
Eeprom Memory Size
256Byte
Ram Memory Size
768Byte
Cpu Speed
40MHz
No. Of Timers
4
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
FIGURE 19-3:
© 2006 Microchip Technology Inc.
The TXIE bit determines if an inter-
rupt should be generated when a
message is successfully transmitted.
Generate
Interrupt
INTERNAL TRANSMIT MESSAGE FLOWCHART
Determine Highest Priority Message
No
Yes
Begin Transmission (SOF)
Examine TXPRI <1:0> to
Clear: TXABT, TXLARB
Message Transmitted
Available to Start
Transmission?
Set TXREQ = 0
Successfully?
TXBUFE = 1
and TXERR
Is CAN bus
TXIE = 1?
TXREQ
bits = 1?
Are any
Start
END
Was
Set
Is
Yes
Yes
Yes
No
A message can also be
aborted if a message
error or lost arbitration
condition occurred during
transmission.
No
No
The message transmission sequence begins when
the device determines that the TXREQ for any of the
transmit registers has been set.
Clearing the TXREQ bit while it is set, or setting
the ABAT bit before the message has started
transmission, will abort the message.
or TXABT = 1?
TXLARB = 1?
TXREQ = 0
ABAT = 1?
TXERR = 1
TXREQ = 0
No
No
Set
Is
Is
Is
No
Yes
Yes
Yes
Abort Transmission:
Set TXABT = 1
PIC18FXX8
Arbitration Lost During
Transmission
DS41159E-page 229

Related parts for PIC18LF248-I/SP