PIC18LF258-I/SP Microchip Technology, PIC18LF258-I/SP Datasheet - Page 389
![IC MCU FLASH 16KX16 LV CAN 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC18LF258-I/SP
Manufacturer Part Number
PIC18LF258-I/SP
Description
IC MCU FLASH 16KX16 LV CAN 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16C770-ISO.pdf
(8 pages)
3.PIC18LF242-ISO.pdf
(36 pages)
4.PIC18F248-ISO.pdf
(402 pages)
5.PIC18F248-ISO.pdf
(8 pages)
Specifications of PIC18LF258-I/SP
Core Size
8-Bit
Program Memory Size
32KB (16K x 16)
Oscillator Type
External
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
1.5K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 5x10b
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
1536Byte
Cpu Speed
40MHz
No.
RoHS Compliant
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1.5 KB
Interface Type
I2C, SPI, USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
22
Number Of Timers
4 bit
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 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18LF258-I/SP
Manufacturer:
Microchip Technology
Quantity:
135
INDEX
A
A/D .................................................................................... 241
Absolute Maximum Ratings .............................................. 329
AC (Timing) Characteristics .............................................. 341
Access Bank ....................................................................... 54
ACKSTAT ......................................................................... 173
ACKSTAT Status Flag ...................................................... 173
ADCON0 Register............................................................. 241
ADCON1 Register............................................................. 241
ADDLW ............................................................................. 287
Addressable Universal Synchronous Asynchronous
ADDWF ............................................................................. 287
ADDWFC .......................................................................... 288
ADRESH Register............................................................. 241
ADRESH/ADRESL Registers ........................................... 243
ADRESL Register ............................................................. 241
Analog-to-Digital Converter. See A/D.
ANDLW ............................................................................. 288
ANDWF ............................................................................. 289
Assembler
Associated Registers ................................................ 192, 197
B
Bank Select Register (BSR)................................................ 54
Baud Rate Generator ........................................................ 169
BC ..................................................................................... 289
BCF ................................................................................... 290
BF ..................................................................................... 173
BF Status Flag .................................................................. 173
© 2006 Microchip Technology Inc.
A/D Converter Flag (ADIF Bit) .................................. 243
A/D Converter Interrupt, Configuring ........................ 244
Acquisition Requirements ......................................... 244
Acquisition Time........................................................ 245
ADCON0 Register..................................................... 241
ADCON1 Register..................................................... 241
ADRESH Register..................................................... 241
ADRESH/ADRESL Registers ................................... 243
ADRESL Register ..................................................... 241
Analog Port Pins, Configuring................................... 246
Associated Registers Summary................................ 248
Calculating the Minimum Required
Configuring the Module............................................. 244
Conversion Clock (T
Conversion Status (GO/DONE Bit) ........................... 243
Conversion T
Conversions .............................................................. 247
Minimum Charging Time........................................... 245
Result Registers........................................................ 247
Selecting the Conversion Clock ................................ 246
Special Event Trigger (CCP)..................................... 126
Special Event Trigger (ECCP) .......................... 133, 248
T
T
Use of the ECCP Trigger .......................................... 248
Parameter Symbology .............................................. 341
GO/DONE Bit............................................................ 243
Receiver Transmitter. See USART.
MPASM Assembler................................................... 323
AD
AD
vs. Device Operating Frequencies
vs. Device Operating
Acquisition Time ............................................... 245
(For Extended, LF Devices) (table)................... 246
Frequencies (table) ........................................... 246
AD
Cycles............................................. 248
AD
) ............................................ 246
Block Diagrams
BN..................................................................................... 290
BNC .................................................................................. 291
BNN .................................................................................. 291
BNOV ............................................................................... 292
BNZ .................................................................................. 292
BOR. See Brown-out Reset.
BOV .................................................................................. 295
BRA .................................................................................. 293
BRG. See Baud Rate Generator.
Brown-out Reset (BOR).............................................. 26, 265
A/D............................................................................ 243
Analog Input Model........................................... 244, 253
Baud Rate Generator ............................................... 169
CAN Buffers and Protocol Engine ............................ 200
CAN Receive Buffer ................................................. 230
CAN Transmit Buffer ................................................ 227
Capture Mode Operation .......................................... 125
Comparator I/O Operating Modes ............................ 250
Comparator Output................................................... 252
Comparator Voltage Reference
Compare (CCP Module) Mode Operation ................ 126
Enhanced PWM........................................................ 134
Interrupt Logic............................................................. 78
Low-Voltage Detect (LVD)........................................ 260
Low-Voltage Detect with External Input.................... 260
MSSP (I
MSSP (I
MSSP (SPI Mode) .................................................... 143
On-Chip Reset Circuit................................................. 25
OSC2/CLKO/RA6 Pin................................................. 94
PIC18F248/258 Architecture ........................................ 8
PIC18F448/458 Architecture ........................................ 9
PLL ............................................................................. 19
PORTC (Peripheral Output Override)....................... 100
PORTD and PORTE (Parallel Slave Port)................ 107
PORTD in I/O Port Mode.......................................... 102
PORTE ..................................................................... 104
PWM (CCP Module) ................................................. 128
RA3:RA0 and RA5 Pins.............................................. 94
RA4/T0CKI Pin ........................................................... 94
RB1:RB0 Pins............................................................. 97
RB2/CANTX/INT2 Pin ................................................ 98
RB3/CANRX Pin......................................................... 98
RB7:RB4 Pins............................................................. 97
Reads from Flash Program Memory .......................... 69
Table Read Operation ................................................ 65
Table Write Operation ................................................ 66
Table Writes to Flash Program Memory ..................... 71
Timer0 in 16-bit Mode............................................... 110
Timer0 in 8-bit Mode................................................. 110
Timer1 ...................................................................... 114
Timer1 (16-bit Read/Write Mode) ............................. 114
Timer2 ...................................................................... 118
Timer3 ...................................................................... 120
Timer3 (16-bit Read/Write Mode) ............................. 120
USART Receive ....................................................... 191
USART Transmit ...................................................... 189
Voltage Reference.................................................... 256
Watchdog Timer ....................................................... 273
Output Buffer Example ..................................... 257
2
2
C Master Mode)......................................... 167
C Mode)..................................................... 152
PIC18FXX8
DS41159E-page 387