PIC18(L)F25/26K83
28-Pin, Low-Power, High-Performance Microcontrollers
with CAN Technology
Description
The PIC18(L)FXXK83 is a full-featured CAN product family that can be used in automotive and industrial applications.
The multitude of communication peripherals found on the product family, such as CAN, SPI, two I
2
Cs, two UARTs, LIN,
DMX, and DALI can handle a wide range of wired and wireless (using external modules) communication protocols for
intelligent applications. This family includes a 12-bit ADC with Computation (ADC
2
) extensions for automated signal
analysis to reduce the complexity of the application. This, combined with the Core Independent Peripherals integration
capabilities, enables functions for motor control, power supply, sensor, signal and user interface applications.
Core Features
• C Compiler Optimized RISC Architecture
• Operating Speed:
- Up to 64 MHz clock operation
- 62.5 ns minimum instruction cycle
• Two Direct Memory Access (DMA) Controllers:
- Data transfers to SFR/GPR spaces from
either Program Flash Memory, Data
EEPROM or SFR/GPR spaces
- User-programmable source and destination
sizes
- Hardware and software-triggered data
transfers
• System Bus Arbiter with User-Configurable
Priorities for Scanner and DMA1/DMA2 with
respect to the main line and interrupt execution
• Vectored Interrupt Capability:
- Selectable high/low priority
- Fixed interrupt latency
- Programmable vector table base address
• 31-Level Deep Hardware Stack
• Low-Current Power-on Reset (POR)
• Configurable Power-up Timer (PWRT)
• Brown-Out Reset (BOR)
• Low-Power BOR (LPBOR) Option
• Windowed Watchdog Timer (WWDT):
- Variable prescaler selection
- Variable window size selection
- Configurable in hardware or software
Memory
Up to 64 KB Flash Program Memory
Up to 4 KB Data SRAM Memory
Up to 1 KB Data EEPROM
Memory Access Partition (MAP):
- Configurable boot and app region sizes with
individual write-protections
• Programmable Code Protection
• Device Information Area (DIA) stores:
- Unique IDs and Device IDs
- Temp Sensor factory-calibrated data
- Fixed Voltage Reference calibrated data
• Device Configuration Information (DCI) stores:
- Erase row size
- Number of write latches per row
- Number of user rows
- Data EEPROM memory size
- Pin count
•
•
•
•
Operating Characteristics
• Operating Voltage Range:
- 1.8V to 3.6V (PIC18LF25/26K83)
- 2.3V to 5.5V (PIC18F25/26K83)
• Temperature Range:
- Industrial: -40°C to 85°C
- Extended: -40°C to 125°C
Power-Saving Functionality
• DOZE mode: Ability to run CPU core slower than
the system clock
• IDLE mode: Ability to halt CPU core while internal
peripherals continue operating
• SLEEP mode: Lowest power consumption
• Peripheral Module Disable (PMD):
- Ability to disable unused peripherals to
minimize power consumption
2017 Microchip Technology Inc.
Preliminary
DS40001943A-page 1
PIC18(L)F25/26K83
eXtreme Low-Power (XLP) Features
• Sleep mode: 60 nA @ 1.8V, typical
• Windowed Watchdog Timer: 720 nA @ 1.8V,
typical
• Secondary Oscillator: 580 nA @ 32 kHz
• Operating Current:
- 4 uA @ 32 kHz, 1.8V, typical
- 45 uA/MHz @ 1.8V, typical
• One SPI module:
- Configurable length bytes
- Configurable length data packets
- Receive-without-transmit option
- Transmit-without-receive option
- Transfer byte counter
- Separate Transmit and Receive Buffers with
2-byte FIFO and DMA capabilities
• CAN module:
- Conforms to CAN 2.0B Active Specification
- Three operating modes: Legacy (compatible
with existing PIC18CXX8/FXX8 CAN modules),
Enhanced mode, and FIFO mode.
- Message bit rates up to 1 Mbps
- DeviceNet data byte filter support
- Six programmable receive/transmit buffers
- Three dedicated transmit buffers
- Two dedicated receive buffers
- 16 Full, 29-bit acceptance filters with dynamic
association
- Three full, 29-bit acceptance masks
- Automatic remote frame handling
- Advanced error management features.
• Two I
2
C modules, SMBus, PMBus™ compatible:
- Dedicated Address, Transmit and Receive
buffers
- Bus Collision Detection with arbitration
- Bus time-out detection and handling
- Multi-Master mode
- Separate Transmit and Receive Buffers with
2-byte FIFO and DMA capabilities
- I
2
C, SMBus 2.0 and SMBus 3.0, and 1.8V
input level selections
• Device I/O Port Features:
- 25 I/O pins (PIC18(L)F25K83)
- One input-only pin
- Individually programmable I/O direction,
open-drain, slew rate, weak pull-up control
- Interrupt-on-change
- Three External Interrupt Pins
• Peripheral Pin Select (PPS):
- Enables pin mapping of digital I/O
• Two Signal Measurement Timer (SMT):
- 24-bit timer/counter with prescaler
Digital Peripherals
• Three 8-Bit Timers (TMR2/4/6) with Hardware
Limit Timer (HLT):
- Hardware monitoring and Fault detection
• Four 16-Bit Timers (TMR0/1/3/5)
• Four Configurable Logic Cell (CLC):
- Integrated combinational and sequential logic
• Three Complementary Waveform Generators
(CWGs):
- Rising and falling edge dead-band control
- Full-bridge, half-bridge, 1-channel drive
- Multiple signal sources
- Programmable dead band
- Fault-shutdown input
• Four Capture/Compare/PWM (CCP) modules
• Four 10-bit Pulse-Width Modulators (PWMs)
• Numerically Controlled Oscillator (NCO):
- Generates true linear frequency control
- High resolution using 20-bit accumulator and
20-bit increment values
• DSM: Data Signal Modulator:
- Multiplex two carrier clocks, with glitch pre-
vention feature
- Multiple sources for each carrier
• Programmable CRC with Memory Scan:
- Reliable data/program memory monitoring for
fail-safe operation (e.g., Class B)
- Calculate CRC over any portion of program
memory
• Two UART Modules:
- Modules are Asynchronous, RS-232, RS-485
compatibility.
- One of the UART modules supports LIN
Master and Slave, DMX mode, DALI Gear
and Device protocols
- Automatic and user-timed BREAK period
generation
- DMA Compatible
- Automatic checksums
- Programmable 1, 1.5, and two Stop bits
- Wake-up on BREAK reception
2017 Microchip Technology Inc.
Preliminary
DS40001943A-page 2
PIC18(L)F25/26K83
Analog Peripherals
• Analog-to-Digital Converter with Computation
(ADC
2
):
- 12-bit with up to 24 external channels
- Automated post-processing
- Automated math functions on input signals:
averaging, filter calculations, oversampling
and threshold comparison
- Operates in Sleep
- Integrated charge pump for improved low-
voltage operation
• Hardware Capacitive Voltage Divider (CVD):
- Automates touch sampling and reduces soft-
ware size and CPU usage when touch or
proximity sensing is required
- Adjustable sample and hold capacitor array
- Two guard ring output drives
• Temperature Sensor:
- Internal connection to ADC
- Can be calibrated for improved accuracy
• Two Comparators:
- Low-Power/High-Speed mode
- Fixed Voltage Reference at noninverting
input(s)
- Comparator outputs externally accessible
• 5-Bit Digital-to-Analog Converter (DAC):
- 5-bit resolution, rail-to-rail
- Positive Reference Selection
- Unbuffered I/O pin output
- Internal connections to ADCs and
comparators
• Voltage Reference:
- Fixed Voltage Reference with 1.024V, 2.048V
and 4.096V output levels
Flexible Oscillator Structure
• High-Precision Internal Oscillator:
- Selectable frequency range up to 64 MHz
- ±1% at calibration (nominal)
• Low-Power Internal 32 kHz Oscillator
(LFINTOSC)
• External 32 kHz Crystal Oscillator (SOCS)
• External Oscillator Block with:
- x4 PLL with external sources
- Three crystal/resonator modes up to 20 MHz
- Three external clock modes up to 20 MHz
• Fail-Safe Clock Monitor
• Oscillator Start-up Timer (OST):
- Ensures stability of crystal oscillator sources
2017 Microchip Technology Inc.
Preliminary
DS40001943A-page 3
PIC18(L)F25/26K83
TABLE 1:
PIC18(L)FXXK83 FAMILY TYPES
Window Watchdog Timer (WWDT)
Signal Measurement Timer (SMT)
Direct Memory Access (DMA)
Program Flash Memory (KB)
8-bit/ (with HLT)/16-bit Timer
Peripheral Module Disable
Y
Y
Memory Access Partition
Peripheral Pin Select
UART with Protocols
Vectored Interrupts
Data SRAM (bytes)
Zero-Cross Detect
Data EEPROM (B)
Data Sheet Index
CCP/10-bit PWM
12-bit ADC
2
(ch)
Comparator
5-bit DAC
Device
PIC18(L)F25K83
PIC18(L)F26K83
Note
1:
Data Sheet Index:
(A)
(A)
32
64
1024
1024
2048
4096
25
25
24
24
1
1
2
2
3/3
3/3
Y
Y
Y
Y
4/4
4/4
1
1
1
1
4
4
Y
Y
2
2
Y
Y
Y
Y
Y
Y
2
2
1/1
1/1
Y
Y
I - Debugging integrated on chip.
A:DS40001943
PIC18(L)F25/26K83 Data Sheet, 28-Pin
Note:
For other small form-factor package availability and marking information, visit
http://www.microchip.com/packaging
or contact your local sales office.
2017 Microchip Technology Inc.
Preliminary
DS40001943A-page 4
Debug
(1)
I
I
I/O Pins
I
2
C/SPI
CWG
NCO
CAN
CLC
PIC18(L)F25/26K83
TABLE 2:
PACKAGES
Device
PIC18(L)F25K83
PIC18(L)F26K83
Note 1:
SPDIP
SOIC
SSOP
UQFN
QFN
Pin details are subject to change.
Pin Diagrams
28-pin SPDIP, SOIC, SSOP
V
PP
/MCLR/RE3
RA0
RA1
RA2
RA3
RA4
RA5
V
SS
RA7
RA6
RC0
RC1
RC2
RC3
1
2
3
4
PIC18(L)F25K83
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
RB7/ICSPDAT
RB6/ICSPCLK
RB5
RB4
RB3
RB2
RB1
RB0
V
DD
V
SS
RC7
RC6
RC5
RC4
Note:
See
Table 3
for location of all peripheral functions.
28-pin QFN (6x6x0.9mm), UQFN (4x4x0.5mm)
RE3/MCLR/V
PP
RB7/ICSPDAT
RB6/ICSPCLK
RB5
RB4
RA1
RA0
28 27 26 25 24 23 22
RA2
RA3
RA4
RA5
V
SS
RA7
RA6
1
2
3
4
5
6
7
21
20
19
18
17
16
15
RB3
RB2
RB1
RB0
V
DD
V
SS
RC7
PIC18(L)F26K83
8 9 10 11 12 13 14
RC0
RC1
RC2
RC3
RC4
RC5
RC6
Note 1:
See
Table 3
for location of all peripheral functions.
2:
It is recommended that the exposed bottom pad be connected to V
SS
, however it must not be the
only V
SS
connection to the device.
2017 Microchip Technology Inc.
Preliminary
DS40001943A-page 5