PIC18F248-I/SP Microchip Technology, PIC18F248-I/SP Datasheet - Page 4
![IC MCU FLASH 8KX16 CAN 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC18F248-I/SP
Manufacturer Part Number
PIC18F248-I/SP
Description
IC MCU FLASH 8KX16 CAN 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC18LF242-ISO.pdf
(36 pages)
3.PIC18F248-ISO.pdf
(402 pages)
4.PIC18F248-ISO.pdf
(8 pages)
Specifications of PIC18F248-I/SP
Program Memory Type
FLASH
Program Memory Size
16KB (8K x 16)
Package / Case
28-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
22
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
768 B
Interface Type
SPI/I2C/USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
22
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, DM163011, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
5-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
PIC18F248I/SP
PIC18FXX8
10. Module: MSSP (SPI, Slave Mode)
11. Module: CAN
DS80134H-page 4
In its current implementation, the SS (Slave
Select) control signal generated by an external
master processor may not be successfully recog-
nized by the PIC
Slave Select mode (SSPM3:SSPM0 = 0100). In
particular, it has been observed that faster
transitions (those with shorter fall times) are more
likely to be missed than than slower transitions.
Work around
Insert a series resistor between the source of the
SS signal and the corresponding SS input line of
the microcontroller. The value of the resistor is
dependent on both the application system’s
characteristics and process variations between
microcontrollers. Experimentation and thorough
testing are encouraged.
This is a recommended solution. Other solutions
may exist.
Date Codes that pertain to this issue:
All engineering and production devices.
An incoming CAN message may not be saved
properly to a CAN receive buffer if one of the
following conditions is met:
1. Bank 15 is selected and the firmware attempts
2. Bank 15 is selected and an instruction is
3. The firmware attempts to access GPR
to read RXB0 or RXB1 registers while a CAN
message reception is in progress.
executed whose lower 8 bits match with one of
the CAN receive buffer addresses (RXBn
addresses in the range of 0xF61 to 0xF6E and
0xF51 to 0xF5D) while a CAN message recep-
tion is in progress. Some of the instruction
examples are:
• 0xFF68 (NOP)
• 0xEE68 (first half of GOTO 0xD0)
• 0x0E6A (MOVLW 0x6A)
• 0x6055 (MOVF 0xF66, W)
Other instruction combinations exist.
(General
between addresses 0x51 and 0x5D in the
Access Bank while a CAN message reception is
in progress. Some of the instruction examples
are:
• MOVWF 0x57, A
• ADDWF 0x57, A
• MOVF
0x57, W, A
Purpose
®
microcontroller operating in
Register)
addresses
12. Module: Reset
13. Module: CAN
Work around
1. Once in normal CAN mode, never select
2. Always make sure that the RXFUL bit is set
3. Do not access/use any of the registers in the
It has been observed that in certain Reset condi-
tions, including power-up, the first GOTO instruction
at address 0x0000 may not be executed. This
occurrence is rare and affects very few applications.
To determine if your system is affected, test a
statistically significant number of applications across
the operating temperature, voltage and frequency
ranges of the application. Affected systems will
repeatedly fail normal testing. Systems not affected
will continue to not be affected over time.
Work around
Insert a NOP instruction at address 0x0000.
Date Codes that pertain to this issue:
All engineering and production devices.
Under specific conditions, the first five bits of a
transmitted identifier may not match the value in the
Transmit Buffer ID register, TXBxSIDH. If the CAN
peripheral detects a Start-of-Frame (SOF) in the
third bit of interframe space, and if a message to be
transmitted is pending, the first five bits of the
transmitted identifier may be corrupted.
Work around
None
Date Codes that pertain to this issue:
All engineering and production devices.
Bank 15. Always use Access Bank RAM to
access the CAN buffers. The RXB0 buffer is
already available in the Access Bank. All other
transmit and receive buffers are available in
Access Bank RAM, via the RXB0 registers,
using the WIN bits available in the CANCON
register.
before attempting to access any of the Receive
Buffer registers.
Access Bank address range of 0x051 to
0x05D. If using assembly language, do not
allocate any of your application variables in this
address range. If using a C compiler, make
sure that the compiler does not allocate any
variable in the specified address range.
© 2006 Microchip Technology Inc.