rfPIC12F675K/F/H rfPIC12F675 FLASH-Based Microcontroller with ASK/FSK Transmitter High Performance RISC CPU: Pin Diagram: Only 35 instructions to learn SSOP - All single cycle instructions except branches Operating speed: VSS VDD 1 20 GP0/CIN+/ICSPDAT GP5/T1CKI/OSC1/CLKIN 2 19 - Precision Internal 4 MHz oscillator, factory GP4/T1G/OSC2/CLKOUT 18 GP1/CIN-/ICSPCLK 3 4 17 GP2/T0CKI/INT/COUT GP3/MCLR/VPP calibrated to 1% RFXTAL 5 16 FSKOUT RFEN 6 15 DATAFSK - DC - 20 MHz Resonator/Crystal/Clock modes 14 REFCLK 7 DATAASK 8 13 PS LF - DC - 20 MHz crystal oscillator/clock input VDDRF 9 12 VSSRF - DC - 4 MHz external RC oscillator VSSRF 10 11 ANT - DC - 4 MHz XT crystal oscillator - External Oscillator modes Interrupt capability UHF ASK/FSK Transmitter: 8-level deep hardware stack Integrated crystal oscillator, VCO, loop filter and Direct, Indirect and Relative Addressing modes power amp for minimum external components ASK data rate: 0 40 Kbps Peripheral Features: FSK data rate: 0 40 Kbps by crystal pulling Memory Output power: +10 dBm to -12 dBm in 4 steps - 1024 x 14 words of FLASH program memory Adjustable transmitter power consumption - 128 x 8 bytes of EEPROM data memory Transmit frequency set by crystal multiplied by 32 - 64 x 8 bytes of SRAM data memory VCO phase locked to quartz crystal reference - 100,000 write FLASH endurance allows narrow band receivers to be used to - 1,000,000 write EEPROM endurance maximize range and interference immunity - FLASH/data EEPROM retention: > 40 years Crystal frequency divide by 4 available (REFCLK) Programmable code protection Used in applications conforming to US FCC Part 6 I/O pins with individual direction control, weak 15.231 and European EN 300 220 regulations pull-ups, and interrupt-on-pin change Applications: High current sink/source for direct LED drive Analog comparator: 16 internal reference levels Automotive Remote Keyless Entry (RKE) systems Analog-to-Digital Converter: 10 bits, 4 channels Automotive alarm systems Timer0: 8-bit timer/counter with 8-bit prescaler Community gate and garage door openers Timer1: 16-bit timer/counter with 3-bit prescaler Burglar alarm systems Timer1 can use LP oscillator in INTOSC mode Building access 5 s wake-up from SLEEP typical with VDD = 3V Low power telemetry TM TM In-Circuit Serial Programming (ICSP ) Meter reading Tire pressure sensors Low Power Features: Wireless sensors Low power consumption: (typical with VDD = 3V) -14 mA transmitting +6 dBm at 434 MHz -4 mA transmitting -15 dBm at 434 MHz Device Frequency Modulation -500 A, 4.0 MHz INTOSC rfPIC12F675K 290-350 MHz ASK/FSK -0.6 A SLEEP with watchdog enabled rfPIC12F675F 380-450 MHz ASK/FSK -0.1 A standby current rfPIC12F675H 850-930 MHz ASK/FSK Wide operating voltage range from 2.0 5.5V Industrial and Extended temperature range 2003-2013 Microchip Technology Inc. Preliminary DS70091B-page 1rfPIC12F675 Table of Contents 1.0 Device Overview............................................................................................................................................................................ 3 2.0 Memory Organization..................................................................................................................................................................... 5 3.0 GPIO Port ................................................................................................................................................................................... 17 4.0 Timer0 Module............................................................................................................................................................................ 25 5.0 Timer1 Module with Gate Control............................................................................................................................................... 28 6.0 Comparator Module .................................................................................................................................................................... 33 7.0 Analog-to-Digital Converter (A/D) Module .................................................................................................................................. 39 8.0 Data EEPROM Memory.............................................................................................................................................................. 45 9.0 UHF ASK/FSK Transmitter ......................................................................................................................................................... 49 10.0 Special Features of the CPU ...................................................................................................................................................... 55 11.0 Instruction Set Summary ............................................................................................................................................................ 73 12.0 Development Support................................................................................................................................................................. 81 13.0 Electrical Specifications.............................................................................................................................................................. 87 14.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 113 15.0 Packaging Information.............................................................................................................................................................. 123 Appendix A: Data Sheet Revision History.......................................................................................................................................... 125 Index ................................................................................................................................................................................................. 127 On-Line Support................................................................................................................................................................................ 131 Systems Information and Upgrade Hot Line ..................................................................................................................................... 131 Reader Response ............................................................................................................................................................................. 132 Product Identification System............................................................................................................................................................ 133 TO OUR VALUED CUSTOMERS It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and enhanced as new volumes and updates are introduced. If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via E-mail at docerrors mail.microchip.com or fax the Reader Response Form in the back of this data sheet to (480) 792-4150. We welcome your feedback. Most Current Data Sheet To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at: