PIC16(L)F18455/56
28-Pin Full-Featured, Low Pin Count Microcontrollers with
XLP
Description
PIC16(L)F184XX microcontrollers feature Intelligent Analog, Core Independent Peripherals (CIPs) and
communication peripherals combined with eXtreme Low-Power (XLP) for a wide range of general
purpose and low-power applications. Features such as a 12-bit Analog-to-Digital Converter with
Computation (ADC
2
), Memory Access Partitioning (MAP), the Device Information Area (DIA), Power-
saving operating modes, and Peripheral Pin Select (PPS), offer flexible solutions for a wide variety of
custom applications.
Core Features
•
•
•
C Compiler Optimized RISC Architecture
Only 50 Instructions
Operating Speed:
– DC – 32 MHz clock input
– 125 ns minimum instruction cycle
Interrupt Capability
16-Level Deep Hardware Stack
Timers:
– Up to two 24-bit timers
– Up to four 8-bit timers
– Up to four 16-bit timers
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 (Configuration Words) and/or software
Programmable Code Protection
•
•
•
•
•
•
•
•
•
Memory
•
•
Up to 28 KB Program Flash Memory
Up to 2 KB Data SRAM Memory
©
2018 Microchip Technology Inc.
Datasheet Preliminary
DS40002038B-page 1
PIC16(L)F18455/56
•
•
•
256B Data EEPROM
Direct, Indirect and Relative Addressing modes
Memory Access Partition (MAP):
– Write-protect
– Customizable partition
Device Information Area (DIA)
Device Configuration Information (DCI)
•
•
Operating Characteristics
•
Operating Voltage Range:
–
–
•
–
–
1.8V to 3.6V (PIC16LF184XX)
2.3V to 5.5V (PIC16F184XX)
Industrial: -40°C to 85°C
Extended: -40°C to 125°C
Temperature Range:
Power-Saving Operation Modes
•
•
•
•
Doze: CPU and Peripherals Running at Different Cycle Rates (typically CPU is lower)
Idle: CPU Halted While Peripherals Operate
Sleep: Lowest Power Consumption
Peripheral Module Disable (PMD):
– Ability to selectively disable hardware module to minimize active power consumption of unused
peripherals
Extreme Low-Power mode (XLP)
– Sleep: 500 nA typical @ 1.8V
– Sleep and Watchdog Timer: 900 nA typical @ 1.8V
•
eXtreme Low-Power (XLP) Features
•
•
•
•
Sleep mode: 50 nA @ 1.8, typical
Watchdog Timer: 500 nA @ 1.8V, typical
Secondary Oscillator: 500 nA @ 32 kHz
Operating Current:
– 8 uA @ 32 kHz, 1.8V, typical
– 32 uA/MHz @ 1.8V, typical
Digital Peripherals
•
Configurable Logic Cell (CLC):
– 4 CLCs
– Integrated combinational and sequential logic
Complementary Waveform Generator (CWG):
– 3 CWGs
•
©
2018 Microchip Technology Inc.
Datasheet Preliminary
DS40002038B-page 2
PIC16(L)F18455/56
– Rising and falling edge dead-band control
– Full-bridge, half-bridge, 1-channel drive
– Multiple signal sources
Capture/Compare/PWM (CCP) modules:
– 5 CCPs
– 16-bit resolution for Capture/Compare modes
– 10-bit resolution for PWM mode
Pulse-Width Modulators (PWM):
– 2 10-bit PWMs
Numerically Controlled Oscillator (NCO):
– Precision linear frequency generator (@50% duty cycle) with 0.0001% step size of source input
clock
–
•
•
Input Clock: 0 Hz < f
NCO
< 32 MHz
– Resolution: f
NCO
/2
20
Peripheral Pin Select (PPS):
–
I/O pin remapping of digital peripherals
Serial Communications:
– EUSART
•
•
2 EUSART(s)
RS-232, RS-485, LIN compatible
•
•
•
•
•
•
• Auto-Baud Detect, Auto-wake-up on Start.
– Master Synchronous Serial Port (MSSP)
• 2 MSSP(s)
• SPI
™
• I
2
C, SMBus and PMBus compatible
Data Signal Modulator (DSM):
– Modulates a carrier signal with digital data to create custom carrier synchronized output
waveforms
Up to 26 I/O Pins:
– Individually programmable pull-ups
– Slew rate control
– Interrupt-on-change with edge-select
– Input level selection control (ST or TTL)
– Digital open-drain enable
Timer modules:
– Timer0:
• 8/16-bit timer/counter
• Synchronous or asynchronous operation
• Programmable prescaler/postscaler
• Time base for capture/compare function
– Timer1/3/5 with gate control:
• 16-bit timer/counter
• Programmable internal or external clock sources
• Multiple gate sources
©
2018 Microchip Technology Inc.
Datasheet Preliminary
DS40002038B-page 3
PIC16(L)F18455/56
• Multiple gate modes
• Time base for capture/compare function
Timer2/4/6 with Hardware Limit Timer:
• 8-bit timers
• Programmable prescaler/postscaler
• Time base for PWM function
• Hardware Limit (HLT) and one-shot extensions
• Selectable clock sources
Signal Measurement Timer (SMT)
• 2 SMT(s)
• 24-bit timer/counter with programmable prescaler
–
–
Analog Peripherals
•
Analog-to-Digital Converter with Computation (ADC
2
):
– 12-bit with up to 24 external channels
–
–
–
Conversion available during Sleep
Automated post-processing
Automated math functions on input signals:
•
•
•
•
•
• Averaging, filter calculations, oversampling and threshold comparison
– Integrated charge pump for low-voltage operation
– CVD support
Zero-Cross Detect (ZCD):
– AC high voltage zero-crossing detection for simplifying TRIAC control
– Synchronized switching control and timing
Temperature Sensor Circuit
Comparator:
– 2 Comparators
– Fixed Voltage Reference at (non)inverting input(s)
– Comparator outputs externally accessible
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
Fixed Voltage Reference (FVR) module:
– 1.024V, 2.048V and 4.096V output levels
Flexible Oscillator Structure
•
High-Precision Internal Oscillator:
– Software-selectable frequency range up to 32 MHz
– ±2% at calibration (nominal)
4x PLL for use with External Sources:
– up to 32 MHz (4-8 MHz input)
•
©
2018 Microchip Technology Inc.
Datasheet Preliminary
DS40002038B-page 4
PIC16(L)F18455/56
•
•
•
•
2x PLL for use with the HFINTOSC:
– up to 32 MHz
Low-Power Internal 31 kHz Oscillator (LFINTOSC)
External 32.768 kHz Crystal Oscillator (SOCS)
External Oscillator Block with:
– Three crystal/resonator modes up to 20 MHz
– Three external clock modes up to 32 MHz
– Fail-Safe Clock Monitor
–
• Detects clock source failure
Oscillator Start-up Timer (OST)
• Ensures stability of crystal oscillator sources
PIC16(L)F184XX Family Types
Table 1. Devices Included In This Data Sheet
Program Flash Memory (Kbytes)
Program Flash Memory (Words)
Data Memory (EEPROM) (bytes)
Windowed Watchdog Timer
Memory Access Partition
Device Information Area
Data SRAM (bytes)
Timers (8/16-bit)
12-bit ADC
2
(ch)
MSSP (I
2
C/SPI)
Comparators
Clock Ref
5-bit DAC
EUSART
PIC16(L)F18455 8192 14 256 1024 26 24 1
PIC16(L)F18456 16384 28 256 2048 26 24 1
Note:
1. I - Debugging integrated on-chip.
2.
One pin is input-only.
2
2
3
3
1 4/4 5
1 4/4 5
2
2
1
1
2
2
2
2
4
4
1
1
Y Y Y Y Y Y
Y Y Y Y Y Y
©
2018 Microchip Technology Inc.
Datasheet Preliminary
DS40002038B-page 5
Debug
(1)
I
I
Device
I/O’s
(2)
CWG
PWM
DSM
NCO
PMD
CCP
CLC
PPS
XLP