EM6607 EM Microelectronic, EM6607 Datasheet

no-image

EM6607

Manufacturer Part Number
EM6607
Description
Ultra-low power microcontroller
Manufacturer
EM Microelectronic
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
EM6607TP16B
Quantity:
20 000
Part Number:
EM6607TP16B
Manufacturer:
NUVOTON
Quantity:
1 200
Features
Description
The EM6607 is a single chip low power, mask
programmed CMOS 4-bit microcontroller. It contains
ROM, RAM, watchdog timer, oscillation detection circuit,
combined timer / event counter, prescaler, voltage level
detector and a number of clock functions. Its low voltage
and low power operation make it the most suitable
controller for battery, stand alone and mobile equipment.
The EM6607 microcontroller is manufactured using EM’s
Advanced Low Power CMOS Process.
In 24 Pin package it is direct replacement for EM6603.
Typical Applications
Copyright © 2005, EM Microelectronic-Marin SA
Low Power
Low Voltage 1.2 to 3.3 V
ROM
RAM
2 clocks per instruction cycle
RISC architecture
5 software configurable 4-bit ports
1 High drive output port
Up to 20 inputs
Up to 16 outputs
buzzer three tone
Serial Write buffer – SWB
Supply Voltage level detection (SVLD).
Analogue and timer watchdog
8 bit timer / event counter
Internal interrupt sources (timer, event counter,
prescaler)
External interrupt sources (portA + portC)
sensor interfaces
domestic appliances
clocks
security systems
bicycle computers
automotive controls
TV & audio remote controls
measurement equipment
R/F and IR. control
motor driving
R
EM MICROELECTRONIC -
2k × 16 (Mask Programmed)
96 × 4 (User Read/Write)
typical 1.8µA active mode
typical 0.5µA standby mode
typical 0.1µA sleep mode
@ 1.5V, 32kHz, 25 °C
Ultra-low power microcontroller
(5 ports)
(4 ports)
with 4 high drive outputs
Figure 1.
Figure 2.
1
Q
MARIN SA
T
OUT
P
P
P
P
P
P
P
P
EST
V
Q
A0
A1
A2
A3
B0
B1
B2
B3
SS
IN
(TS)SOP-24
10
11
12
VLD 3 Levels
8
1
2
3
4
5
6
7
9
Count/Timer
Crystal Osc
8-Bit Event
Prescaler
Controller
0
Interrupt
EM6607
Port A
32KHz
1
Architecture
Pin Configuration
2
3
High Drive
0
Outputs
16
15
14
13
Port B
24
23
22
21
20
19
18
17
1
V
V
R
P
P
P
P
P
P
P
P
S
2
DD
REG
D3
D2
D1
D0
C3
C2
C1
C0
TB/
ESET
2k X 16Bit
3
ROM
R
ST
EM6600
0
Port C
Core
1
Q
2
T
OUT
V
P
P
P
P
P
P
P
P
P
P
EST
Q
www.emmicroelectronic.com
3
SS
A0
A1
A2
A3
E0
B0
B1
B2
B3
E1
96 X 4Bit
IN
EM6607
RAM
10
11
12
13
14
Clk
(TS)SOP-28
8
9
1
2
3
4
5
6
7
0
Serial Write
Data
Port D
EM6607
Buffer
1
EM6680
2
3
Buzzer
V
DD
Watchdog
0
Power on
3 Tone
Buzzer
V
Supply
Power
Reset
Timer
Port E
REG
1
19
28
27
26
25
24
23
22
21
20
18
17
16
15
2
V
V
R
P
P
P
P
P
P
P
P
P
P
S
DD
REG
ESET
E3
D3
D2
D1
D0
E2
C3
C2
C1
C0
TB/
V
3
SS
R
ST

Related parts for EM6607

EM6607 Summary of contents

Page 1

... Internal interrupt sources (timer, event counter, prescaler) External interrupt sources (portA + portC) Description The EM6607 is a single chip low power, mask programmed CMOS 4-bit microcontroller. It contains ROM, RAM, watchdog timer, oscillation detection circuit, combined timer / event counter, prescaler, voltage level detector and a number of clock functions. Its low voltage and low power operation make it the most suitable controller for battery, stand alone and mobile equipment ...

Page 2

... R EM6607 at a glance Power Supply - Low Voltage, low power architecture including internal voltage regulator - 1.2V ... 3.3 V battery voltage - 1.8μA in active mode - 0.5μA in standby mode - 0.1μA in sleep mode @ 1.5V, 32kHz, 25 ° kHz Oscillator or external clock RAM - bit, direct addressable ROM - 2048 x 16 bit metal mask programmable ...

Page 3

... R Table of Contents 1 PIN DESCRIPTION FOR EM6607 2 OPERATING MODES 2 CTIVE ODE 2.2 STANDBY M ODE 2.3 SLEEP MODE 3 POWER SUPPLY 4 RESET 4.1 O SCILLATION DETECTION CIRCUIT 4 ESET IN 4.3 I (PA0..PA3) RESET NPUT PORT 4 RESET ATCHDOG IMER 4 OFTWARE OWER N ESET 4.6 CPU S RESET TATE AFTER 4 ...

Page 4

... EM6607 www.emmicroelectronic.com ...

Page 5

... R 1 Pin Description for EM6607 Pin Nb Pin Nb Pin Name 24 pin 28 pin 1 1 port port port port port port port port port port test ...

Page 6

... Figure 4. Typical Configuration REG + Copyright © 2005, EM Microelectronic-Marin SA 1. 3.3V SLEEP V. Regulator Logic ROM RAM POR 1. 1.8V SLEEP V. Regulator Logic ROM RAM POR 6 EM6607 OUT PA Oscillator PB PC I/O Drivers SVLD PD SWB PE Reset Strb/Rst Test OUT PA Oscillator PB PC I/O Drivers ...

Page 7

... During this time the circuit is in RESET state and the strobe output STB/RST is high. Waking up from SLEEP mode clears the SLEEP flag but not the SLmask bit. By reading SLmask it can therefore determine if the EM6607 was powered up (SLmask = 0), or woken from SLEEP mode (SLmask = 1). ...

Page 8

... Name 3 WDRST 2 Slmask 1 WD1 0 WD0 T able 3 shows the status of different EM6607 blocks in these three main operating modes Table 3. Internal state in Active, Stand-by and Sleep mode Peripheral /// EM6607 mode POR (static) Voltage regulator Quartz 32768 Hz oscillator Clocks (Prescaler & RC divider) ...

Page 9

... R 4 Reset To initialize the EM6607, a system RESET must be executed. There are five methods of doing this: (1) Initial RESET from the oscillation detection circuit. (2) External RESET from the RESET PIN. (3) External RESET by simultaneous high input to terminals PA0..PA3. (Combinations defined by metal option) (4) Watchdog RESET (software option). ...

Page 10

... Copyright © 2005, EM Microelectronic-Marin SA Opt. Code rstpa_no rstpa_3h rstpa_5h rstpa_6h rstpa_7h rstpa_9h rstpa_ah rstpa_bh rstpa_ch rstpa_dh rstpa_eh rstpa_fh NoWD bit in Option register 1 0 min until Static POR does it job at typ. 0.9V. DD SoftPOR in RegSoftPOR register EM6607 . DD min by SVLD function detects this, DD www.emmicroelectronic.com ...

Page 11

... Hz system clock until rising might happen that Quartz Cold-Start is finished. System reset will keep the EM6607 under reset until first time DD V becomes higher guarantee good operating conditions (oscillator stabilized during its Cold-Start delay and V ...

Page 12

... Prescaler reset 0 R/W Prescaler Interrupt select 1 0 R/W Prescaler Interrupt select 0 Reset R/W Description - R/W Watchdog timer reset - R/W SLEEP mask bit Timer data 1 Timer data 1 EM6607 ). The regulated voltage supplies the SS REG Prescaler interrupts source PSF1 PSF0 www.emmicroelectronic.com ...

Page 13

... PortA The EM6607 has one 4-bit general purpose input port. Each of the input port terminals PA3..PA0 has an internal pull- Up/Down resistor, which can be selected with mask options. Port information is directly read from the pin into a register. On inputs PA0, PA1, PA2 and PA3 debouncers for noise rejection are added by default. For interrupt generation, either direct input and debounced input can be chosen ...

Page 14

... PA1 interrupt request flag 0 R input PA0 interrupt request flag Reset R/W Description 0 R/W interrupt mask for input PA3 0 R/W interrupt mask for input PA2 0 R/W interrupt mask for input PA1 0 R/W interrupt mask for input PA0 14 EM6607 IRQedgeR Interrupt Request 1 IRQpA 0 CPU Testvar PortA RD www.emmicroelectronic.com ...

