PIC16F1829LIN 20-Pin, 8-bit Flash LIN/J2602 Microcontroller Cross-Referenced Material: Special Microcontroller Features: Self-Programmable under Software Control This data sheet refers heavily on the following Power-on Reset (POR), Power-up Timer (PWRT) Microchip data sheets: and Oscillator Start-up Timer (OST) PIC16(L)F1825/1829 Data Sheet (DS41440) Programmable Brown-out Reset (BOR) MCP2021A/2A, LIN Transceiver with Voltage Extended Watchdog Timer (WDT) Regulator Data Sheet (DS22298) In-Circuit Serial Programming (ICSP) via Please have these documents available when reading Two Pins this device specification. Only deviations from the data In-Circuit Debug (ICD) via Two Pins sheets listed above will be noted. Enhanced Low-Voltage Programming (LVP) Operating Voltage Range of the Microcontroller: High-Performance RISC CPU: -2.3V-5.5V Only 49 Instructions to Learn: Programmable Code Protection Power-Saving Sleep mode - All single-cycle instructions except branches Operating Speed: Analog Features: - DC 32 MHz oscillator/clock input Analog-to-Digital Converter (ADC) Module: - DC 125 ns instruction cycle - 10-bit resolution 16 Kbytes Linear Program Memory Addressing - Nine analog input channels 1024 bytes Linear Data Memory Addressing - Conversion available during Sleep Interrupt Capability with Automatic Context Analog Comparator Module: Saving - Two rail-to-rail analog comparators 16-Level Deep Hardware Stack with Optional - Power mode control Overflow/Underflow Reset - Software controllable hysteresis Direct, Indirect and Relative Addressing modes: Voltage Reference Module: - Two full 16-bit File Select Registers (FSRs) - Fixed Voltage Reference (FVR) with multiple - FSRs can read Program and Data memory output levels Flexible Oscillator Structure: - 5-bit rail-to-rail resistive DAC with positive and negative reference selection Precision 32 MHz Internal Oscillator Block: - Factory calibrated to 1%, typical Peripheral Features: - Software selectable frequencies range of 12 Digital I/O Pins and one Input-only Pin: 31 kHz to 32 MHz - High current sink/source 25 mA/25 mA Four Crystal modes up to 32 MHz - Individually programmable weak pull-ups Three External Clock modes up to 32 MHz - Individually programmable 4x Phase Lock Loop (PLL) Interrupt-on-change pins Fail-Safe Clock Monitor: Timer0: 8-Bit Timer/Counter with 8-Bit Prescaler - Allows for safe shutdown if peripheral clock Enhanced Timer1: stops - 16-bit timer/counter with prescaler Two-Speed Oscillator Start-up - External Gate Input mode Reference Clock Module: - Dedicated, low-power 32 kHz oscillator driver - Programmable clock output frequency and Three Timer2 types: 8-Bit Timer/Counter with 8-Bit duty-cycle Period Register, Prescaler and Postscaler Two Capture, Compare, PWM (CCP) Modules (one is internal only) Two Enhanced CCP (ECCP) Modules: - Software-selectable time bases - Auto-shutdown and auto-restart - PWM steering 2012 Microchip Technology Inc. Preliminary DS41673A-page 1PIC16F1829LIN Internal Bus Transceiver compliant with LIN Bus Peripheral Features: (Continued) Specifications 1.3, 2.0 and 2.1, and compliant to Enhanced Universal Synchronous Asynchronous SAE J2602: Receiver Transmitter (EUSART) Module: - Support Baud Rates up to 20 Kbaud - Supports LIN 2.1 and J2602 - 43V load dump protected - Auto-Baud Detect - Very low EMI meets stringent OEM - Auto Wake-up on BREAK character requirements mTouch Sensing Oscillator Module: - Wide supply voltage, 7.0V-30.0V continuous - Up to 12 input channels Data Signal Modulator Module: - Internal bus pull-up resistor and diode - Selectable modulator and carrier sources - Protected against ground shorts SR Latch: - Protected against loss of ground - Multiple Set/Reset input options - High current drive - Emulates 555 Timer applications - Automatic thermal shutdown On-board Voltage Regulator: Extended Temperature Range: -40 to +125C - Output voltage of 5.0V with tolerances of 2% over temperature range - Maximum continuous input voltage of 30V - Internal thermal overload protection - Internal short circuit current limit - External components limited to filter capacitor only and load capacitor - Automatic thermal shutdown PIC16F1829LIN Device Overview Program Memory Data Memory (3) PIC16F1829LIN LIN/J2602 1 8K 1024 256 13 9 12 2 4/1 11 1 Yes Transceiver, Voltage Regulator Note 1: One pin is input-only. 2: EUSART dedicated to LIN communications. 3: One CCP only available internally. DS41673A-page 2 Preliminary 2012 Microchip Technology Inc. Device Words SRAM (bytes) Data EEPROM (bytes) (1) I/Os 10-bit ADC (ch) Cap Sense (ch) Comparators Timers (8/16-bit) (2) EUSART ECCP (Full-Bridge) ECCP (Half-Bridge) CCP SR Latch Other Features