8-Bit CMOS Microcontrollers With nanoWatt Technology <ul><li>Source: Microchip Technology </li></ul>
Introduction <ul><li>Purpose </li></ul><ul><ul><li>An Introduction to 8-Bit CMOS Microcontrollers with nanoWatt Technology...
Features <ul><li>High-Performance RISC CPU </li></ul><ul><li>Standby Current: </li></ul><ul><li>1 nA @ 2.0V, typical </li>...
Typical Applications  <ul><li>Motor speed control  </li></ul><ul><li>D-to-A Conversion  </li></ul><ul><li>Stepper motor, m...
PIC12F Family <ul><li>8 pin PIC12 – SOIC & DFN Pkg. </li></ul><ul><li>Internal 4 & 8Mhz Oscillator. </li></ul><ul><li>10-b...
PIC12F635 Block Diagram
Memory Organization Program Memory Map & Stack <ul><li>The PIC12F635 devices have a 13-bit program counter capable of addr...
MCU Clock Source Block Diagram <ul><li>Clock sources can be configured from external oscillators, quartz crystal resonator...
Timer0 Module Block Diagram Of The Timer0
TIMER1 MODULE WITH GATE CONTROL TIMER1 BLOCK DIAGRAM
Comparator Module SINGLE COMPARATOR COMPARATOR OUTPUT BLOCK DIAGRAM
Programmable Low-voltage  Detect (PlVD) Module PLVD BLOCK DIAGRAM <ul><li>Programmable Low Voltage Detect (PLVD)  </li></u...
New KEELOQ Peripheral  <ul><li>Hardware Encryption/Decryption peripheral:  </li></ul><ul><ul><li>Offers the ability to imp...
Special Features Of The CPU <ul><li>•  Reset </li></ul><ul><ul><li>- Power-on Reset (POR) </li></ul></ul><ul><ul><li>- Wak...
Bidirectional Passive Keyless  Entry (PKE) System PKE TRANSPONDER CONFIGURATION EXAMPLE PKE SYSTEM APPLICATION EXAMPLE
Development Support <ul><li>Integrated Development Environment </li></ul><ul><li>- MPLAB® IDE Software </li></ul><ul><li>A...
Additional Resource <ul><li>For ordering PIC12F635, please click the part list or </li></ul><ul><li>Call our sales hotline...
Upcoming SlideShare
Loading in …5
×

8-Bit CMOS Microcontrollers with nanoWatt Technology

1,463 views

Published on