Page 15

... PB3 I/O data - R /W PB2 I/O data - R/W PB1 I/O data - R /W PB0 I/O data Reset R/W Description 0 R/W PB3 Input/Output select 0 R/W PB2 Input/Output select 0 R/W PB1 Input/Output select 0 R/W PB0 Input/Output select Mask 2Y option Mask 2N option Mask 3Y option Mask 3N option 15 EM6607 Port B Sleep OEBsleepRes CIOportB PortB RD www.emmicroelectronic.com ...

Page 16

... PC0 interrupt request flag Reset R/W Description 0 R/W interrupt mask for input PC3 0 R/W interrupt mask for input PC2 0 R/W interrupt mask for input PC1 0 R/W interrupt mask for input PC0 16 EM6607 Ports A&C Interrupt IRQPC PA&C Request to CPU Yes 0 0 Yes 1 0 Yes ...

Page 17

... Reset R/W Description 0 W PortD Output Enable reset by Sleep mode 0 W PortC Output Enable reset by Sleep mode 0 W PortB Output Enable reset by Sleep mode 0 W Buzzer on PE0 PB0 EM6607 IRQedgeR Interrupt Request 1 IRQpC 0 Port C Sleep OECsleepRes CIOPC PortC RD www.emmicroelectronic.com ...

Page 18

... PortD The EM6607 has one all purpose I/O port similar to PortC but without interrupt capability. The PortD register is used to read input data when an input and to write output data for output. The input line can be pulled Up/Down (metal option) when the port is used as input. Input mode is set by writing 0 to the I/O control bit CIOPD in register CPIOB, and the terminal becomes high impedance ...

Page 19

... Copyright © 2005, EM Microelectronic-Marin SA Reset R/W Description - R/W PE3 I/O data - R /W PE2 I/O data - R/W PE1 I/O data - R /W PE0 I/O data Reset R/W Description 0 R/W PE3 Input/Output select 0 R/W PE2 Input/Output select 0 R/W PE1 Input/Output select 0 R/W PE0 Input/Output select Mask 2Y option Mask 2N option EM6607 Port E CIOPE PortE RD www.emmicroelectronic.com ...

Page 20

... BUZZER The EM6607 has one 50% duty cycle output with three different frequencies, which can be used to drive a buzzer. I/O terminal PB0 in 24-pin package or PE0 in 28-pin package (BuzzerPE0 option) is used for this function when the buzzer is enabled by setting the BUen bit Table 22 below shows how to select the frequency by writing to the BCF1 and BCF0 control flags in the BEEP register ...

Page 21

... Timer/Event Counter The EM6607 has a built-in 8 bit countdown auto-reload Timer/Event counter that takes an input from either the prescaler or Port PA3. If the Timer/Event counter counts down to $00 the interrupt request flag IntTim is set the Timer/Event counter interrupt is enabled by setting the mask flag MTimC set to 1, then an interrupt request is generated to the CPU. See also section 9 ...

Page 22

... Timer load/status bit 4 Reset R/W Description 0 - empty 0 R/W Analogue WD disable 0 R/W System freq. output on STB/RST pad 0 R/W PA3 input status IRQedgeR Counter source X PA3 debounced rising edge 0 PA3 debounced falling edge 1 PA3 debounced rising edge 0 PA3 not debounced falling edge 1 PA3 not debounced rising edge 22 EM6607 www.emmicroelectronic.com ...

Page 23

... INTPA 2 SLEEP * Write bit 2 only if SLmask=1 If the SLEEP flag is written with 1 then the EM6607 goes immediately into SLEEP mode (SLmask was at 1). Copyright © 2005, EM Microelectronic-Marin SA - PortA PA3..PA0 inputs - PortC PC3..PC0 inputs - Combined AND of PortA * PortC - Prescaler (32Hz / 8Hz / 1Hz) ...

Page 24

... Reset R/W Description 0 R/W Reserved, must written R/W* Reserved, must written R/W Debouncer clock select (0=2ms : 1=16ms) 0 R/W Enable interrupt to CPU (1=enabled) IRQ mask bit which can be written enable an interrupt) interrupt request flag which is set on the input rising edge. 24 EM6607 www.emmicroelectronic.com ...

Page 25

... R 11 Supply Voltage Level Detector (SVLD) The EM6607 has a software configurable Supply Voltage Level detector. Three levels can be defined within the power supply range. During SLEEP mode this function is disabled. Voltage level detector can be used also for Power-Check on Start-up of the EM6607 micro-controller when V ...

Page 26

... R 12 Serial Write Buffer – SWB The EM6607 has a simple Serial Write Buffer (SWB) which outputs serial data and serial clock. The SWB is enabled by setting the bit V03 in the CLKSWB register as well as setting port D to output mode. The combination of the possible PortD mode is shown in Table 34. In SWB mode the serial clock is output on port D0 and the serial data is output on port D1. The signal TestVar[3], which is used by the processor to make conditional jumps, indicates " ...

Page 27

... Auto mode buffer size bit3 0 R/W Auto mode buffer size bit2 0 R/W Auto mode buffer size bit1 0 R/W Auto mode buffer size bit0 Reset R/W Description 0 R/W SWB Automatic mode select 0 R/W SWB start interactive mode 0 R/W Auto mode buffer size bit5 0 R/W Auto mode buffer size bit4 27 EM6607 www.emmicroelectronic.com ...

Page 28

... LowSWB and HighSWB register together with AutoSWB bit = 1. Now everything is ready for serial transmission. To start the transmission one has to put the EM6607 in standby mode with the HALT instruction. With this serial transmission starts. When transmission is finished the TESTvar[3] (can be used for conditional jumps) becomes active High, the AutoSWB bit is cleared, the processor is leaving the Standby mode and INTEN is switched on ...

Page 29

... Interrupt subroutine that the STSWB bit went low before exiting interrupt. Be careful because if STSWB bit is cleared by software transmission is stopped immediately. At the end of transmission a dummy write of SWBuff must be done to clear TESTvar[3] and "SWBbuffer empty interrupt" or the next transmission will not work. Copyright © 2005, EM Microelectronic-Marin SA EM6607 29 www.emmicroelectronic.com ...

Page 30

... R 13 STroBe / ReSeT Output The STB/RST output pin is used to indicate the EM6607 RESET condition as well as write operations to ports B, C and D. For a PortB, PortC and PortD write operation the STROBE signal goes high for half of the system clock period. Write is effected on falling edge of the strobe signal and it can this be used to indicate when data changes at the output port pins. In addition, any EM6607 internal RESET condition is indicated by a continuous high level on STB/RST for the period of the RESET ...

Page 31

... Driving to V (positive supply) DD Possible options are 18n 6p 14p , (strong) (weak), and V current MUST be limited Only 2 PortB High current EM6607 Input blocked Output Hi-Z in when Output SLEEP mode Yes / No Yes / OEBsleepRes Bit in Option2 register. Yes =1, No=0 OECsleepRes Bit in Option2 register ...

Page 32

