Low Power Microcontroller

Part  Number EM6640
Manufacturer EM Microelectronic
Semiconductor DataSheet

DataSheet View

EM MICROELECTRONIC - MARIN SA EM6640 Low Power Microcontroller with EEPROM AND RC Oscillator Features • Low Power - 42µA active mode - 8µA standby mode - 0.3µA sleep mode @ 3.0V, 600kHz, 25°C, typ Voltage Range - 1.9 to 5.5 V Supply voltage level detection (SVLD) ROM - 1280 × 16 bit RAM - 80 × 4 bit EEPROM - 32 x 8 bit 2 clocks per instruction cycle 72 basic instructions RC oscillator Oscillation detection circuit / Digital watchdog timer reset. Maximum 12 inputs (3 ports) Maximum 8 outputs (2 ports) Serial Write Buffer - 256 bits (SWB) 10 bit up/down counter with PWM capability Frequency out 600kHz, 37.5kHz, 2.3kHz, PWM Sleep Counter Reset (SCR) programmable. 8 internal interrupt sources (3×prescaler, 2×timer ,1xSWB, 1×SVLD, 1xEEPROM) 4 external interrupt sources (port A) Reset with input combinations Packages available : TSSOP16, SO16, SO18 Figure 1 Architecture • • • • • • • • • • • • • • • • • • • Figure 2 Pin Configuration of TSSOP16 Description The EM6640 is an advanced single chip CMOS 4-bit microcontroller. It contains ROM, RAM, EEPROM, watchdog timer, oscillation detection circuit, 10 bit up/down counter, prescaler, supply voltage level detector (SVLD), sleep counter reset (SCR), frequency output and SWB. The low voltage feature and low power consumption make it the most suitable controller for battery, stand alone and mobile equipment. The EM66XX series is manufactured using EM Microelectronic’s Advanced Low Power (ALP) CMOS Process. Typical Applications • • • • • • • remote controls medical applications domestic appliance safety and security devices measurement equipment interactive system keyless entry with rolling code 03/02 REV. C/446 Copyright  2002, EM Microelectronic-Marin SA 1 www.emmicroelectronic.com EM6640 EM6640 at a glance • Power Supply - Low voltage, low power architecture including internal voltage regulator. - 1.9V ... 5.5V battery voltage. - 600 kHz RC oscillator. - 42µA typical in active mode @ 3V, 25C°. - 8µA typical in standby mode @ 3V, 25C°. - 0.3µA typical in sleep mode @ 3V, 25C°. RAM - 80 x 4 bit, directly addressable. ROM - 1280 x 16 bit metal mask programmable. EEPROM - 32 x 8 bit, indirectly addressable (6 bits used to adjust the oscillator frequency). - Interrupt request at the end of writing operation. - 60µA typical during read mode @ 3V, 25C°. - 45µA typical during erase/write mode @ 3V, 25C° CPU - 4 bits RISC architecture. - 2 clock cycles per instruction. - 72 basics instructions. Main Operating Modes and Resets - Active mode (CPU is running). - Standby mode (CPU in halt). - Sleep mode (No clock, reset state). - Initial reset on power on (POR). - Watchdog timer (time out) reset. - Oscillation detection watchdog reset. - Reset with input combination. 4 Bits Input Port A - Direct input read. - Reset with input combination (register selectable). - Debounced or direct input (register selectable). - Interrupt request on input’s rising or falling edge (register selectable). - Pull-up, pull-down or none (register selectable). - Software test variables for conditional jumps. - PA[0] and PA[3] are input for the event counter. 4 Bits Input/Output Port B - Input or Output port bitwise. - Direct input read. - CMOS or N-channel open drain outputs. - Pull-up selectable in N-channel open drain mode. - Pull-down or pull-up selectable by register. - Selectable pulse width modulation (PWM). - PWM output on PB[3]. - Output frequencies 600kHz, 37.5kHz, 2.3kHz. • 4 Bits Input/Output Port C - Input or output port bitwise. - Direct input read. - CMOS or N-channel open drain outputs. - Pull-up selectable in N-channel open drain mode. - Pull-down or pull-up selectable by register. - Serial Write Buffer clock and data output. Oscillator - RC Oscillator at f=600kHz ±1% typ (-30°C...40°C). - Absolute frequency adjustable with 6 bits EEPROM. - No external components are necessary. • • • • • • Serial Write Buffer (SWB) - Max. 256 bits long clocked with 150kHz; 75kHz 9.4kHz; 2,3kHz. External clock capability in automatic mode, max: 1.5MHz. - Automatic send mode: number of clocks of the last nibble selectable by register and last data level latched. External clock division capability by 1/1, 1/4, 1/88 and 1/352. - Interactive send mode: interrupt request when buffer is empty. - Data sent at VDD or VregLogic levels selectable by mask option. • Prescaler - 19 stages system clock divider down to 1Hz. - 3 interrupts requests: 9.4kHz; 586Hz and 1Hz. - Prescaler reset. Supply voltage Level Detector - 2 levels software selectable (2,2V or 2,5V). - Busy flag during measurement. - Interrupt request when measurement is ready. 10-Bit Universal Counter - 10, 8, 6, 4 bit up/down counting. - 8 different input clocks. - Event counting with PA[0] and PA[3] as input clocks. - Full 10 bits or limited (8, 6, 4 bits) compare function. - 2 interrupt requests (on compare and on 0). - Pulse width modulation (PWM) output on PB[3]. Sleep Counter Reset (SCR) - Wake up automatically the EM6640 from sleep. - 8 timings selectable by register. - Inhibit SCR by register. Watchdogs - Oscillation detection circuit. - Digital watchdog timer reset. Interrupt Controller - 4 external interrupt sources from PortA. - 5 internal interrupt sources: Prescaler (3), Timer (2), SVLD (1), EEPROM (1), SWB (1) • • • • • • • • NB: All frequencies written in this document are related to a typical system clock of 600 kHz. 03/02 REV. C/446 Copyright  2002, EM Microelectronic-Marin SA 2 www.emmicroelectronic.com EM6640 INDEX FEATURES 1. PIN DESCRIPTION FOR EM6640 : 2. OPERATING MODES 2.1 ACTIVE Mode 2.2 STANDBY Mode 2.3 SLEEP Mode 3. POWER SUPPLY 4. RESET 4.1 Power-Up 4.2 Oscillation Detection Circuit 4.3 Input-PortA-Reset 4.4 Sleep Counter Reset (SCR) 4.5 Digital Watchdog Timer Reset 4.6 CPU State after Reset 5. OSCILLATOR AND PRESCALER 5.1 Oscillator 5.2 Prescaler 6. INPUT AND OUTPUT PORTS 6.1 Ports overview 6.2 PortA 6.2.1 IRQ on portA 6.2.2 Pull-up/down 6.2.3 Software test variables 6.2.4 PortA for 10-bit Counter 6.2.5 PortA for serial write buffer (SWB) 6.3 PortA registers 6.4 PortB 6.4.1 Input / Output Mode 6.4.2 Pull-up/Down 6.4.3 CMOS / Nchannel Open Drain Output 6.4.4 PWM and Frequency output 6.5 PortB registers 6.6 PortC 6.6.1 Input / Output Mode 6.6.2 Pull-up/Down 6.6.3 CMOS / Nchannel Open Drain Output 6.6.4 Serial Write Buffer (SWB) 6.7 PortC registers 7. 10-BIT COUNTER 7.1 Full, Limited Bit Counting 7.2 Frequency Select and Up/Down Counting 7.3 Event Counting 7.4 Compare Function 7.5 Pulse Width Modulation (PWM) Generation 7.5.1 How the PWM generator works. 7.5.2 PWM characteristics 7.6 Counter setup 7.7 10-bit Counter Registers 8. SERIAL (OUTPUT) WRITE BUFFER - SWB 8.1 SWB Automatic send mode 1 3 4 5 5 5 5 6 7 8 9 10 11 12 13 13 14 15 15 16 16 17 17 17 17 17 19 19 19 20 20 21 22 22 22 23 23 23 24 24 25 26 26 26 27 27 27 28 30 31 8.1.1 SWB Automatic with external clock 31 8.1.2 How the SWB in automatic mode works 32 8.2 SWB Interactive send mode 33 8.2.1 How the SWB in interactive mode works 33 8.3 SWB registers 34 9. EEPROM 36 9.1 EEPROM registers 37 10. INTERRUPT CONTROLLER 38 10.1 Interrupt control registers 39 11. SUPPLY VOLTAGE LEVEL DETECTOR 40 11.1 Supply Voltage Level Detector Register 40 12. RAM 41 12.1 RAM Extension 41 13. PERIPHERAL MEMORY MAP 42 14. OPTION REGISTER MEMORY MAP 45 15. TEST AT EM - ACTIVE SUPPLY CURRENT TEST 46 16. MASK OPTIONS 47 16.1 Input / Output ports 47 16.1.1 PortA Metal Options 47 16.1.2 PortB Metal Options 48 16.1.3 PortC Metal Options 49 16.2 Digital Watchdog Option 50 16.3 SWBdataLevel Option 50 16.4 Remaining metal mask options 50 16.5 Metal mask ordering 50 17. TEMPERATURE AND VOLTAGE BEHAVIORS 51 17.1 RC oscillator (typical) 51 17.2 IDD Current (typical) 51 17.3 Regulated Voltage (typical) 52 17.4 Output Currents (typical) 52 17.5 Pull-up/down (typical) 54 18. EM6640 ELECTRICAL SPECIFICATIONS 55 18.1 Absolute maximum ratings 55 18.2 Handling Procedures 55 18.3 Standard Operating Conditions 55 18.4 DC characteristics - Power Supply Pins 55 18.5 Supply Voltage Level Detector 56 18.6 Oscillator 56 18.7 Analogue filter on PortA 56 18.8 Sleep counter reset (SCR) 56 18.9 EEPROM 56 18.10 DC characteristics - input / output Pins 57 18.11 DC characteristics - pull up/down 58 19. PAD LOCATION DIAGRAM 59 20. PACKAGE & ORDERING INFORMATION 59 20.1 Ordering Information 61 20.2 Package Marking 61 20.3 Customer Marking 61 21. UPDATES OF SPECIFICATIONS 62 1. Pin Description for EM6640 : Pin Number Pin Name 1 VReg Function Internal voltage regulator 3 Remarks MFP programming connection 03/02 REV. C/446 Copyright  2002, EM Microelectronic-Marin SA www.emmicroelectronic.com EM6640 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Test Port A[0] Port A[1] Port A[2] Port A[3] Port B[0] Port B[1] Port B[2] Port B[3] Port C[0] Port C[1] Port C[2] Port C[3] VBat VSS Input test terminal Input port A[0] Input port A[1] Input port A[2] Input port A[3] Input/Output bitwise, cmos/open drain port B[0] Input/Output bitwise, cmos/open drain port B[1] Input/Output bitwise, cmos/open drain port B[2] Input/Output bitwise, cmos/open drain port B[3] Input/Output bitwise, cmos/open drain port C[0] Input/Output bitwise, cmos/open drain port C[1] Input/Output bitwise, cmos/open drain port C[2] Input/Output bitwise, cmos/open drain port C[3] Positive power supply terminal Negative power supply terminal For EM test purpose only, GND 0 ! And MFP programming connection testvar1, event counter input, IRQPA[0], SWB input clock testvar2, IRQPA[1] IRQPA[2] event counter input, IRQPA[3] ck[20] output ck[16] output ck[12] output PWM output SWB Clock Out SWB Data Out VBat=VDD, MFP programming connection reference terminal, MFP programming connection Figure 3 Typical configuration PortA VBat VReg PortB EM6640 Test VSS CVreg + C1 PortC 2. Operating modes The EM6640 has two low power dissipation m




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 ?