An Introduction to 8-Bit CMOS Microcontrollers with nanoWatt Technology

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,463
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 8-Bit CMOS Microcontrollers with nanoWatt Technology
  • Welcome to the training module on PIC12F635 . This module introduces the features and application of 8-Bit CMOS Microcontrollers with nanoWatt Technology.
  • The PIC12F635 device, is a powerful easy-to-program, CMOS, Flash-based 8-bit microcontroller. It packs Microchip’s powerful PIC MCU architecture and features such as KeeLoq® compatible Cryptographic Module, PLVD, 1 comparator and 128 bytes of EEPROM data memory into an 8-pin package. As stated it supports KEELOQ, PLVD, as well as MPLAB® ICD-2 programming support or debugging support with optional header adapter and an 8 MHz Internal oscillator which is software programmable .
  • The device can be used in Motor control application, D/A conversion, Stepper motor, Micro Step controller, SMPS Etc. It is easily adapted for automotive, industrial, appliance or consumer product applications that require field re-programmability combined with authentication security. In addition, Microchip’s nanoWatt technology provides outstanding low power performance for optimizing battery powered applications.
  • These PICs are 6 and 8 pin devices which have very small footprints, are low cost, easy to program and have enough I/O, program and data memory to accomplish simple tasks. As shown in this block diagram they have 500 bytes to 2 k bytes of flash program memory, upto 128 bytes of ram and 256 bytes of EEPROM. They all have 4 and/or 8 Mhz internal oscillators and some have a 10-bit A/D converter. They also come with comparators, Input capture &amp; output compare PWMd and can be programmed using C.
  • Here is the block diagram of PIC12F635, this Mid-Range devices feature 14-bit program word architecture and are available in 8 to 64-pin packages that offer an operating voltage range of 1.8-5.5V, small package footprints, interrupt handling, an 8-level hardware stack, multiple A/D channels and EEPROM data memory. Mid-range devices offer a wide range of package options and a wide range of peripheral integration.
  • This page shows Program memory and Data memory organization of the device PIC12F635. It has 13 bit program counter which is capable of addressing an 8K X 14 memory space. The data memory is partitioned into two banks, which contain the General Purpose Registers (GPR) and the Special Function Registers (SFR).
  • The Oscillator module has a wide variety of clock sources and selection features that allow it to be used in a wide range of applications while maximizing performance and minimizing power consumption. Clock sources can be configured from external oscillators, quartz crystal resonators, ceramic resonators and Resistor-Capacitor (RC) circuits.
  • The Timer0 module is an 8-bit timer/counter with the following features: • 8-bit timer/counter register (TMR0) • 8-bit software programmable prescaler (shared with Watchdog Timer) • Programmable internal or external clock source • Programmable external clock edge selection • Interrupt on overflow
  • The Timer1 module is a 16-bit incrementing counter which is accessed through the TMR1H to TMR1L register pair. Writing to TMR1H or TMR1L directly updates the counter. Timer1 module used with an internal clock source work as a timer only and when used with an external clock source, the module can be used as either a timer or a counter.
  • Comparators are used to interface analog circuits to a digital circuit by comparing two analog voltages and providing a digital indication of their relative magnitudes. A comparator block is shown in this page along with the relationship between the analog input levels and the digital output. When the analog voltage at VIN+ is less than the analog voltage at VIN-, the output of the comparator is a digital low level. When the analog voltage at VIN+ is greater than the analog voltage at VIN-, the output of the comparator is a digital high level.
  • The Programmable Low-Voltage Detect (PLVD) module is a power supply detector which monitors the internal power supply. This module is typically used in key fobs and other devices, where certain actions need to be taken as a result of a falling battery voltage The PLVD module includes the following capabilities: • Eight programmable trip points • Interrupt on falling VDD • Stable reference indication • Operation during Sleep
  • KeeLoq is a proprietary hardware-dedicated NLFSR-based block cipher, KeeLoq &amp;quot;code hopping&amp;quot; encoders encrypt a 0-filled 32-bit block with KeeLoq cipher to produce a 32-bit &amp;quot;hopping code&amp;quot;. A 32-bit initialization vector is linearly added (XORed) to the 32 least significant bits of the key prior to encryption or decryption. KeeLoq is a cipher used in several car anti-theft mechanisms distributed by Microchip Technology. The cipher is included in the remote control device that opens and locks your car and that activates the anti-theft mechanism.
  • The PIC12F635 has a host of features intended to maximize system reliability, minimize cost through elimination of external components, provide power saving features and offer code protection. The PIC12F635 has two timers that offer necessary delays on power-up. One is the Oscillator Start-up Timer, intended to keep the chip in Reset until the crystal oscillator is stable. The other is the Power-up Timer, which provides a fixed delay of 64 ms on power-up only, designed to keep the part in Reset while the power supply stabilizes. There is also circuitry to reset the device if a brown-out occurs, which can use the Power-up Timer to provide at least a nominal 64 ms Reset. With these three functions on-chip, most applications need no external Reset circuitry.
  • This page shows an application example of Passive Keyless entry implemented using PIC12F635. It consist of base station and transponder both has an TX RX antennas through which it communicates.
  • At the low end of the spectrum microchip has the PICkit 3 debug express which is Microchip’s entry level debugger. Depending on application complexity one can choose the selection of the appropriate debugger. The most important feature offered in a starter kit is that a debugger is included as part of the starter kit. The starter kit is low cost and has some hardware and prototyping area for a customer to evaluate a PIC product. The top of the line debugger from Microchip is the MPLAB Real Ice. This is a high performance real time debugger with unlimited debugging capability and real time data monitoring features
  • Thank you for taking the time to view this presentation on “ PIC12F635” . If you would like to learn more or go on to purchase some of these devices, you may either click on the part list link, or simply call our sales hotline. For more technical information you may either visit the Microchip site, or if you would prefer to speak to someone live, please call our hotline number, or even use our ‘live chat’ online facility. You may visit Element 14 e-community to post your questions.
  • 8-Bit CMOS Microcontrollers with nanoWatt Technology

    1. 1. 8-Bit CMOS Microcontrollers With nanoWatt Technology <ul><li>Source: Microchip Technology </li></ul>
    2. 2. Introduction <ul><li>Purpose </li></ul><ul><ul><li>An Introduction to 8-Bit CMOS Microcontrollers with nanoWatt Technology </li></ul></ul><ul><li>Outline </li></ul><ul><ul><li>Features and Application </li></ul></ul><ul><ul><li>PIC12F635 Block Diagram, Memory organization </li></ul></ul><ul><ul><li>Timer Module, Comparator Module </li></ul></ul><ul><ul><li>New KEELOQ Peripheral and programmable low Voltage Detect </li></ul></ul><ul><li>Content </li></ul><ul><ul><li>18 pages </li></ul></ul>
    3. 3. Features <ul><li>High-Performance RISC CPU </li></ul><ul><li>Standby Current: </li></ul><ul><li>1 nA @ 2.0V, typical </li></ul><ul><li>Operating Current: </li></ul><ul><ul><li>8.5μA @ 32 kHz, 2.0V, typical </li></ul></ul><ul><ul><li>100μA @ 1 MHz, 2.0V, typical </li></ul></ul><ul><li>Three input pins for 125 kHz LF input signals </li></ul><ul><li>High input detection sensitivity (3 mVPP, typical) </li></ul><ul><li>Demodulated data, Carrier clock or RSSI output selection </li></ul><ul><li>Input carrier frequency: 125 kHz, typical </li></ul><ul><li>Input modulation frequency: 4 kHz, maximum </li></ul><ul><li>8 internal Configuration registers </li></ul><ul><li>Bidirectional transponder communication (LF talk back) </li></ul><ul><li>Programmable antenna tuning capacitance (up to 63 pF, 1 pF/step) </li></ul><ul><li>KEELOQ® compatible hardware Cryptographic module </li></ul><ul><li>In-Circuit Serial Programming™ (ICSP™) via two pins </li></ul>
    4. 4. Typical Applications <ul><li>Motor speed control </li></ul><ul><li>D-to-A Conversion </li></ul><ul><li>Stepper motor, micro-step controller </li></ul><ul><li>Timing control and event sequencing </li></ul><ul><li>Magnetic/pneumatic actuator intelligent </li></ul><ul><li>control </li></ul><ul><li>LED/Lamp intelligent driver </li></ul><ul><li>PWM of AC power </li></ul><ul><li>Switching power supply controller </li></ul>
    5. 5. PIC12F Family <ul><li>8 pin PIC12 – SOIC & DFN Pkg. </li></ul><ul><li>Internal 4 & 8Mhz Oscillator. </li></ul><ul><li>10-b A/D converter and Comparator. </li></ul><ul><li>Output Drivers. </li></ul><ul><li>Low Voltage and Power Operation. </li></ul>PIC12F Family Block Diagram
    6. 6. PIC12F635 Block Diagram
    7. 7. Memory Organization Program Memory Map & Stack <ul><li>The PIC12F635 devices have a 13-bit program counter capable of addressing an 8K x 14 program memory space. </li></ul><ul><li>The Reset vector is at 0000h and the interrupt vector is at 0004h. </li></ul><ul><li>The data memory is partitioned into two banks, which contain the General Purpose Registers (GPR) and the Special Function Registers (SFR). </li></ul><ul><li>The Special Function Registers are located in the first 32 locations of each bank. </li></ul><ul><li>Register locations 20h-7Fh in Bank 0 and A0h-BFh in Bank 1 are GPRs. </li></ul>
    8. 8. MCU Clock Source Block Diagram <ul><li>Clock sources can be configured from external oscillators, quartz crystal resonators, ceramic resonators and Resistor-Capacitor (RC) circuits. </li></ul><ul><li>Two-Speed Start-up mode, which minimizes latency between external oscillator start-up and code execution. </li></ul><ul><li>Fail-Safe Clock Monitor (FSCM) designed to detect a failure of the external clock source and switch automatically to the internal oscillator. </li></ul>PIC® MCU CLOCK SOURCE BLOCK DIAGRAM
    9. 9. Timer0 Module Block Diagram Of The Timer0
    10. 10. TIMER1 MODULE WITH GATE CONTROL TIMER1 BLOCK DIAGRAM
    11. 11. Comparator Module SINGLE COMPARATOR COMPARATOR OUTPUT BLOCK DIAGRAM
    12. 12. Programmable Low-voltage Detect (PlVD) Module PLVD BLOCK DIAGRAM <ul><li>Programmable Low Voltage Detect (PLVD) </li></ul><ul><ul><li>8 Options ranging from 1.9V - 4.5V </li></ul></ul><ul><li>Allows detection of low battery voltage without the use of an external reference </li></ul><ul><li>Software controlled (Switch off during SLEEP) </li></ul>
    13. 13. New KEELOQ Peripheral <ul><li>Hardware Encryption/Decryption peripheral: </li></ul><ul><ul><li>Offers the ability to implement KEELOQ encryption/decryption on a microcontroller </li></ul></ul><ul><ul><li>Faster encryption/decryption than done with software </li></ul></ul><ul><li>Consists of: </li></ul><ul><ul><li>Registers for (Key, data, configuration) </li></ul></ul><ul><ul><li>Non-linear lookup table </li></ul></ul><ul><ul><li>State machine </li></ul></ul><ul><li>Easy to use ‘Load n Go’operation </li></ul><ul><li>Reliable, proven algorithm for authentication </li></ul>
    14. 14. Special Features Of The CPU <ul><li>• Reset </li></ul><ul><ul><li>- Power-on Reset (POR) </li></ul></ul><ul><ul><li>- Wake-up Reset (WUR) </li></ul></ul><ul><ul><li>- Power-up Timer (PWRT) </li></ul></ul><ul><ul><li>- Oscillator Start-up Timer (OST) </li></ul></ul><ul><ul><li>- Brown-out Reset (BOR) </li></ul></ul><ul><li>• Interrupts </li></ul><ul><li>• Watchdog Timer (WDT) </li></ul><ul><li>• Oscillator selection </li></ul><ul><li>• Sleep </li></ul><ul><li>• Code protection </li></ul><ul><li>• ID Locations </li></ul><ul><li>• In-Circuit Serial Programming™ </li></ul>
    15. 15. Bidirectional Passive Keyless Entry (PKE) System PKE TRANSPONDER CONFIGURATION EXAMPLE PKE SYSTEM APPLICATION EXAMPLE
    16. 16. Development Support <ul><li>Integrated Development Environment </li></ul><ul><li>- MPLAB® IDE Software </li></ul><ul><li>Assemblers/Compilers/Linkers </li></ul><ul><ul><ul><li>- MPASMTM Assembler </li></ul></ul></ul><ul><ul><ul><li>- MPLAB C18 and MPLAB C30 C Compilers </li></ul></ul></ul><ul><ul><ul><li>- MPLINKTM Object Linker/ MPLIBTM Object Librarian </li></ul></ul></ul><ul><li>- MPLAB ASM30 Assembler/Linker/Library </li></ul><ul><li>Simulators </li></ul><ul><li>- MPLAB SIM Software Simulator </li></ul><ul><li>Emulators </li></ul><ul><ul><li>- MPLAB ICE 2000 In-Circuit Emulator </li></ul></ul><ul><ul><li>- MPLAB REAL ICE™ In-Circuit Emulator </li></ul></ul><ul><li>In-Circuit Debugger </li></ul><ul><li>- MPLAB ICD 2 </li></ul><ul><li>Device Programmers </li></ul><ul><ul><li>- PICSTART® Plus Development Programmer </li></ul></ul><ul><ul><li>- MPLAB PM3 Device Programmer </li></ul></ul><ul><ul><li>- PICkit™ 2 Development Programmer </li></ul></ul><ul><li>Low-Cost Demonstration and Development Boards and Evaluation Kits </li></ul>
    17. 17. Additional Resource <ul><li>For ordering PIC12F635, please click the part list or </li></ul><ul><li>Call our sales hotline </li></ul><ul><li>For more product information go to http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en019829 </li></ul><ul><li>Visit Element 14 to post your question </li></ul><ul><ul><li> www.element-14.com </li></ul></ul><ul><li>For additional inquires contact our technical service hotline or even use our “Live Technical Chat” online facility </li></ul>Newark Farnell

    ×