... Value rstpa_no, rstpa_xh where x={3,5,6,7,9,a,b,c,d,e, rstpa_no 1 1 SVLD typ. V level [V] typ 5.1.1 EM6607 on Power-Up came over DD before internal Reset is released and L1 I nput port (PA0..PA3) RESET level [V] typ. V level [ www ...

Page 33

... R 16 PERIPHERAL MEMORY MAP The following table shows the peripheral memory map of the EM6607. The address space is between $00 and $7F (Hex). Any addresses not shown can be considered to be reserved. power Register add add up name hex dec value b'3210 00- RAM 0-95 xxxx 5f LTimLS 60 96 ...

Page 34

... IRQpc1 2: IRQpc2 3: IRQpc3 0: MPC0 1: MPC1 2: MPC2 3: MPC3 0: PD0 1: PD1 2: PD2 3: PD3 34 EM6607 voltage level detector control global interrupt enable debouncer clock IRQ Comp Bit IRQ Comp Mask internally used for INDEX register internally used for INDEX register interrupt requests sleep mode ...

Page 35

... S POR 3: OFT 0: PA&C 1: CIOPC 2: CIOPD PSF0 0: PSF0 1: PSF1 1: PSF1 2: PRST MTim 3: MTim 0: BCF0 1: BCF1 2: BUen 3: TimEn ---- ---- 35 EM6607 Remarks Software POR PortAirq AND PortCirq PortC In/Out PortD In/Out Prescaler control timer mask Buzzer control Timer Enable reserved www.emmicroelectronic.com ...

Page 36

... EM6607 Idd RUN @ 1.5V - Idd HALT @ 1.5V -40 - Idd SLEEP @ 1.5V -40 - www.emmicroelectronic.com [°C] 80 100 [°C] 80 100 [°C] 80 100 ...

Page 37

... EM6607 Weak Pull-Up @ 1.5V - Weak Pull-Down @ 1.5V - Strong Pull-Up @ 1.5V -40 - Strong Pull-Down @ 1.5V -40 - www.emmicroelectronic.com [°C] 80 100 [°C] 80 100 [°C] ...

Page 38

... Copyright © 2005, EM Microelectronic-Marin SA Port B: IOL current VDD=1.5V , VOL=0.3V [mA] 20.00 15. 10. 5. 0.00 [° 100 - [° 100 Port IOL current VDD=1.5V , VOL=0.3V [mA] 3.50 3.00 2.50 2.00 1.50 1.00 0.50 0.00 [° 100 -40 38 EM6607 - - www.emmicroelectronic.com [°C] 80 100 [°C] 100 ...

Page 39

... -10 -12 [° 100 - [° 100 [mA] 0.00 -0.40 -0.80 -1.20 -1.60 [° 100 39 EM6607 Port B: IOH current VDD=1.5V , VOH=1.2V - Port IOH current VDD=1.5V , VOH=1.2V -40 - www.emmicroelectronic.com [° 100 [° 100 ...

Page 40

... Symb. Min. I VDDa I VDDa I VDDh I VDDh I VDDs I VDDs V POR V 1.1 RD not 1.10 DD REG 40 EM6607 unit °C Description SS Typ. Max. Unit (note1) 1.8 3.0 μ A 4.5 μ A 0.5 1.0 μ A μ A 1.8 μ A 0.1 0.4 1.2 μ A 0.7 1.0 ...

Page 41

... V REG Symb. Min. I VDDa I VDDa I VDDh I VDDh I VDDs I VDDs V POR V 1 1.10 REG = V when V REG DD externally. DD (regulated voltage) with 100nF capacitor on V REG 41 EM6607 DD Typ. Max. Unit (note 2) 1.8 3.0 μ A 4.5 μ A 0.5 1.0 μ A μ A 1.8 0.1 0.4 μ A 1.2 μ A 0.7 1 1.90 V <1. external IN . REG www.emmicroelectronic.com ...

Page 42

... 1.5V, 25° 3.0V, 25° 1.5V, 25° 3.0V, 25° 1.5V, 25° 300 = 3.0V, 25° 100 42 EM6607 Typ. Max. Unit 0. 0. 0.3V V REG REG REG 6.0 mA 15.0 mA 8.0 mA 3.5 mA 2.5 mA 33.0 mA 20.5 mA 5.4 8 ...

Page 43

... CIN SS CIN SS min Gm DD < START Min t DD DOSC t DSYS min t DD DetFreq Conditions RESET from SLEEP DebCK = 0 DebCK = 0 DebCK = 1 DebCK = 1 43 EM6607 Typ. Max ...

Page 44

... R 19 Pad Location Diagram PE[3] RESET V REG EM6607 Chip size upon request PA[0] Substrate of the die is at VSS PA[1] PA[2] PA[3] Copyright © 2005, EM Microelectronic-Marin SA PC[2] PC[1] PC[0] STRB OUT TEST 44 EM6607 www.emmicroelectronic.com ...

Page 45

... R 20 Package Dimensions Figure 17. Dimensions of SOP24 Package SOIC Figure 18. Dimensions of TSSOP24 Package Copyright © 2005, EM Microelectronic-Marin SA EM6607 SOP-24 (1.27mm pitch, 300mils body width) TSSOP24 (0.65mm pitch, 4.4mm body width) 45 www.emmicroelectronic.com ...

Page 46

... R Figure 19. Dimensions of SOP28 Package SOIC Figure 20. Dimensions of TSSOP28 Package Copyright © 2005, EM Microelectronic-Marin SA EM6607 SOP-28 (1.27mm pitch, 300mils body width) TSSOP28 (0.65mm pitch, 4.4mm body width) 46 www.emmicroelectronic.com ...

Page 47

... R 21 Ordering Information Packaged Device: EM6607 SO28 A %%% Package: SO28 = 28 pin SOIC SO24 = 24 pin SOIC TP28 = 28 pin TSSOP TP24 = 24 pin TSSOP Delivery Form Stick B = Tape&Reel Customer Version: customer-specific number given by EM Microelectronic Ordering Part Number (selected examples) Part Number Package/Die Form EM6607SO28A-%%% ...

Related keywords