PIC12LF1840T39A PIC12LF1840T39A Product Brief High-Performance RISC CPU: Low-Power Features: Standby Current: Only 49 Instructions to Learn: - 30 nA 3.0V, typical, RF off - All single-cycle instructions except branches - 530 nA 3.0V, typical, RF Sleep Operating Speed: Operating Current: - DC 32 MHz oscillator/clock input - 0.67 mA 8 MHz, 3.0V, RF off, typical - DC 125 ns instruction cycle - 9.67 mA 8 MHz, 3.0V, RF on at 0 dBm, Interrupt Capability with Automatic Context typical Saving - 15.67 mA 8 MHz, 3.0V, RF on at +10 dBm, 16-Level Deep Hardware Stack with Optional typical Overflow/Underflow Reset Low-Power Watchdog Timer Current: Direct, Indirect and Relative Addressing modes: - 500 nA 3.0V, typical - Two full 16-bit File Select Registers (FSRs) - FSRs can read program and data memory RF Transmitter: Flexible Oscillator Structure: Fully Integrated Transmitter Precision 32 MHz Internal Oscillator Block: FSK Operation up to 100 kbps - Factory calibrated to 1%, typical OOK Operation up to 10 kbps - Software selectable frequencies range of Frequency-Agile Operation in 310, 433, 868 and 31 kHz to 32 MHz 915 MHz Bands 31 kHz Low-Power Internal Oscillator +10 dBm or 0 dBm Configurable Output Power Four Crystal modes up to 32 MHz Three External Clock modes up to 32 MHz Analog Features: 4x Phase Lock Loop (PLL) Analog-to-Digital Converter (ADC) module: Fail-Safe Clock Monitor: - 10-bit resolution, 4 channels - Allows for safe shutdown if peripheral clock - Conversion available during Sleep stops Analog Comparator module: Two-Speed Oscillator Start-up - One rail-to-rail analog comparator Reference Clock module: - Power mode control - Programmable clock output frequency and - Software controllable hysteresis duty-cycle Voltage Reference module: - Fixed Voltage Reference (FVR) with 1.024V Special Microcontroller Features: and 2.048V output levels 1.8V-3.6V Operation - 5-bit rail-to-rail resistive DAC with positive Self-Reprogrammable under Software Control and negative reference selection Power-on Reset (POR), Power-up Timer (PWRT) and Oscillator Start-up Timer (OST) Peripheral Features: Programmable Brown-out Reset (BOR) 5 I/O Pins and 1 Input-only Pin: Extended Watchdog Timer (WDT) - High current sink/source 25 mA/25 mA In-Circuit Serial Programming (ICSP) via - Programmable weak pull-ups Two Pins - Programmable interrupt-on-change pins In-Circuit Debug (ICD) via Two Pins Timer0: 8-Bit Timer/Counter with 8-Bit Prescaler Enhanced Low-Voltage Programming (LVP) Enhanced Timer1: Programmable Code Protection - 16-bit timer/counter with prescaler Power-Saving Sleep mode - External Gate Input mode - Dedicated, low-power 32 kHz oscillator driver Timer2: 8-Bit Timer/Counter with 8-Bit Period Register, Prescaler and Postscaler 2012 Microchip Technology Inc. Advance Information DS41627A-page 1PIC12LF1840T39A Enhanced CCP (ECCP) module: - Software selectable time bases - Auto-shutdown and auto-restart -PWM steering Master Synchronous Serial Port (MSSP) with SPI 2 TM and I C with: - 7-bit address masking TM - SMBus/PMBus compatibility Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) module: - RS-232, RS-485 and LIN compatible - Auto-Baud Detect TM Capacitive Sensing (CPS) module (mTouch ): - 4 input channels Data Signal Modulator module: - Selectable modulator and carrier sources SR Latch: - Multiple Set/Reset input options - Emulates 555 Timer applications TABLE 1: PIC12LF1840T39A FEATURE SUMMARY PIC12LF1840T39A 4K 256 256 6 4 4 1 2/1 1 1 1 Yes Yes I Note 1: One pin is input-only. 2: I Debugging, Integrated on Chip H Debugging, Debug Header Available Note: Pin details are subject to change. FIGURE 1: 14-PIN DIAGRAM, PIC12LF1840T39A (TSSOP) VDD Vss 14 1 RA5 RA0/ICSPDAT 2 13 RA4 RA1/ICSPCLK 12 3 MCLR/VPP/RA3 RA2 4 11 XTAL VDDRF 5 10 CTRL 6 DATA 9 RFOUT 7 VSSRF 8 DS41627A-page 2 Advance Information 2012 Microchip Technology Inc. Device Program Memory Flash (words) Data Memory EEPROM (Bytes) Data Memory SRAM (Bytes) (1) I/Os 10-bit ADC (ch) PIC12LF1840T39A CapSense (ch) Comparators Timers (8/16-bit) EUSART 2 MSSP (I C/SPI) ECCP (Half-Bridge) SR Latch RF Transmitter (2) Debug