Part Number Hot Search : 
1N493 2005B 10C80 P120A MM1662J TDA73 SC2415W 1406261
Product Description
Full Text Search
 

To Download EM6605WW11 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 EM MICROELECTRONIC - MARIN SA
EM6605
Low Power Microcontroller with 300kHz RC Oscillator
Features
* Low Power - typical 4.0A active mode - typical 2.5A standby mode - typical 0.3A sleep mode @ 1.8V, 32kHz, 25 C * Low Voltage - 1.8 to 5.5V * RC oscillator 30 - 300kHz * buzzer - three tone * ROM - 2k x 16 (Mask Programmed) * RAM - 96 x 4 (User Read/Write) * 2 clocks per instruction cycle * RISC architecture * 4 software configurable 4-bit ports * Up to 16 inputs (4 ports) * Up to 12 outputs (3 ports) * Serial (Output) Write buffer - SWB * Voltage level detection * Analogue watchdog * Timer watchdog * 8 bit timer / event counter * Internal interrupt sources (timer, event counter, prescaler) * External interrupt sources (portA + portC) Figure 1.Architecture
Figure 2.Pin Configuration
Description
The EM6605 series is an advanced single chip low cost, 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 EM66XX series is manufactured using EM Microelectronic's Advanced Low Power CMOS Process.
Typical
* * * * * * *
Applications
sensor interfaces domestic appliances security systems automotive controls TV & audio remote controls measurement equipment R/F and IR. control
03/01 REV. C/441
Copyright 2002, EM Microelectronic-Marin SA
1
www.emmicroelectronic.com
EM6605
EM6605 at a glance
* Power Supply - Low Voltage, low power architecture including internal voltage regulator - 1.8V ... 5.5 V battery voltage - 4.0 A in active mode - 2.5 A in standby mode - 0.3 A in sleep mode @ 1.8V, 32kHz, 25 C - RC oscillator from 30-300kHz * RAM - 96 x 4 bit, direct addressable * ROM - 2048 x 16 bit metal mask programmable * CPU - 4 bit RISC architecture - 2 clock cycles per instruction - 72 basic 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) - External reset pin - Watchdog timer (time-out) reset - Oscillation detection watchdog reset - Reset with input combination on PortA (metal option) * Supply Voltage Level Detector - 3 software selectable levels defined by user between 1.9V and 4.5V) - Busy flag during measure - Active only on request during measurement to reduce power consumption * 4-Bit Input PortA - Direct input read - Debounced or direct input selectable (reg.) - Interrupt request on input's rising or falling edge, selectable by register. - Pull-down or none, selectable by met. mask - Software test variables for conditional jumps - PA3 input for the event counter - Reset with input combination on PortA (metal option) * 4-Bit Input/Output PortB - separate input or output selection by register - Pull-up, Pull-down or none, selectable by metal mask if used as Input - Buzzer output on PB0 * 4-Bit Input/Output PortC - Input or Output port as a whole port - Debounced or direct input selectable (reg.) - Interrupt request on input's rising or falling edge, selectable by register. - Pull-up, pull-down or none, selectable by metal mask if used as input - CMOS or N-channel open drain mode * 4-Bit Input/Output PortD - Input or Output port as a whole port - Pull-up, Pull-down or none, selectable by metal mask if used as Input - CMOS or N-channel open drain mode - Serial Write Buffer clock and data output * Serial (output) Write Buffer - max. 256 bits long clocked with ck[15]/ck[14]/ck[12]/ck[11] = 16/8/2/1kHz - automatic send mode - interactive send mode : interrupt request when buffer is empty * RCoscillator - RC oscillator with an external resistor for frequency adjustment in range from 30kHz to 300kHz - Production tolerance 20% - Temperature toll. 5%, -20C- 15 stage system clock divider down to 1 Hz
- 3 interrupt requests : 1Hz/8Hz/32Hz - Prescaler reset ck[14]-ck[1] (from 8kHz-1Hz) * 8-bit Timer / Event Counter - 8-bit auto-reload count-down timer - 6 different clocks from prescaler - or event counter from the PA3 input - parallel load - interrupt request when comes to 00 hex.
* Prescaler
- 4 external interrupt sources from PortA
- 3 internal interrupt sources, prescaler, timer and Serial Write Buffer - each interrupt request is individually maskable - interrupt request flag is cleared automatically on register read
* Interrupt Controller
NOTE: All frequencies on this page are related to 32.7kHz typical system clock
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
2
www.emmicroelectronic.com
EM6605
Table of Contents
1. Operating modes................................................ 5 1.1. STANDBY MODE ......................................... 5 1.2. SLEEP MODE............................................... 5 2. Power Supply...................................................... 5 3. Reset ................................................................... 6 3.1. OSCILLATION DETECTION CIRCUIT ................... 6 3.2. RESET PIN .................................................... 6 3.3. INPUT PORT (PA0..PA3) RESET ................... 7 3.4. WATCHDOG TIMER RESET............................ 7 3.5. CPU STATE AFTER RESET ........................... 7 4. Oscillator............................................................. 8 4.1. PRESCALER .................................................. 8 5. Watchdog timer .................................................. 9 6. INPUT and OUTPUT ports............................... 10 6.1. PORTA ....................................................... 10 6.2. PORTA REGISTERS ...................................... 11 6.3. PORTB ....................................................... 12 6.4. PORTB REGISTERS ...................................... 12 6.5. PORTC ....................................................... 13 6.6. PORTC REGISTERS...................................... 13 6.7. PORTD ....................................................... 15 6.8. PORTD REGISTERS...................................... 15 7. BUZZER............................................................. 16 7.1. BUZZER REGISTER ...................................... 16 8. Timer/Event Counter ........................................ 17 8.1. TIMER/COUNTER REGISTERS ........................ 18 9. Interrupt Controller .......................................... 19 9.1. INTERRUPT CONTROL REGISTERS.................. 19 10. Supply Voltage Level Detector (SVLD) ....... 21 10.1. SVLD REGISTER ..................................... 21 11. Serial (Output) Write Buffer - SWB ............. 22 11.1. SWB AUTOMATIC SEND MODE ................. 24 11.2. SWB INTERACTIVE SEND MODE ............... 26 12. STroBe / RESet Output ................................ 27 13. Test at EM - Active Supply Current test...... 27 14. Metal Mask Options ..................................... 27 15. Peripheral memory map .............................. 29 16. Measured Electrical Behaviors ................... 31 16.1. IDD CURRENT ........................................ 31 16.2. FREQUENCY ........................................... 32 16.3. REGULATED VOLTAGE ............................. 32 16.4. 16.5. 17. 17.1. 17.2. 17.3. 17.4. 17.5. 17.6. 17.7. 17.8. 18. 19. 19.1 19.2. 19.3. OUTPUT CURRENTS................................. 33 PULL UP / DOWN RESISTORS................... 35 Electrical specifications .............................. 36 ABSOLUTE MAXIMUM RATINGS .................. 36 STANDARD OPERATING CONDITIONS ........ 36 HANDLING PROCEDURES ......................... 36 DC CHARACTERISTICS - POWER SUPPLY .. 36 DC CHARACTERISTICS - IN/OUT PINS ....... 37 DC CHARACTERISTICS - S V D LEVELS .... 38 RC OSCILLATOR ..................................... 39 INPUT TIMING CHARACTERISTICS .............. 39 Pad Location Diagram ................................. 40 Packages & Ordering informations ............ 40 ORDERING INFORMATION ......................... 42 PACKAGE MARKING................................. 42 CUSTOMER MARKING .............................. 42
Table of Figures
Figure 1.Architecture..................................................... 1 Figure 2.Pin Configuration............................................. 1 Figure 3.Typical Configuration....................................... 4 Figure 4.Mode Transition diagram................................. 5 Figure 5.System reset generation ................................. 6 Figure 6.Port A............................................................ 11 Figure 7.Port B............................................................ 12 Figure 8.Port C............................................................ 14 Figure 9.Port D............................................................ 15 Figure 10.Timer / Event Counter ................................. 17 Figure 11.Interrupt Request generation ....................... 20 Figure 12.Serial write buffer ........................................ 23 Figure 13.Automatic Serial Write Buffer transmission . 24 Figure 14.Interactive Serial Write Buffer transmission. 26 Figure 15. EM6605 PAD Location Diagram................. 40 Figure 16. Dimensions of DIP24 Package - "A" ......... 40 Figure 17. Dimensions of TSSOP24 Package - "F" ... 41 Figure 18.Dimensions of SOIC24 Package - "B" ....... 41
EM Microelectronic-Marin SA cannot assume responsibility for use of any circuitry described other than circuitry entirely embodied in an EM Microelectronic-Marin SA product. EM Microelectronic-Marin SA reserves the right to change the circuitry and specifications without notice at any time. You are strongly urged to ensure that the information given has not been superseded by a more up-to-date version.
03/01 REV. C/441
Copyright 2002, EM Microelectronic-Marin SA
3
www.emmicroelectronic.com
EM6605
Table 1. Pin Description Pin Number Pin Name 1 port A, 0 2 port A, 1 3 port A, 2 4 port A, 3 5 port B, 0 6 port B, 1 7 port B, 2 8 port B, 3 9 test 10* RCin 11 RCout/NC 12 Vss 13 STB/RST 14 port C, 0 15 port C, 1 16 port C, 2 17 port C, 3 18 port D, 0 19 port D, 1 20 port D, 2 21 port D, 3 22 reset 23 Vreg 24 Vdd Function input 0 port A input 1 port A input 2 port A input 3 port A input / output 0 port B input / output 1 port B input / output 2 port B input / output 3 port B test input terminal RC external resistor RC output frequency negative power supply terminal strobe / reset status input / output 0 port C input / output 1 port C input / output 2 port C input / output 3 port C input / output 0 port D input / output 1 port D input / output 2 port D input / output 3 port D reset terminal internal voltage regulator positive power supply terminal Remarks interrupt request; interrupt request; interrupt request; interrupt request; buzzer output tvar 1 tvar 2 tvar 3 event counter input
for EM test purpose only typically 120kOhm - 330kOhm connect it at Vss - Ground C reset state + port B, C, D, write interrupt request interrupt request interrupt request interrupt request SWB Serial Clock Output SWB Serial Data Output
Active high (internal pull-down) Needs typ. 100nF capacitor tw. Vss
Figure 3.Typical Configuration
*
RCin node is hi impedance node and the connection towards Rext to fix the frequency should be as short as possible. Treat this node as Quartz node.
For Vdd less then 2.0V it is recommended that Vdd is connected directly to Vreg For Vdd>2.2V then the configuration shown in Fig.3 should be used.
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
4
www.emmicroelectronic.com
EM6605
1.Operating modes
The EM6605 has two low power dissipation modes: STANDBY and SLEEP. Figure 4 is a transition diagram for these modes.
Figure 4.Mode Transition diagram
1.1.STANDBY Mode
Executing a HALT instruction puts the EM6605 into STANDBY mode. The voltage regulator, oscillator, Watchdog timer, interrupts and timer/event counter are operating. However, the CPU stops since the clock related to instruction execution stops. Registers, RAM, and I/O pins retain their states prior to STANDBY mode. STANDBY is cancelled by a RESET or an Interrupt request if enabled. Table 2 : shows the state of the EM6605 functions in STANDBY and SLEEP modes. Table 2.StandBy and Sleep Activities FUNCTION Oscillator Instruction Execution Registers and Flags Interrupt Functions RAM Timer/Counter Watchdog I/O pins Supply VLD Reset pin STANDBY Active Stopped Retained Active Retained Active Active Active Stopped Active SLEEP Stopped Stopped Reset Stopped Retained Stopped Stopped High-Z or Retained Stopped Active
1.2.SLEEP Mode
Writing to the SLEEP bit in the IntRq register puts the EM6605 in SLEEP mode. The oscillator stops and most functions of the EM6605 are inactive. To be able to write the SLEEP bit, the SLmask bit must first be set to 1. In SLEEP mode only the voltage regulator and RESET input are active. The RAM data integrity is maintained. SLEEP mode may be cancelled only by a RESET at the terminal pin of the EM6605. The RESET must be high for at least 2sec.
Due to the cold start characteristics of the oscillator, waking up from SLEEP mode may take some time to guarantee that the oscillator has started correctly. During this time the circuit is in RESET 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 one can therefore determine if the EM6605 was powered up (SLmask = 0), or woken from SLEEP mode (SLmask = 1).
2.Power Supply
The EM6605 is supplied by a single external power supply between Vdd and Vss, the circuit reference being at Vss (ground). A built-in voltage regulator generates Vreg providing regulated voltage for the oscillator and internal logic. Output drivers are supplied directly from the external supply Vdd. A typical connection configuration is shown in Figure 3.
For Vdd less then 2.0V it is recommended that Vdd is connected directly to Vreg For Vdd>2.2V then the configuration shown in Fig.3 should be used.
03/01 REV. C/441
Copyright 2002, EM Microelectronic-Marin SA
5
www.emmicroelectronic.com
EM6605
3. Reset
To initialise the EM6605, a system RESET must be executed. There are four methods of doing this: (1) (2) (3) (4) Initial RESET from the oscillation detection circuit. External RESET from the RESET PIN. External RESET by simultaneous high input to terminals PA0..PA3. (Combinations defined by metal option) Watchdog RESET (software option).
During any of these RESET's the STB/RST output pin is high. Figure 5.System reset generation
3.1.Oscillation detection circuit
At power on, the built-in voltage regulator starts to follow the supply voltage until Vdd becomes higher than Vreg. Since it is Vreg which supplies the oscillator and this needs time to stabilise, Power-On-Reset with the oscillation detection circuit therefore counts the first 64 or 128 oscillator clocks after power-on and holds the system in RESET. The system will consequently remain in RESET during Cold Start time - tCoSt (see table 6) for at least 2msec or 4msec second after power up from the 32kHz clock (*f1) - see Table 6 for frequencies. After power up the Analogue Watchdog circuit monitors the oscillator. If it stops for any reason other then SLEEP mode, then a RESET is generated and the STB/RES pin is driven high.
3.2.Reset Pin
During active or STANDBY mode the RESET terminal has a debouncer to reject noise and therefore must be active high for at least 2ms = tdebS / 16ms = tdebL (*f1) (CLK = 32kHz) - software selectable by DebCK in CIRQD register. (see / Table 32) At power on, or when cancelling SLEEP mode, the debouncer is not active and so RESET must satisfy the filter time constant (typ. 1sec) such that the RESET must be active high for at least 2sec.
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
6
www.emmicroelectronic.com
EM6605
3.3.Input port (PA0..PA3) RESET
With a mask option it is possible to choose from four PortA reset combinations. The selected ports must be simultaneously high for at least 2ms = tdebS / 16ms = tdebL (*f1) (CLK = 32kHz) due to the presence of debouncers. Note also, that RESET with port A is not possible during SLEEP mode. Below are the combinations of Port A (PA0..PA3) inputs which can be used to generate a RESET. They can be selected by metal PortA RESET mask option described in chapter 14. Table 3.PortA Inputs RESET options Option A Option B Option C Option D Function no inputs RESET RESET = PA0 * PA1 RESET = PA0 * PA1 * PA2 RESET = PA0 * PA1 * PA2 * PA3 Opt. Code RA0 RA1 RA2 RA3
3.4. Watchdog Timer RESET
The Watchdog Timer RESET is a software option and if used it will generate a RESET if it is not cleared. See section 5. Watchdog timer for details. Table 4.Watchdog-Timer Option Watchdog Function Without Watchdog Time-out reset With Watchdog Time-out reset NoWD bit in Option register 1 0
3.5.CPU State after RESET
RESET initialises the CPU as shown in the Table below. Table 5.Initial Value After RESET name Program counter 0 Program counter 1 Program counter 2 stack pointer index register Carry flag Zero flag HALT Instruction register periphery registers bits 12 12 12 2 7 1 1 1 16 4 symbol PC0 PC1 PC2 SP IX CY Z HALT IR initial value $000 (as a result of Jump 0) undefined undefined SP(0) selected undefined undefined undefined 0 Jump 0 see peripheral memory map
03/01 REV. C/441
Copyright 2002, EM Microelectronic-Marin SA
7
www.emmicroelectronic.com
EM6605
4.Oscillator
A built-in RC oscillator circuit generates the system operating clock ck[16] for the CPU and peripheral circuits with the help of an externally connected resistor (between RCin and Vss) which determins the frequency and a capacitor for better frequency stability (refer also to chapter 16.2). The oscillator circuit is supplied by the regulated voltage, Vreg. In SLEEP mode the oscillator is stopped. NOTE: Because the frequency can be selected by the user with an external resistor in a range from 30kHz - 130kHz (LF range) or 100kHz - 330kHz (HF range) (LF or HF range selected by metal option, refer to chapter 14) there is a table of corresponding frequencies for 3 different system clock frequencies. From now on besides each freq. name ck[x] there will be also an example for 32 768 Hz system clock marked by (*f1) to indicate first - lowest frequency. Table 6. Prescaler clock name definitions and frequency examples function system clock sys. clock / 2 sys. clock / 4 sys. clock / 8 sys. clock / 16 sys. clock / 32 sys. clock / 64 sys. clock / 128 sys. clock / 256 sys. clock / 512 sys. clock / 1024 sys. clock / 2048 sys. clock / 4096 sys. clock / 8192 sys. clock / 16384 sys. clock / 32768 debouncer - long debouncer - short cold start delay 1st buzzer freq. 2nd buzzer freq. 3rd buzzer freq. Name ck[16] ck[15] ck[14] ck[13] ck[12] ck[11] ck[10] ck[9] ck[8] ck[7] ck[6] ck[5] ck[4] ck[3] ck[2] ck[1] tdebL tdebS tCoSt ck[buz1] ck[buz2] ck[buz3] frequency 1 (*f1) frequency 2 (*f2) frequency 3 (*f3) 32 768 Hz 131 072 Hz 327 680 Hz 16 348 Hz 65 536 Hz 163 480 Hz 8 192 Hz 32 768 Hz 81 920 Hz 4 096 Hz 16 348 Hz 40 960 Hz 2 048 Hz 8 192 Hz 20 480 Hz 1 024 Hz 4 096 Hz 10 240 Hz 512 Hz 2 048 Hz 5 120 Hz 256 Hz 1 024 Hz 2 560 Hz 128 Hz 512 Hz 1 280 Hz 64 Hz 256 Hz 640 Hz 32 Hz 128 Hz 320 Hz 16 Hz 64 Hz 160 Hz 8 Hz 32 Hz 80 Hz 4 Hz 16 Hz 40 Hz 2 Hz 8 Hz 20 Hz 1 Hz 4 Hz 10 Hz 16 msec 4 msec 1.6 msec 2 msec 0.5 msec 0.2 msec ~ 2 msec ~ 1 msec ~ 0.7 msec 1 024 Hz 4 096 / *512 Hz 10 240/ *1 280 Hz 2 048 Hz 8 192 / *1 024 Hz 20 480/ *2 560 Hz 2 667 Hz 10 667 Hz 26 667 Hz
buzzer frequencies for Hi frequency system clock have metal option
4.1.Prescaler
The input to the prescaler is the system clock signal. The prescaler consists of a fifteen element divider chain which delivers clock signals for the peripheral circuits such as the timer/counter, buzzer, I/O debouncers and edge detectors, as well as generating prescaler interrupts. Table 7.Prescaler interrupt source Interrupt frequency mask(no interrupt) ck[1] (1Hz *f1) ck[4] (8Hz *f1) ck[6] (32Hz *f1) PSF1 0 0 1 1 PSF0 0 1 0 1
The frequency of prescaler interrupts is software selectable, as shown in Table 7
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
8
www.emmicroelectronic.com
EM6605
Table 8.Prescaler control register - PRESC Bit 3 2 1 0 Name MTim PRST PSF1 PSF0 Reset 0 0 0 R/W R/W R/W R/W R/W Description Timer/Counter Interrupt Mask Prescaler reset Prescaler Interrupt select 1 Prescaler Interrupt select 0
5. Watchdog timer
If for any reason the CPU crashes, then the watchdog timer can detect this situation and output a system reset signal. This function can be used to detect program overrun. For normal operation the watchdog timer must be reset periodically by software at least once every three seconds (*f1) (CLK = 32kHz) or a system reset signal is generated to CPU and periphery. The watchdog is active during STANDBY. The watchdog reset function can be deactivated by setting the NoWD bit to 1 in the Option register. In worst case because of prescaler reset function WD time-out can come down to 2 seconds. The watchdog timer is reset by writing 1 to the WDRST bit. Writing 0 to WDRST has no effect. The watchdog timer also operates in STANDBY mode. It is therefore necessary to reset it if this mode continues for more than three seconds (*f1). One method of doing this is to reset it with the prescaler ck[1] interrupt (1Hz *f1 such, that the watchdog is reset every second). Table 9.Watchdog register - WD Bit 3 2 1 0 Name WDRST Slmask WD1 WD0 Reset 0 0 R/W R/W R/W R R Description Watchdog timer reset SLEEP mask bit WD Timer data ck[1]/4 (1/4Hz *f1) WD Timer data ck[1]/2 (1/2 Hz *f1)
03/01 REV. C/441
Copyright 2002, EM Microelectronic-Marin SA
9
www.emmicroelectronic.com
EM6605
6.INPUT and OUTPUT ports
The EM6605 has four independent 4-bit ports, as shown in Table 9. Table 10.Input / Output Ports Overview Port PA(0:3) Mode Input Mask Options Pull-Up/Down (*) Debouncer (*) + or - IRQ edge RESET combination Nch open drain output Pull-Up/Down on input Pull-Up/Down (*) + or - IRQ edge (*) Debouncer Nch open drain output Pull-Up/Down on Input Nch open drain output Function(s) Input Interrupt Software Test Variable PA3 input for event counter RESET input(s) Input or Output PB0 for buzzer output Input or Output Port Interrupt Input or Output Port PD0 -SWB serial clock output PD1 -SWB serial data output
PB(0:3) PC(0:3)
Individual input or output Port input or output
PD(0:3)
Port input or Output
(*) Some options can be set also by Option Register . Table 11.Option register - Option Bit 3 2 1 0 Name IRQedgeR debPCN debPAN NoWD Reset 0 0 0 0 R/W R/W R/W R/W R/W Description Rising edge interrupt for portA&C PortC without/with debouncer PortA without/with debouncer WatchDog timer Off
IRQedgeR - Valid for both PortA and PortC input interrupt edge. At RESET it is cleared to 0 selecting the falling edge at the input as the interrupt source. When set to 1 the rising edge is active. (Option 2 on Fig.6 and Fig.8) debPAN - by default after reset it is 0 enabling the debouncers on whole portA. Writing it to 1 removes the debouncers from the PortA. (Option 2 on Fig.6) debPCN - by default after reset it is 0 enabling the debouncers on whole portC. Writing it to 1 removes the debouncers from the PortC. (Option 2 on Fig.8) NoWD - by default after reset it is 0 = Watchdog timer is On. Writing it to 1 removes the WatchDog timer.
6.1.PortA
The EM6605 has one four 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 read directly from the pin into a register. On inputs PA0, PA1, PA2 and PA3 debouncers for noise rejection are added by default. For interrupt generation, one can choose between either direct input or debounced input. With the debPAN bit at 0 in the Option register all the PortA inputs are debounced and with the debPAN bit at 1 none of the PortA inputs are debounced. With the debouncer selected the input must be stable during two rising edges of ck[11] or ck[8] clocks (1024Hz or 128Hz (*f1) at 32kHz). This corresponds to a worst case of tdebS or tdebL shown in table 6. PortA terminals PA0, PA1 and PA2 are also used as input conditions for conditional software branches as shown on the next page:
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
10
www.emmicroelectronic.com
EM6605
Debounced PA0 is connected to CPU TestVar1 Debounced PA1 is connected to CPU TestVar2 Debounced PA2 is connected to CPU TestVar3 Figure 6.Port A
Additionally, PA3 can also be used as the input terminal for the event counter (see section 8). The input port PA(0:3) also has individually selectable interrupts. Each port has its own interrupt mask bit in the MPortA register. When an interrupt occurs inspection of the IRQpA and the IntRq registers allows the source of the interrupt to be identified. The IRQpA register is automatically cleared by a RESET, by reading the register. Reading IRQpA register also clears the INTPA flag in IntRq register. At initial RESET the MPortA is set to 0, thus disabling any input interrupts. See also section 9 for further details about the interrupt controller.
6.2.PortA registers
Table 12.PortA input status register - PortA Bit 3 2 1 0 Name PA3 PA2 PA1 PA0 Reset R/W R R R R Description PA3 input status PA2 input status PA1 input status PA0 input status
Table 13.PortA Interrupt request register - IRQpA Bit 3 2 1 0 Name IRQpa3 IRQpa2 IRQpa1 IRQpa0 Reset 0 0 0 0 R/W R R R R Description input PA3 interrupt request flag input PA2 interrupt request flag input PA1 interrupt request flag input PA0 interrupt request flag
Table 14.PortA interrupt mask register - MportA Bit 3 2 1 0 Name MPA3 MPA2 MPA1 MPA0 Reset 0 0 0 0 R/W R/W R/W R/W R/W Description interrupt mask for input PA3 interrupt mask for input PA2 interrupt mask for input PA1 interrupt mask for input PA0
03/01 REV. C/441
Copyright 2002, EM Microelectronic-Marin SA
11
www.emmicroelectronic.com
EM6605
6.3.PortB
The EM6605 has one four bit general purpose I/O port. Each bit PB(0:3) can be separately configured by software to be either input or output by writing to the corresponding bit of the CIOPortB control register. The PortB register is used to read data when in input mode and to write data when in output mode. On each terminal Pull-Up/Down resistor can be selected by metal option when input. Input mode is set by writing 0 to the corresponding bit in the CIOPortB register. This results in a high impedance state with the status of the pin being read from register PortB. Output mode is set by writing 1 to the corresponding bit in the CIOPortB register. Consequently the output terminal follows the status of the bits in the PortB register. At initial RESET the CIOPortB register is set to 0, thus setting the port to an input. Additionally, PB0 can also be used as a three tone buzzer output. For details see section 7.
6.4.PortB registers
Table 15.PortB input status register - PortB Bit 3 2 1 0 Name PB3 PB2 PB1 PB0 Reset R/W R/W R /W R/W R /W Description PB3 I/O data PB2 I/O data PB1 I/O data PB0 I/O data
Table 16.PortB Input/Output control register - CIOportB Bit 3 2 1 0 Name CIOPB3 CIOPB2 CIOPB1 CIOPB 0 Reset 0 0 0 0 R/W R/W R/W R/W R/W Description PB3 Input/Output select PB2 Input/Output select PB1 Input/Output select PB0 Input/Output select
Figure 7.Port B
If metal mask option 5Y (Input blocked when Output) is used and the port is declared as the Output (CIOPortB = 1111b) the real port information cannot be read directly. In this case no direct logic operations (like AND PortB) on Output ports are possible. This logic operation can be made if an image of the Port saved in the RAM which we store after on the output port. This is valid for PortB, PortC and PortD when declared as output and the metal Option 5Y is used. In the case of metal option 5N selected direct logic operations on output ports are possible. If metal mask option 6Y (Output Hi-Z in SLEEP mode) the active Output will go Tristate when the circuit goes into SLEEP mode. In the case of 6N output stay active also in the SLEEP mode.
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
12
www.emmicroelectronic.com
EM6605
6.5.PortC
This port can be configured as either input or output (not bitwise selectable). When in input mode it implements the identical interrupt functions as PortA. The PortC register is used to read data when input mode and to write data when in output mode. Input mode is set by writing 0 to the I/O control bit CIOPC in register CPIOB and the input becomes high impedance. On each terminal Pull-Up/Down resistor can be selected by metal option which are active only when selected as input. The output mode is selected by writing 1 to CIOPC bit, and the terminal follows the bits in the PortC register. When PortC is used as an input, interrupt functions as described for PortA can be enabled. Input to the interrupt logic can be direct or via a debounced input. With the debPCN bit at 0 in the Option register all the PortC inputs are debounced and with the debPCN bit at 1 none of the PortC inputs are debounced. MPortC is the interrupt mask register for this port and IRQpC is the portC interrupt request register. See also section 9. By writing the PA&C bit in the CPIOB data register it is possible to combine PortA and PortC interrupt requests (logic AND) as shown in Table 16. At initial reset, the CPIOC control register is set to 0, and the port is in input mode. The MPortC register is also set to 0, therefore disabling interrupts. Table 17.Ports A&C Interrupt Request IRQPA 0 0 1 1 0 1 1 IRQPC 0 1 0 1 1 0 1 PA&C X 0 0 0 1 1 1 Request to CPU No Yes Yes Yes No No Yes
6.6.PortC registers
Table 18.PortC input/output register - PortC Bit 3 2 1 0 Name PC3 PC2 PC1 PC0 Reset R/W R/W R /W R/W R /W Description PC3 I/O data PC2 I/O data PC1 I/O data PC0 I/O data
Table 19.PortC Interrupt request register - IRQpC Bit 3 2 1 0 Name IRQpc3 IRQpc2 IRQpc1 IRQpc0 Reset 0 0 0 0 R/W R R R R Description input PC3 interrupt request flag input PC2 interrupt request flag input PC1 interrupt request flag input PC0 interrupt request flag
Table 20.PortC interrupt mask register - MportC Bit 3 2 1 0 Name MPC3 MPC2 MPC1 MPC0 Reset 0 0 0 0 R/W R/W R/W R/W R/W Description interrupt mask for input PC3 interrupt mask for input PC2 interrupt mask for input PC1 interrupt mask for input PC0
03/01 REV. C/441
Copyright 2002, EM Microelectronic-Marin SA
13
www.emmicroelectronic.com
EM6605
Figure 8.Port C
For PortC and PortD metal options 5Y/N and 6Y/N are Port-wise (for the whole port). For PortB these options are bit-wise (every terminal can have individual mask set-up for the options 5Y/N and 6Y/N ).
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
14
www.emmicroelectronic.com
EM6605
6.7.PortD
The EM6605 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 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. On each terminal Pull-Up/Down resistor can be selected by metal option which are active only when selected as input. Output mode is set by writing 1 to the control bit CIOPD. Consequently, the terminal follows the status of the bits in the PortD register. If Serial Write Buffer function is enabled PD0 and PD1 terminals of PortD output serial clock and serial data respectively. For details see 11.0 Serial Write Buffer.
6.8.PortD registers
Table 21.PortD Input/Output register - PortD Bit 3 2 1 0 Name PD3 PD2 PD1 PD0 Reset 0 0 0 0 R/W R/W R/W R/W R/W Description PD3 I/O data PD2 I/O data PD1 I/O data PD0 I/O data
Table 22.Ports control register - CPIOB Bit 3 2 1 0 Name CIOPD CIOPC PA&C Reset 0 0 0 R/W R/W R/W R/W R/W Description not used I/O PortD select I/O PortC select Logical AND of IRQ's from PortA & PortC
Figure 9.Port D
03/01 REV. C/441
Copyright 2002, EM Microelectronic-Marin SA
15
www.emmicroelectronic.com
EM6605
7.BUZZER
The EM6605 has one 50% duty cycle output with three different frequencies which can be used to drive a buzzer. I/O terminal PB0 is used for this function when the buzzer is enabled by setting the BUen bit to 1 . Table 23 below shows how to select the frequency by writing to the BCF1 and BCF0 control flags in the BEEP register. After writing to the buzzer control register BEEP, the chosen frequency (or silence) is selected immediately. With the BUen bit set to 1, the selected frequency is output at PB0. When the BUen is set to 0 PB0 is used as a normal I/O terminal of PortB. The BUen bit has a higher priority over the I/O control bit CIOPB0 in the CIOPortB register.
Table 23.Buzzer frequency selection Tone frequency silence ck[buz1] = ck[11] or ck[8] by metal option (1024 Hz *f1) ck[buz2] = ck[12] or ck[10] by metal option (2048 Hz *f1) ck[buz3] (2667 Hz *f1) BCF1 0 0 1 1 BCF0 0 1 0 1
7.1.Buzzer Register
Table 24.Buzzer control register - BEEP Bit 3 2 1 0 Name TimEn BUen BCF1 BCF0 Reset 0 0 0 0 R/W R/W R/W R/W R/W Description Timer/counter enable Buzzer enable Buzzer Frequency control Buzzer Frequency control
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
16
www.emmicroelectronic.com
EM6605
8.Timer/Event Counter
The EM6605 has a built-in 8 bit 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 INTTE is set to 1. If 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. If used as an event counter, pulses from the PA3 terminal are input to the event counter. See figure 10 and tables 29 and 30 on the next page for PA3 source selection (debounced or not, Rising/Falling edge). By default rising and debounced PA3 input is selected. The timer control register TimCtr selects the auto-reload function and input clock source. At initial RESET this bit is cleared to 0 selecting no auto-reload. To enable auto-reload TimAuto must be set to 1. The timer/counter can be enabled or disabled by writing to the TIMen control bit in the BEEP register. At initial RESET it is cleared to 0. When used as timer, it is initialised according to the data written into the timer load/status registers LTimLS (low 4 bits) and HTimLS (high four bits). The timer starts to count down as soon as the LTimLS value is written. When loading the timer/event counter registers the correct order must be respected: First, write either the control register TimCtr or the high data nibble HTimLS. The last register written should be the low data nibble LTimLS. During count down, the timer can always be reloaded with a new value, but the high four bits will only be accepted during the write of the low four bits. In the case of the auto-reload function, the timer is initialised with the value of the load registers LTimLS and HTimLS. Counting with the auto-reload function is only enabled during the write to the low four bits, (writing TEauto to 1 does not start the timer counting down with the last value in the timer load registers but it waits until a new LTimLS load). The timer counting to $00 generates a timer interrupt event and reloads the registers before starting to count down again. To stop the timer at any time, a write of $00 can be made to the timer load registers, this sets the TimAuto flag to 0. If the timer is stopped by writing the TimEn bit to 0, the timer status can be read. The current timer status can be always obtained by reading the timer registers LTimLS and HTimLS. For proper operation read ordering should be respected such that the first read should be of the LTimLS register followed by the HTimLS register. Example: To have continuos 1sec timer IRQ with 128Hz one has to write 128dec (80hex) in Timer registers with auto-reload. Using the timer/counter as the event counter allows several possibilities: 1.) Firstly, load the number of PA3 input edges expected into the load registers and then generate an interrupt request when counter reaches $00. 2.) The second is to write timer/counter to $FF, then select the event counter mode, and lastly enable the event counter by setting the TIMen bit to 1, which starts the count. Because the counter counts down, a binary complement has to be done in order to get the number of events at the PA3 input. 3) Another option is to use the timer/counter in conjunction with the prescaler interrupt, such that it is possible to count the number of the events during two consecutive ck[6], ck[4], ck[1], (32Hz, 8Hz or 1Hz *f1) prescaler interrupts. Figure 10.Timer / Event Counter
03/01 REV. C/441
Copyright 2002, EM Microelectronic-Marin SA
17
www.emmicroelectronic.com
EM6605
Table 25 shows the selection of inputs to the Timer/Event counter Table 25.Timer Clock Selection TEC2 0 0 0 0 1 1 1 1 TEC1 0 0 1 1 0 0 1 1 TEC0 0 1 0 1 0 1 0 1 Timer/Counter clock source not active ck[12] from prescaler; ( 2048 Hz *f1) ck[10] from prescaler; ( 512 Hz *f1) ck[8] from prescaler; ( 128 Hz *f1) ck[6] from prescaler; ( 32 Hz *f1) ck[4] from prescaler; ( 8 Hz *f1) ck[1] from prescaler; ( 1 Hz *f1) PA3 input terminal (see tables 29 and 30)
8.1.Timer/Counter registers
Table 26.Timer control register - TimCtr Bit 3 2 1 0 Name TimAuto TEC2 TEC1 TEC0 Reset 0 0 0 0 R/W R/W R/W R/W R/W Description Timer/Counter AUTO reload Timer/Counter mode 2 Timer/Counter mode 1 Timer/Counter mode 0
Table 27.LOW Timer Load/Status register - LTimLS (4 low bits) Bit 3 2 1 0 Name TL3/TS3 TL2/TS2 TL1/TS1 TL0/TS0 Reset 0 0 0 0 R/W R/W R/W R/W R/W Description Timer load/status bit 3 Timer load/status bit 2 Timer load/status bit 1 Timer load/status bit 0
Table 28.HIGH Timer Load/Status register - HTimLS (4 high bits) Bit 3 2 1 0 Name TL7/TS7 TL6/TS6 TL5/TS5 TL4/TS4 Reset 0 0 0 0 R/W R/W R/W R/W R/W Description Timer load/status bit 7 Timer load/status bit 6 Timer load/status bit 5 Timer load/status bit 4
Table 29.PA3 counter input selection register - PA3cnt bit 3 2 1 0 Name PA3cntin Reset 0 R/W R/W Description empty empty empty PA0 input status
Table 30.PA3 counter input selection PA3cntin debPAN 0 X 1 0 1 0 1 1 1 1 X ( Don't care) IRQedgeR X 0 1 0 1 Counter source PA3 debounced rising edge PA3 debounced falling edge PA3 debounced rising edge PA3 not debounced falling edge PA3 not debounced rising edge
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
18
www.emmicroelectronic.com
EM6605
9.Interrupt Controller
The EM6605 has six different interrupt sources, each of which is maskable. These are: External (3) - PortA PA3..PA0 inputs - PortC PC3..PC0 inputs - combined AND of PortA * PortC Internal (3) - Prescaler ck[6] / ck[4] / ck[1] (32Hz / 8Hz / 1Hz *f1) - Timer/Event counter - SWB in interactive mode For an interrupt to the CPU to be generated, the interrupt request flag must be set (INTxx), and the corresponding mask register bit must be set to 1 (Mxx), the general interrupt enable flag (INTEN) must also be set to 1. The interrupt request can be masked by the corresponding interrupt mask registers MPortx for each input interrupt and by PSF0 ,PSF1 and MTim for internal interrupts. At initial reset the interrupt mask bits are set to 0. INTEN bit is set automatically to 1 by Halt Instruction except when starting the Automatic SWB transfer (see Serial Write Buffer (SWB) chapter 11) The CPU is interrupted when one of the interrupt request flags is set to 1 in register IntRq and the INTEN bit is enabled in the control register CIRQD. INTTE and INTPR flags are cleared automatically after a read of the IntRq register. The other two interrupt flags INTPA (IRQ from PortA) and INTPC (IRQ from PortC) in IntRq register are cleared only after reading the corresponding Port interrupt request registers IRQpA and IRQpC. At the Power on reset and in SLEEP mode the INTEN bit is also set to 0 therefore not allowing any interrupt requests to the CPU until it is set to 1 by software. Since the CPU has only one interrupt subroutine and because the IntRq register is cleared after reading, the CPU does not miss any of the interrupt requests which come during the interrupt service routine. If any occur during this time a new interrupt will be generated as soon as the CPU comes out of the current interrupt subroutine. Interrupt priority can be controlled through software by deciding which flag in the IntRq register should be serviced first. For SWB interactive mode interrupt see section 11.0 Serial Write Buffer.
9.1.Interrupt control registers
Table 31.Main Interrupt request register - IntRq (Read Only)* Bit 3 2 1 0 2 Name INTPR INTTE INTPC INTPA SLEEP Reset 0 0 0 0 0 R/W R R R R W* Description Prescaler interrupt request Timer/counter interrupt request PortC Interrupt request PortA Interrupt request SLEEP mode flag
* Write bit 2 only if Slmask=1 If the SLEEP flag is written with 1 then the EM6603 goes immediately into SLEEP mode (SLmask was at 1).
03/01 REV. C/441
Copyright 2002, EM Microelectronic-Marin SA
19
www.emmicroelectronic.com
EM6605
Table 32.register - CIRQD Bit Name 3 RESERVED 2 RESERVED 1 DebCK 0 INTEN * see table 6 Reset 0 0 R/W R/W R/W Description Debouncer clock select (0=tdebS : 1=tdebL) * Enable interrupt to CPU (1=enabled)
Figure 11.Interrupt Request generation
IRQ mask bit which can be written to 0 or 1 (1 to enable an interrupt) interrupt request flag which is set on the input rising edge
Timer IRQ flag INTTE and prescaler IRQ flag INTPR arrive independent of their mask bits not to loose any timing information. But the processor will be interrupted only with mask set to 1.
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
20
www.emmicroelectronic.com
EM6605
10.Supply Voltage Level Detector (SVLD)
The EM6605 has a software configurable built-in supply voltage level detector. Three levels can be defined between VDDmin + 100mV and VDDmax - 1000mV in steps of 100mV. During SLEEP mode this function is disabled. The required voltage compare level is selected by writing the bits VLC1 and VLC2 in the SVLD control register which also activates the compare measurement. Since the measurement is not immediate the busy flag remains high during the measurement and is automatically cleared low when the measurement is finished. The result is indicated by inspection of the VLDR flag. If the result is 0 then the voltage level is higher than the selected compare level. And if 1 is lower than the compare level. The result VLDR of the last measurement remains until the new one is started. The start of a new measurement resets the VLDR (SVLD result bit) to 0. During the SVLD operation power consumption increases by approximately 3 A during one period of ck[9] (~3.9msec with *f1). The measurement internally starts with the rising ck[9] edge following the SVLD test command. The additional SVLD consumption stops after the falling edge of the ck[9] internal clock. Table 33 lists the possible voltage levels Table 33.SVLD level selection Evaluation voltage not active VL1 (low level) VL2 VL3 (high level) VLC1 0 0 1 1 VLC0 0 1 0 1
10.1.SVLD register
Table 34.SVLD control register - SVLD Bit 3 2 1 0 Name VLDR busy VLC1 VLC0 Reset 0 0 0 0 R/W R R R/W R/W Description SVLD result (0=higher 1=lower) measurement in progress SVLD level control 1 SVLD level control 0
03/01 REV. C/441
Copyright 2002, EM Microelectronic-Marin SA
21
www.emmicroelectronic.com
EM6605
11.Serial (Output) Write Buffer - SWB
The EM6605 has 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 357. 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 "Transmission finished" in automatic send mode or "SWBbuffer empty" in interactive send mode. In interactive mode, TestVar[3] is equivalent to the interrupt request flags stored in IntRq register : it permits to recognize the interrupt source. (See also the interrupt handling section 9.Interrupt Controller for further information). To serve the "SWBbuffer empty " interrupt request, one only has to make a conditional jump on TestVar[3]. The Serial Write Buffer output clock frequency is selected by bits ClkSWB0 and ClkSWB1 in the ClkSWB register. The possible values are 1kHz (default), 2kHz, 8kHz or 16kHz and are shown in Table 35. Table 36.SWB clock selection SWB clock output ck[11]; (= 1 024 Hz *f1) ck[12]; (= 2 048 Hz *f1) ck[14]; (= 8 192 Hz *f1) ck[15]; (= 16 348 Hz *f1) CkSWB1 0 0 1 1 CkSWB0 0 1 0 1
Table 376.SWB clock selection register - ClkSWB Bit 3 2 1 0 Name V03 CkSWB1 CkSWB0 Reset 0 0 0 0 R/W R/W R R/W R/W Description Serial Write buffer selection RESERVED - read 0 SWB clock selector 1 SWB clock selector 0
Table 387.PortD status PortD status NORMAL NORMAL NORMAL SWB CIOPD 0 0 1 1 V03 0 1 0 1 PD0 input input output PD0 serial clock Out PD1 input input output PD1 SWB serial data PD2 input input output PD2 output PD2 PD3 input input output PD3 output PD3
When the SWB is enabled by setting the bit V03 TestVar[3], which is used to make conditional jumps, is reassigned to the SWB and indicates either "SWBbuffer empty " interrupt or "Transmission finished" . After Power-on-RESET V03 is cleared at "0" and TestVar[3] is consequently assigned to PA2 input terminal. The SWB data is output on the rising edge of the clock. Consequently, on the receiver side the serial data can be evaluated on falling edge of the serial clock edge.
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
22
www.emmicroelectronic.com
EM6605
Figure 12.Serial write buffer
Table 39.SWB buffer register - SWbuff Bit 3 2 1 0 Name Buff3 Buff2 Buff1 Buff0 Reset 1 1 1 1 R/W R/W R/W R/W R/W Description SWB buffer D3 SWB buffer D2 SWB buffer D1 SWB buffer D0
Table 40.SWB Low size register - LowSWB Bit 3 2 1 0 Name Size[3] Size[2] Size[1] Size[0] Reset 0 0 0 0 R/W R/W R/W R/W R/W Description Auto mode buffer size bit3 Auto mode buffer size bit2 Auto mode buffer size bit1 Auto mode buffer size bit0
Table 41.SWB High size register - HighSWB Bit 3 2 1 0 Name AutoSWB StSWB Size[5] Size[4] Reset 0 0 0 0 R/W R/W R/W R/W R/W Description SWB Automatic mode select SWB start interactive mode Auto mode buffer size bit5 Auto mode buffer size bit4
The SWB has two operational modes, automatic mode and interactive mode.
03/01 REV. C/441
Copyright 2001, EM Microelectronic-Marin SA
23
www.emmicroelectronic.com
EM6605
11.1.SWB Automatic send mode
Automatic mode enables a buffer on a predefined length to be sent at high transmission speeds up to ck[15] (16khz *f1). In this mode user prepares all the data to be sent (minimum 8 bits, maximum 256 bits) in the RAM. The user then selects the clock speed, sets the number of data nibbles to be sent, selects automatic transmission mode (AutoSWB bit set to 1) and enters STANDBY mode by executing a HALT instruction. Once the HALT instruction is activated the SWB peripheral module sends the data in register SWBuff followed by the data in the RAM starting at address 00 up to the address specified by the bits size[5:0] located in the LowSWB, HighSWB registers. During automatic transmission the general INTEN bit is disabled automatically to prevent other Interrupts to reset the standby mode. At the end of automatic transmission EM6603 leaves standby mode (INTEN is automatically Enabled) and sets TestVar[3] high. TestVar[3] = 1 is signaling SWB transmission is terminated. As soon as SWBAuto is high, the general IntEn flag is disabled until the SWBAuto goes back low. After automatic SWB transmission INTEN bit becomes active high. Although set to 1 via the Halt instruction the bit INTEN is disabled throughout the whole SWB automatic transmission. It resumes to 1 at the end of transmission. The data to be sent must be prepared in the following order: First nibble to be sent must be written in the SWBuff register . The other nibbles must be loaded in the RAM from address 0 (second nibble at adr.0, third at adr.1,...) up to the address with last nibble of data to be send = "size" address. Max. address space for SWB is 3E ("size" 3E hex) what gives with SWBuff up to 64 nibbles (256 bits) of possible data to be sent. The minimum possible data length we can send in Automatic SWB mode is 8 bits when the last RAM address to be sent is 00 ("size" = 00) Once data are ready in the RAM and in the SWBuff, user has to load the "size" (adr. of the last nibble to be send bits size[5:0]) into the 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 EM6603 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. Figure 13.Automatic Serial Write Buffer transmission
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
24
www.emmicroelectronic.com
EM6605
The processor now starts to execute the first instruction placed after the HALT instruction (for instance write of SWBuff register to clear TESTvar[3]), except if there was a IRQ during the serial transmission. In this case the CPU will go directly in the interrupt routine to serve other interrupt sources. TestVar[3] stays high until SWBuff is rewritten. Before starting a second SWB action this bit must be cleared by performing a dummy write on SWBuff address. Because the data in the RAM are still present one can start transmitting the same data once again only by recharging the SWBuff , LowSWB and HighSWB register together with AutoSWB bit and putting the EM6603 in HALT mode will start new transmission.
03/01 REV. C/441
Copyright 2001, EM Microelectronic-Marin SA
25
www.emmicroelectronic.com
EM6605
11.2.SWB Interactive send mode
In interactive SWB mode the reloading of the data transmission register SWBbuff is performed by the application program. This means that it is possible to have an unlimited length transmission data stream. However, since the application program is responsible for reloading the data a continuous data stream can only be achieved at ck[11] or ck[12] (1kHz or 2kHz *1) transmission speeds. For the higher transmission speeds a series of writes must be programmed and the serial output clock will not be continuous. Serial transmission using the interactive mode is detailed in Figure 14. Programming of the SWB in interactive is achieved in the following manner: Select the transmission clock speed using the bits ClkSW0 and ClkSW1 in the ClkSWB register. Load the first nibble of data into the SWB data register SWBbuff Start serial transmission by selecting the bit StSWB in the register HighSWB register. Once the data has been transferred into the serial transmission register a non maskable interrupt (SWBEmpty) is generated and TESTvar[3] goes high. The CPU goes in the interrupt routine, with the JPV3 as first instruction in the routine one can immediately jump to the SWB update routine to load the next nibble to be transmitted into the SWBuff register. If this reload is performed before all the serial data is shifted out then the next nibble is automatically transmitted. This is only possible at the transmission speeds of ck[11] or ck[12] (1kHz or 2kHz *1) due to the number of instructions required to reload the register. At the higher transmission speeds of ck[14] or ck[15] (8khz and 16khz *1) the application must restart the serial transmission by writing the StSWB in the High SWBHigh register after writing the next nibble to the SWBbuff register. Each time the SWBuff register is written the "SWBbuffer empty interrupt" and TestVar[3] are cleared to "0". For proper operation the SWBuff register must be written before the serial clock drops to low during sending the last bit (MSB) of the previous data. Figure 14.Interactive Serial Write Buffer transmission
After loading the last nibble in the SWBbuff register a new interrupt is generated when this data is transferred to an intermediate Shift Register. Precaution must be made in this case because the SWB will give repetitive interrupts until the last data is sent out completely and the STSWB bit goes low automatically. One possibility to overcome this is to check in the 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.
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
26
www.emmicroelectronic.com
EM6605
12.STroBe / RESet Output
The STB/RST output pin is used to indicate the EM6605 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 EM6605 internal RESET condition is indicated by a continuous high level on STB/RES for the period of the RESET.
13.Test at EM - Active Supply Current test
For this purpose, five instructions at the end of the ROM will be added.
Testloop:
STI LDR NXORX JPZ JMP
00H, 0AH 1BH Testloop 00H
To stay in the testloop, these values must be written in the corresponding addresses before jumping in the loop: 1BH: 32H: 6EH: 6FH: 0101b 1010b 0010b 0011b
Free space after last instruction: JMP 00H (0000) Remark: empty space within the program are filled with NOP (FOFF).
14.Metal Mask Options
The following options can be selected at the time of programming the metal mask ROM.
Table 42 buzzer frequecies
description
ck[buz1] ck[buz2] 1st buzzer frequency 2nd buzzer frequency
basic (hi)
reduced (lo)
Put one cross in each line
03/01 REV. C/441
Copyright 2001, EM Microelectronic-Marin SA
27
www.emmicroelectronic.com
EM6605
Table 43 Input/Output Ports
Pull-Up Yes / No Pull-Down Yes / No Nch-open drain Yes / No Input blocked when Output Yes / No Output Hi-Z in SLEEP mode Yes / No
0
1
4
5
*1
6
*2
A0 A1 A2 A3 B0 B1 B2 B3 C0 C1 C2 C3 D0 D1 D2 D3
PA0 input PA1 input PA2 input PA3 input PB0 In/Out PB1 In/Out PB2 In/Out PB3 In/Out PC0 In/Out PC1 In/Out PC2 In/Out PC3 In/Out PD0 In/Out PD1 In/Out PD2 In/Out
PD3 In/Out Put one letter (Y, N, R, F)in each BOX from proposed for the column. *1 Port wise for PortC and PortD (one possibility for the whole port); PortB bit-wise *2 Port-wise for PortC and PortD (one possibility for the whole port); PortB bit-wise Table 44 PortA RESET option - One Option must be selected
NO PortA reset combination PA0 & PA1 logic AND input reset PA0 & PA1 & PA2 logic AND input reset PA0 & PA1 & PA2 & PA3 logic AND input reset
0
1
2
3
RA PortA RESET
Table 45 SVLD levels - See 16.6 DC characteristics -SV Detector Levels - Write typ. value of used levels
typ. VL1 level [V]
VL SVLD level in Volts
typ. VL2 level [V]
typ. VL3 level [V]
Table 46 Frequency range - See Chapter 4 oscillator frequency range section
LF range
RC Oscillator range
HF range
Software name is :
______________.bin, dated ______________
The customer should specify the required options at the time of ordering. A copy of this sheet, as well as the Software ROM characteristic file generated by the assembler (*.STA) should be attached to the order.
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
28
www.emmicroelectronic.com
EM6605
15.Peripheral memory map
The following table shows the peripheral memory map of the EM6605. The address space is between $00 and $7F (Hex). Any addresses not shown can be considered to be reserved. Register add add power write_bits read_bits Remarks name hex dec up value b'3210 Read/Write_bits
RAM 005f LTimLS 60 96 0000 0: TL0 1: TL1 2: TL2 3: TL3 0: TL4 1: TL5 2: TL6 3: TL7 0-95 xxxx 0: D0 1: D1 2: D2 3: D3 0: TS0 1: TS1 2: TS2 3: TS3 0: TS4 1: TS5 2: TS6 3: TS7 0: TEC0 1: TEC1 2: TEC2 3:TimAUTO 0: NoWD 1: debPAN 2: debPCN 3:IRQedgeR 0: PA3cntin 1: 2: 3: 0: CkSWB0 1: CkSWB1 2: 3: V03 0: Buff0 1: Buff1 2: Buff2 3: Buff3 0: size[0] 1: size[1] 2: size[2] 3: size[3] 0: size[4] 1: size[5] 2: StSWB 3:AutoSWB 0: VLC0 1: VLC1 2: busy 3: VLDR 0: INTEN 1: DebCK 2: 3: direct addressing
low nibble of 8bit timer load and status register high nibble of 8bit timer load and status register timer control register with frequency selector option register
HTimLS
61
97
0000
TimCtr
62
98
0000
Option
63
99
0000
PA3cnt
65
101
xxx0
PA3 counter input
ClkSWB
68
104
0000
Clock selector for SWB
SWBuff
69
105
1111
SWB intermediate buffer
LowSWB
6A
106
0000
low nibble to define the size of data to be send in Automatic mode the size of the data to be sent & SWB control voltage level detector control global interrupt enable debouncer clock internally used for INDEX register internally used for INDEX register
HighSWB
6B
107
0000
SVLD
6C
108
0000
0: VLC0 1: VLC1 2: 3: -
CIRQD
6D
109
xx00
Index LOW Index HIGH
6E 6F
110 111
xxxx xxxx
03/01 REV. C/441
Copyright 2001, EM Microelectronic-Marin SA
29
www.emmicroelectronic.com
EM6605
Register name add add hex dec power up value b'3210
0000
write_bits
read_bits
Remarks
Read/Write_bits
0: 1: 2: SLEEP 3: 0: 1: 2: SLmask 3: WDrst 0: INTPA 1: INTPC 2: INTTE 3: INTPR 0: WD0 1: WD1 2: SLmask 3: 0 0: PA0 1: PA1 2: PA2 3: PA3 0: IRQpa0 1: IRQpa1 2: IRQpa2 3: IRQpa3 0: MPA0 1: MPA1 2: MPA2 3: MPA3 0: PB0 1: PB1 2: PB2 3: PB3 0: CIOPB0 1: CIOPB1 2: CIOPB2 3: CIOPB3 0: PC0 1: PC1 2: PC2 3: PC3 0: IRQpc0 1: IRQpc1 2: IRQpc2 3: IRQpc3 0: MPC0 1: MPC1 2: MPC2 3: MPC3 0: PD0 1: PD1 2: PD2 3: PD3 0: PA&C 1: CIOPC 2: CIOPD 3: 0: PSF0 1: PSF1 2: 0 3: MTim 0: BCF0 1: BCF1 2: BUen 3: TimEn ---interrupt requests sleep mode WatchDog timer control and SLEEP mask Port A status
IntRq
70
112
WD
71
113
0000
PortA
72
114
xxxx
IRQpA
73
115
0000
Port A interrupt request
MPortA
74
116
0000
Port A mask
PortB
75
117
xxxx
Port B Input/Output
CIOportB
76
118
0000
Port B Input/Output individual control Port C Input/Output
PortC
77
119
xxxx
IRQpC
78
120
0000
Port C interrupt request
MPortC
79
121
0000
Port C mask
PortD
7A
122
xxxx
Port D Input/Output
CPIOB
7C
124
x000
PortAirq AND PortCirq PortC In/Out PortD In/Out Prescaler control timer mask Buzzer control Timer Enable reserved
PRESC
7D
125
0000
0: PSF0 1: PSF1 2: PRST 3: MTim
BEEP
7E
126
0000
RegTestEM
7F
127
----
----
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
30
www.emmicroelectronic.com
EM6605
16.Measured Electrical Behaviors 16.1. IDD Current
Specially the Stand-By current (IVDDh) depends on the current mirror ratio between the current which goes through an external resistor (IRext) and the current which is used in the internal RC oscillator capacitor (IRCint). Like that we can reduce the power consumption in StandBy mode. This current is approximately equal to: IRext ~ 0.2V / Rext The internal Oscillator capacitor is charged with 1/5,1/4,1/3, or 1/2 of this current. All data here are with ratio IRCint / IRext = 1/5. IVDDa[A] ~ IVDDh + f[kHz]*0.067
[uA ] 28 24 20 16 12 8 4 0 50 100 150 200 250 300 [kHz] I(V DDa) A c tive = f(freq), V DD=3V [uA ] 6 5 4 3 2 1 0 0 50 100 150 200 250 [k Hz ] 300 I(Rext) @ X=1/5 I(V DDh) S tandB y = f(freq), V DD=3V
[uA ] 8.0
I(V DDa) A ctive, V DD=3.0/5.0V ,R=330kOhm
[uA ] 2.8 2.6
I(V DDh) S tandB y, V DD = 3.0/5.0V ,Rext=330k Ohm
5V
7.0 6.0
5V
2.4 2.2 2 3V
3V 5.0 -40 -20 0 20 40 60 [C] 80
-40
-20
0
20
40
60 [C] 80
[uA ] 19.0 18.0
I(V DDh) A ctive, V DD=3.0V ,R=120k Ohm
[uA ] 4.4 4.2 5V 4 3V 3.8 -40
I(V DDh) S tandB y , V DD =3.0/5.0V ,Rex t=120kOhm 5V 3V
17.0 16.0 -40 -20 0 20 40 60 [C] 80
-20
0
20
40
60 [C]
80
[nA ] 350 330 310 290 -40
I(V DDs) S leep m ode, V DD=3V /5V
5V 3V
Current ratio I(RCint) / I (Re xt) X = 1 /5 X = 1 /4 X = 1 /3 X = 1 /2
fre quenc y f = f0 f = f0 * 1.25 f = f0 * 1.67 f = f0 * 2.50
-20
0
20
40
60 [C] 80
03/01 REV. C/441
Copyright 2001, EM Microelectronic-Marin SA
31
www.emmicroelectronic.com
EM6605
16.2.Frequency
Last table on previous page shows already that we can adjust the frequency tw. needed resistor also with different current mirror IRCint / IRext. Please contact EM Marin directly when ordering EM6605 if you would like to profit this possibility.
freq = f(Rext*) @25C
Next figures show the frequency dependence on Rext when IRCint / IRext = 1/5
[kHz] 350 300 250 200 150 100 50 80.0
130.0
180.0
230.0
280.0 330.0 [kOhm]
[k Hz ] 80.0 70.0 60.0 50.0 -40
freq = f(T), V DD= 3.0V , (Rex t= 329kOhm *)
[k Hz] 220.0 210.0 200.0 190.0 180.0
freq = f(T), V DD=3.0V , (Rex t= 120k Ohm *)
-20
0
20
40
60 [C] 80
-40
-20
0
20
40
60 [C] 80
[k Hz ] 110.0 100.0 90.0 80.0 -40
freq = f(T), V DD= 3.0V , (Rex t= 240kOhm *)
[k Hz] 320.0 310.0 300.0 290.0 280.0
freq = f(T), V DD= 3.0V , (Rex t=82k Ohm *)
-20
0
20
40
60 [C] 80
-40
-20
0
20
40
60 [C] 80
16.3.Regulated Voltage
Vreg @V DD= 3.0V 2.4 [V] 2.3 2.2 2.1 2.0 -40 -20 0 20 40 60 [C] 80 [V ] 2.5 2.3 2.1 1.9 1.7 1.5
V reg @ Tem p = 25C
2.5
3.5
4.5
V DD
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
32
www.emmicroelectronic.com
EM6605
16.4. Output currents
[m A ] 24 20 16 12 8 4 0 1.8 2.8 3.8 4.8 [V ] IOL P ortB ; V DS =0.3/0.5; @ T= 25C 0 -2 -4 -6 -8 -10 -12 -14 -16 [m A ]
0.3V
1.8
IOH P ortB ; V DS = 0.3/0.5; @ T= 25C 2.8 3.8
[V]
4.8
[m A ] 50
IOL P ortB ; V DD= 3.0V ; V DS = 0.3/0.5/1.0V -40 0
IOH P ortB ; V DD= 3.0V ; V DS = 0.3/0.5/1.0V -20 0 20 40 60 [C] 80
40 1.0 30 20 10 0 -40 -20 0 20 40 60 80 [C] 0.5 0.3 -10
0.5V
0.3 0.5 1.0
-20 -30 [m A ] -40
[m A ] 50
IOL P ortB ; V DD= 5.0V ; V DS = 0.3/0.5/1.0V -40 0 1.0 -10
IOH P ortB ; V DD= 5.0V ; V DS = 0.3/0.5/1.0V -20 0 20 40 60 [C] 80
40 30 20 10 0 -40 -20 0 20 40 60
0.3 0.5
0.5 0.3
-20 1.0 -30 [m A ]
80 [C]
-40
[m A ] 5 4 3 2 1 0 -40
IOL P ortC,S tb/Rs t; V DD= 3.0V ; V DS = 0.3/0.5/1.0V -40 0 1.0
IOH P ortC,S tb/Rs t; V DD= 5.0V ; V DS = 0.3/0.5/1.0V -20 0 20 40 60 [C] 80
-1 -2
0.3 0.5
0.5 0.3
1.0 -3 [m A ] -20 0 20 40 60 80 [C] -4
03/01 REV. C/441
Copyright 2001, EM Microelectronic-Marin SA
33
www.emmicroelectronic.com
EM6605
Output Currents - continued
[m A ] 5 4 1.0 3 2 1 0 -40 -20 0 20 40 60 80 [C] 0.5 0.3 -4 [m A ] -5 0 -1 -2 -3 1.0 0.3 0.5
IOL PortC,Stb/Rst; VDD=5.0V ; V DS =0.3/0.5/1.0V -40
IOH PortC,S tb/Rs t; V DD=5.0V; VDS= 0.3/0.5/1.0V -20 0 20 40 60 [C] 80
[m A ] 5 4 3 2 1 0 -40
IOL P ortD; VDD= 3.0V; VDS= 0.3/0.5/1.0V -40 1.0 0 -1 0.5 0.3 -2 -3 -4 -5
IOH P ortD; VDD= 5.0V; V DS =0.3/0.5/1.0V -20 0 20 40 60 [C] 80
0.3 0.5
1.0
[m A]
-20
0
20
40
60
80 [C]
[m A] 5 4 3 2 1 0 -40
IOL P ortD; VDD= 5.0V; VDS= 0.3/0.5/1.0V -40 1.0 0 -1 -2 -3 -4 [m A ] -20 0 20 40 60 80 [C] -5
IOH P ortD; VDD= 5.0V; V DS =0.3/0.5/1.0V -20 0 20 40 60 [C] 80
0.3 0.5
0.5 0.3
1.0
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
34
www.emmicroelectronic.com
EM6605
16.5.Pull Up / Down Resistors
P ull-Up/Down P ortA ,C,D; V DD= 3.0V [k Ohm ] [k Ohm ] 235 215 195 175 155 135 115 95 75 55 35 15 -40 -20 0 20 40 60 [C] 80 optM optL optH 295 275 255 235 215 195 175 155 135 115 95 75 55 35 15 -40
Pull-Up/Down PortB ; V DD= 3.0V optH
optM
optL [C]
-20
0
20
40
60
80
P ull-Down Res et, Tes t; V DD= 3.0V 130 [k Ohm ] 110 90 70 50 30 10 -40 -20 0 20 40 60 tes t reset
[C]
80
03/01 REV. C/441
Copyright 2001, EM Microelectronic-Marin SA
35
www.emmicroelectronic.com
EM6605
17. Electrical specifications 17.1.Absolute maximum ratings
min. Supply voltage VDD-VSS Input voltage Storage temperature - 0.2 VSS - 0.2 - 50 max. + 6.0 VDD+0.2 + 125 unit V V C
Stresses above these maximum ratings may cause permanent damage to the device. Exposure beyond specified electrical characteristics may affect device reliability or cause malfunction.
17.2.Standard Operating Conditions
Parameter
Temperature VDD (fmax. = 200kHz) VDD (fmax. = 300kHz) VSS CVreg Rext (typical)
value
-40C...+85C +1.8 ...+5.5V +2.4 ...+5.5V 0 V (reference) min. 100nF 120k - 330k
Description
With internal voltage regulator With internal voltage regulator regulated voltage capacitor tow. Vss external resistor to set frequency
17.3.Handling Procedures
This device has built-in protection against high static voltages or electric fields; however, anti-static precautions should be taken as for any other CMOS component. Unless otherwise specified, proper operation can only occur when all terminal voltages are kept within the supply voltage range.
17.4.DC characteristics - Power Supply
Vdd=3.0V, T=25C, Rext 120k (note4) (unless otherwise specified), f 200kHz, IRCint / IRext = 1/5 Typ. Parameter Conditions Symb. Min. Max. Unit (note1) ACTIVE Supply Current ACTIVE Supply Current (in active mode) STANDBY Supply Current STANDBY Supply Current (in Halt mode) SLEEP Supply Current SLEEP Supply Current (SLEEP =1) POR voltage RAM data retention Regulated Voltage Vreg not at Vdd (note3) -40C...+85C (note3) -40C...+85C (note2) (note2) (note3) -40C...+85C IVDDa IVDDa IVDDh IVDDh IVDDs IVDDs VPOR Vrd Vreg 1.5 1.8 2.2 2.6 0.3 4.1 17.0 22.0 25.0 6.0 8.0 0.5 2.0 1.4 A A A A A A V V V
0.9
Note: Pieces are tested with fixed resistors between 330k and 120k at the frequency used by the customer.
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
36
www.emmicroelectronic.com
EM6605
Note1: For current measurement the corresponding resistor for targeted frequency 20% is selected; All I/O pins without internal Pull Up/Down are pulled to Vdd externally. Note2: Test loop with successive writing and reading of two different addresses with an inverted values (five instructions should be reserved for this measurement), Note3: NOT tested if delivered in chip form. Note4: Test conditions for ACTIVE and STANDBY Supply current mode are: external resistor between the RCin and Vss pins.
17.5.DC characteristics - In/Out Pins
-40C Pin at hi-impedance
VIH
VOL = 0.3V, VDD = 1.8V
IOL
VOL = 0.4V, VDD = 3.0V
IOL
VOL = 0.5V, VDD = 5.0V
IOL
20.0 1.80 2.00 5.40 0.70 0.95 8.0 1.0 1.0 13.0 1.50 1.80 15.0 1.70 1.90
mA mA mA mA mA mA mA mA mA mA mA mA
VOH = 1.5V, VDD = 1.8V
IOH
VOH = 2.5V, VDD = 3.0V
IOH
VOH = 4.5V, VDD = 5.0V
IOH
03/01 REV. C/441
Copyright 2001, EM Microelectronic-Marin SA
37
www.emmicroelectronic.com
EM6605
-40C Pin at VDD = 3.0V
Rin
Pin at Vss / VDD = 1.8V
Rin
Pin at Vss / VDD = 3.0V
Rin
Note5 : there are three options for the value of Pull-Up / Pull-Down resistors. Option L (low value), Option M (med. value), Option H (high value) All Resistors have a temperature coefficient of about +0.45%/C
17.6.DC characteristics - S V D Levels
SVD = Supply Voltage Detector T= +25C (unless otherwise specified) 1.9V < VL1 < VL2 < VL3 < 4.5V (VL1 > 1.3V, VL2 > 1.8V, VL3 > 2.0V) , @ 50 kHz < f < 250 kHz Parameter Supply Voltage Detector SVLD lev3 SVLD lev2 SVLD lev1 Supply Voltage Detector SVLD lev3 SVLD lev2 SVLD lev1 SVLD current consumption when activated Conditions T = +25C Symb. VL3 VL2 VL1 0C...+65C VL3 VL2 VL1 1.5VISVLD
SVLD typical level values must be selected with a precision of 100 mV
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
38
www.emmicroelectronic.com
EM6605
17.7.RC Oscillator
T= +25C (unless otherwise specified) Parameter Fabrication process stability Voltage stability (note2) Temperature Stability (note2) Adjustable frequency range permitted (note 6) External resistor for frequency (note4) (note5) Ext. capacitor (parallel to Rext) (note4) Oscillator start time (note3) System start time (note3) (oscillator+cold start reset) Oscillation detector frequency Conditions (note1) 2.4 - 5.0 V -40C- +85C Symb. Df / f * Df /f * DU Df /f * DT freq Vdd>1.8V Rext Cext Vdd>1.8V Vdd>1.8V Vdd>1.8V & Vdd<5.0V tdosc tdsys fOD Min. -20 -2% 0.02% 30 80* Typ. 10 * 0.3 +0.06% 128 120-330 150 0.1 3 4.0 Max. +20 +2% 0.1% 300 600* 390 1 4 15 Unit % 1/V 1/C kHz k pF ms ms kHz
Note1: Typical value of 10% for "Fabrication process stability" gives a range where about 93-98% of all pieces are situated relative to their mean frequency f *. Note2: Oscillator stability in voltage and temperature is for frequency range from 30kHz - 300 kHz Note3: Oscillator start time is for the worst case - 32 kHz frequency (low frequency) Note4: External capacitor parallel to Rext which set the system frequency - The capacitor must be as close as possible to RCin pin. The connection tw. Resistor and Capacitor on this pin must be really as short as possible otherwise the RC oscillator has bigger jitter. (capacitor is not obligatory but can improve voltage dependance and reduce jitter. Note5: External resistor Rext which can set the frequency can have bigger range but this should be discussed by EM for special cases only. Tests were made only during qualification of the product. Note6: see also table 17.2.
17.8.Input Timing characteristics
1.8VtRESsl
tdeb0 tdeb0 tdeb1 tdeb1
03/01 REV. C/441
Copyright 2001, EM Microelectronic-Marin SA
39
www.emmicroelectronic.com
EM6605
18. Pad Location Diagram
Figure 15. EM6605 PAD Location Diagram
naP v[PRRQ nbQ v[PUP nbP v[SUU nbO v[VVP v[PTNS
All dim ensions in M icrons
v[N nbN v[OVVR naQ v[POVW
w[PORU naO w[OVTU naN w[OTOQ qr Mpqr w[OQSW t qq w[ONVS pamsr wNVUV
pcqcr w[OVOP t pce w[OSOS t _r w[OPT O
EM 6605
afgn>qgxc>ai>v>[>QNPP>aaCeeci>Ao>w>[>PSTS>aaCeeci ee>v >[>OOW >aaai>Ao>w>[>ONO>aaai aNaia>eO>iaN>EaN>>x>[>OO>aaai
n_N w[VRU n_O w[SVQ n_P w[QOW
pagl w[QRW
w[N w[KPON
v[KPNW nO v[OPQW n_Q v[ONQ nN v[VUO nP v[OWTO v[N
nQ v[PQPW
rcqr v[PTNO
19.Packages & Ordering informations
Figure 16. Dimensions of PDIP24 Package
P-DIP24 .300 INCH body width
v[PVOQ
03/01 REV. C/441
*Copyright 2002, EM Microelectronic-Marin SA
40
www.emmicroelectronic.com
EM6605
Figure 17. Dimensions of TSSOP24 Package
TSSOP24 (0.65mm pitch, 4.4mm body width)
Figure 18.Dimensions of SOIC24 Package
SOP-24(1.27mm pitch, 300mils body width)
03/01 REV. C/441
Copyright 2001, EM Microelectronic-Marin SA
41
www.emmicroelectronic.com
EM6605
19.1.Ordering Information
Packaged Device: EM6605 %%% SO24 B
Customer Version: customer-specific number given by EM Microelectronic Package: SO24 = 24 pin SOIC TP24 = 24 pin TSSOP DL24 = 24 pin DIP (note 1) Delivery Form: A = Stick B = Tape&Reel (for SO24 and TP24 only)
Device in DIE Form: EM6605 %%% WS 11
Customer Version: customer-specific number given by EM Microelectronic Die form: WW = Wafer WS = Sawn Wafer/Frame WP = Waffle Pack Thickness: 11 = 11 mils (280um), by default 27 = 27 mils (686um), not backlapped (for other thickness, contact EM)
Note 1: Please contact EM Microelectronic-Marin S.A. for availability of DIP package. Ordering Part Number (selected examples)
Part Number EM6605%%%SO24A EM6605%%%SO24B EM6605%%%DL24A EM6605%%%TP24B EM6605%%%WS11 EM6605%%%WP11 Package/Die Form 24 pin SOIC 24 pin SOIC 24 pin DIP 24 pin TSSOP Sawn wafer Die in waffle pack Delivery Form/Thickness Stick Tape&Reel Stick Tape&Reel 11 mils 11 mils
Please make sure to give the complete Part Number when ordering, including the 3-digit version. The version is made of 3 digits %%%: the first one is a letter and the last two are numbers, e.g. P01 , P12, etc.
19.2.Package Marking
DIP and SOIC marking: First line: Second line: Third line: EM6 6 0 5 0 %%Y PPPPPPPPPPP CCCCCCCCCCC TSSOP marking: EM P P 6 P 6 P 0 P 5%% P P Y P P
CCCC
Where: %% = last two-digits of the customer-specific number given by EM (e.g. 05, 12, etc.) Y = Year of assembly PP...P = Production identification (date & lot number) of EM Microelectronic CC...C = Customer specific package marking on third line, selected by customer
19.3.Customer Marking
There are 11 digits available for customer marking on DIP24 and SO24. There are 4 digits available for customer marking on TSSOP24. Please specify below the desired customer marking.
03/01 REV. C/441
Copyright 2001, EM Microelectronic-Marin SA
42
www.emmicroelectronic.com
EM6605
Updates since Rev A/152 (november 98)
Date of Update Name 01.11.01 PERT 11.02.02 PERT 22.03.02 PERT
Chapter concerned All
New Version 11/01 B/400
Changes Change Header & footer, Add URL mention Add metal option RC osc table, frequency working range. Change pad location diagram and ordering information
Pages 8, 29, 02/02 C/400 40 Page 40, 43 03.02 D/441
03/01 REV. C/441
Copyright 2002, EM Microelectronic-Marin SA
www.emmicroelectronic.com


▲Up To Search▲   

 
Price & Availability of EM6605WW11

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X