Ultra Low Power 8-pin Flash Microcontroller

Part  Number EM6580
Manufacturer EM Microelectronic
Semiconductor DataSheet

DataSheet View

R www.DataSheet4U.com EM MICROELECTRONIC - MARIN SA EM6580 Ultra Low Power 8-pin Flash Microcontroller Features True Low Power: 5.8 µA active mode 3.3 µA standby mode 0.32 µA sleep mode Large Supply Voltage 2.0 V to 5.5 V No external component needed Available in SO-8/14 packages and die 4-bit ADC or 12 levels Supply Voltage Level Detector (SVLD) Unique ID code of 52bits + 16bits CRC Max 4 (5*) outputs with 2 high drive outputs of 10mA Max. 5 (6*) inputs Sleep Counter Reset (automatic wake-up from sleep mode (EM patent)) Flash memory 4096 × 16 bits RAM 80 × 4 bits Internal RC oscillator 32kHz – 800kHz 2 clocks per instruction cycle 72 basic instructions External CPU clock source possible Watchdog timer (2 sec) Power-On-Reset with Power-Check on start-up 3 wire serial port , 8 bit, master and slave mode Universal 10-bit counter, PWM, event counter Prescaler down to 1 Hz (freq. = 32kHz) Frequency output 1Hz, 2048 Hz, CPUClk, PWM 6 internal interrupt sources ( 2×10-bit counter, 2× prescaler, SVLD, Serial Interface) 2 external interrupt sources (port A) Figure 1. Architecture Flash 4096 x 16Bit Stable RC oscillator 32 - 800kHz Prescaler RAM 80 x 4Bit V DD V REG/V PP Power Supply Voltage reg. Power on Reset Sleep Counter Reset Watchdog 10-Bit Univ Count/Timer Core EM6600 4-bit ADC Interrupt Controller SVLD check Port A Serial Interface Reset PA2 PA3 PA4 *PA5 PA0 PA1 PA1 & PA2: high current drive outputs * PA5 available only in 14-pin package and in die Figure 2. Pin Configuration PA0 1 2 3 4 8 V DD V REG /V PP PA4 V SS SO-8 PA1 PA2 PA3 EM6580 7 6 5 Description The EM6580 is a low power Flash 4-bit microcontroller coming in a small 8-pin SO package and working up to 0.4 MIPS. It comes with an integrated 4-bit ADC and 2 high current drive outputs of 10mA and it requires no external component. It has a sleep counter reset allowing automatic wake-up from sleep mode. It is designed for use in battery-operated and field-powered applications requiring an extended lifetime. A high integration level make it an ideal choice for cost sensitive applications. The EM6580 contains the equivalent of 8kB of Flash memory and a RC oscillator with frequencies between 32 to 800kHz. It also has a power-on reset, watchdog timer, 10 bit up/down counter, PWM and several clock functions. Development tools include windows-based simulator program debugger, assembler and real time emulator. NC PA0 PA1 PA2 PA3 NC NC 1 2 3 4 5 6 7 14 13 12 NC V DD V REG/V PP PA5 PA4 V SS NC SO-14 EM6580 11 10 9 8 Typical Applications Household appliances Safety and security devices Automotive controls Sensor interfaces Watchdog Intelligent ADC Driver (LED, triac) Copyright © 2005, EM Microelectronic-Marin SA 1 www.emmicroelectronic.com R EM6580 EM6580 at a glance Power Supply - Low voltage low power architecture including internal voltage regulator - 2.0V to 5.5V supply voltage - 5.8 µA in active mode - 3.3 µA in standby mode - 0.32 µA in sleep mode 4(5)-Bit I/O PA[3:0] & PA[4] / PA[5]* - Direct input read on the port terminals - 2 debounced function available muxed on 4 inputs - 2 Interrupt request on positive or negative edge - Pull-up or pull-down or none selectable by register - 2 Test variables (software) for conditional jumps - PA[1] and PA[3/4] are inputs for the event counter - PA[3/4] Reset input (register selectable) - All outputs can be put tri-state (default) - Selectable pull-downs in input mode - CMOS or Nch. open drain outputs - Weak pull-up selectable in Nch. open drain mode RAM - 80 x 4 bit, directly addressable FLASH - 4096 x 16 bit (8k Byte), CPU - 4-bit RISC architecture - 2 clock cycles per instruction (CPI=2) - 72 basic instructions 4-bit ADC & Voltage Level Det. (SVLD) - External voltage compare from PA[4] input possible (low resolution 4 bit AD converter) -7 different levels from 2 V to 3.0 V for SVLD - Used for Power Check after POR (2.0V check) - Busy flag during measure - Interrupt generated if SVLD measurement low Main Operating Modes and Resets - Active mode (CPU is running) - Standby mode (CPU in halt, peripherals running) - Sleep mode (no clock, data kept) - Initial Power-On-Reset with Power-Check - Watchdog reset (logic) - Reset terminal (software option on PA[3/4]) - Sleep Counter reset from Sleep mode - Wakeup on change from Sleep mode 10-Bit Universal Counter - 10, 8, 6 or 4 bit up/down counting - Parallel load - Event counting (PA[1] or PA[3/4]) - 8 different input clocks - Full 10 bit or limited (8, 6, 4 bit) compare function - 2 interrupt requests (on compare and on 0) - Hi-frequency input on PA[1] and PA[3/4] or CPUClk - Pulse width modulation (PWM) output Prescaler - Divider (4 stages) to best fit CPU clock (32kHz – 1MHz to 32kHz system clock to keep peripherals timing close to specification - 15 stage system clock divider from 32kHz down to 1Hz - 2 Interrupt requests (3 different frequencies) - Prescaler reset (4kHz to 1Hz) Interrupt Controller - 2 external and 6 internal interrupt request sources - Each interrupt request can individually be masked - Each interrupt flag can individually be reset - Automatic reset of each interrupt request after read - General interrupt request to CPU can be disabled - Automatic enabling of general interrupt request flag when going into HALT mode 8-Bit Serial Interface - 3 wire (Clock, DataIn , DataOut) master/slave mode - READY output during data transfer - Maximum shift clock is equal to the main system clock - Interrupt request to the CPU after 8 bit data transfer - Supports different serial formats - pins shared with general 4 bit PA[3:0] I/O port Sleep Counter Reset (SCR) - wake up the EM6580 from sleep mode - 4 timings selectable by register - Inhibit SCR by register Oscillator - RC Oscillator range: 32kHz up to 800kHz - No external components are necessary - Temperature compensated - External clock source possible from PA[1] Package form available - SO-8/14 - Die form (9 pin possible due to additional I/O pin) NB: All frequencies written in this document are related to a typical system clock of 32 kHz ! Copyright © 2006, EM Microelectronic-Marin SA 2 www.emmicroelectronic.com R EM6580 Table of Contents FEATURES______________________________ 1 1H 8.4.2 PWM Characteristics__________________431 9H 50H 51H DESCRIPTION ___________________________ 1 2H EM6580 AT A GLANCE ____________________ 2 3H 1. 2. 2.1 2.2 2.3 3. 4. 4.1 4.2 4.3 4.4 4.5 4.6 5. 5.1 5.2 5.3 6. 6.1 6.2 PIN DESCRIPTION FOR EM6580 _______ 4 4H 8.5 COUNTER SETUP _____________________ 31 8.6 10-BIT COUNTER REGISTERS ____________ 32 9. SUPPLY VOLTAGE LEVEL DETECTOR / 4-BIT ADC ______________________________ 34 52H OPERATING MODES ________________ ACTIVE MODE_______________________ STANDBY (HALT) MODE _______________ SLEEP MODE _______________________ POWER SUPPLY____________________ 5H 6H 7H 8H 9H 10H 5 5 5 5 7 10. ADC/SVLD COMPARATOR CHARACTERISTICS ______________________ 37 53H 11. 12. 12.1 13. 14. 14.1 14.2 14.3 14.4 14.5 14.6 14.7 14.8 15. 15.1 15.2 16. RAM _____________________________ 37 54H RESET ____________________________ 8 POR WITH POWER-CHECK RESET_________ 9 INPUT PORT A RESET _________________ 10 DIGITAL WATCHDOG TIMER RESET _______ 10 SLEEP COUNTER RESET _______________ 11 WAKE-UP ON CHANGE ________________ 11 THE CPU STATE AFTER RESET __________ 11 OSCILLATOR AND PRESCALER _____ 12 RC OSCILLATOR OR EXTERNAL CLOCK_____ 12 SPECIAL 4 STAGE FREQUENCY DIVIDER ____ 13 PRESCALER ________________________ 13 INPUT AND OUTPUT PORT A ________ 15 INPUT / OUTPUT PORT OVERVIEW ________ 15 PORTA AS INPUT AND ITS MULTIPLEXING ___ 16 1H 12H 13H 14H 15H 16H 17H 18H 19H 20H 21H 2H 23H INTERRUPT CONTROLLER __________ 38 INTERRUPT CONTROL REGISTERS _________ 39 PERIPHERAL MEMORY MAP _________ 40 5H 56H 57H 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.2.6 6.2.7 6.2.8 6.2.9 6.2.10 6.2.11 Debouncer __________________________216 IRQ on Port A _______________________217 Pull-up/down ________________________217 Software test variables ________________218 Port A for 10-Bit Counter _______________218 Port A Wake-Up on change_____________218 Port A for Serial Interface ______________318 Port A for External Reset_______________318 Port PA[4] as Comparator Input _________318 Reset and Sleep on Port A _____________318 Port A Blocked Inputs _________________318 4H 5H 6H 7H 8H 9H 0H 1H 2H 3H 4H 35H MASK OPTIONS ____________________ 43 PORT A METAL OPTIONS _______________ 43 RC OSCILLATOR FREQUENCY OPTION ______ 43 DEBOUNCER FREQUENCY OPTION ________ 44 POWER-CHECK LEVEL OPTION ___________ 44 ADC/SVLD VOLTAGE LEVEL #15 _________ 44 COUNTER UPDATE OPTION ______________ 44 VOLTAGE REGULATOR LEVEL OPTION ______ 44 ADDITIONAL REGISTERS COMPARE TO EM6680645 RC OSCILLATOR ___________________ 46 FREQUENCY SELECTION ________________ 46 OSCILLATOR TRIMMING ________________ 47 UNIQUE ID CODE / SERIAL NUMBER __ 48 58H 59H 60H 61H 62H 63H 64H 65H 6H 67H 68H 69H 70H 71H 6.3 6.4 7. 7.1 7.2 7.3 8. 8.1 8.2 8.3 8.4 PORTA AS OUTPUT AND ITS MULTIPLEXING _ 19 CMOS / Nch. Open Drain Output ________319 6H 6.3.1 PORT A REGISTERS___________________ SERIAL PORT _____________________ GENERAL FUNCTIONAL DESCRIPTION______ DETAILED FUNCTIONAL DESCRIPTION______ 37H 38H 39H 40H 42H 20 22 23 23 1H 7.2.1 Output Modes _______________________424 SERIAL INTERFACE REGISTERS __________ 26 10-BIT COUNTER __________________ 27 FULL AND LIMITED BIT COUNTING ________ 27 FREQUENCY SELECT AND UP/DOWN COUNTING428 EVENT COUNTING____________________ 29 PULSE WIDTH MODULATION (PWM) ______ 29 43H 4H 5H 46H 47H 17. TEMPERATURE AND VOLTAGE BEHAVIOUR ____________________________ 49 17.1 IDD CURRENT (TYPICAL) _______________ 49 17.2 PULL-UP AND PULL-DOWN RESISTORS (TYPICAL) __________________________ 50 17.3 OUTPUT CURRENT (TYPICAL) ____________ 50 17.4 OSCILLATOR FREQUENCY (TYPICAL) _______ 51 18. ELECTRICAL SPECIFICATION ________ 52 18.1 ABSOLUTE MAXIMUM RATINGS ___________ 52 18.2 HANDLING PROCEDURES _______________




New! The site which shares a electronic information

English     |     日本語     |     漢語     |     한국어     |     Netherlands     |     La France     |     L'Italia     |     Deutschland     |     Россия
This is a individually operated, non profit site.
If this site is good enough to show, please introduce this site to others...

It welcomes all helping each other.     Contact us     |    Partner site : www.DataSheet.in     |     Link Exchange     |     Buy Components ?