EM6517 ETC, EM6517 Datasheet - Page 9

no-image

EM6517

Manufacturer Part Number
EM6517
Description
4 BIT MICROCONTROLLER
Manufacturer
ETC
Datasheet
The oscillator is disabled during sleep mode. So when waking up from sleep mode, the CPU of the EM6517-1
remains in the reset state for the CPU Reset Delay, to allow the oscillator to stabilize. During this time, the
Oscillation Detection Circuit is inhibited.
In active or standby modes, the oscillator detection circuit monitors the oscillator. If it stops for any reason, a
system reset is generated. After clock restart the CPU waits for the CPU Reset Delay before executing the first
instructions.
The oscillation detection circuitry can be inhibited with bit NoOscWD = 1 in register RegSysCntl3. At power up,
and after any system reset, the function is activated.
The ‘CPU Reset Delay’ is 32768 system clocks ( Ck[16] ) long.
5.2 Reset Terminal
During active or standby modes the Reset terminal has a debouncer to reject noise. Reset must therefore be
active for at least 16 ms (system clock = 32 KHz).
When canceling sleep mode, the debouncer is not active (no clock), however, reset passes through an
analogue filter with a time constant of typical. 5µs. In this case Reset pin must be high for at least 10 µs to
generate a system reset.
5.3 Input Port A Reset Function
By writing the OptInpRSel1 and OptInpRSel2 registers it is possible to choose any combination of port A input
values to execute a system reset. The reset condition must be valid for at least 16ms (system clock = 32kHz) in
active and standby mode.
OPTInpRSleep selects the input port A reset function in sleep mode. If set to "1" the occurrence of the selected
combination for input port A reset will immediately trigger a system reset (no debouncer) .
Reset combination selection ( InpReset) is done with registers OptInpRSel1 and OptInpRSel2.
Either an ‘AND’ or an ‘OR’ type port A combination can be chosen to generate the reset.
5.3.1 AND-Type Reset function
Default setting(metal option). One or a combination of port A inputs will trigger a reset. Following formula is
applicable :
InpResPA = InpResPA[0] • InpResPA[1] • InpResPA[2] • InpResPA[3]
n = 0 to 3
i.e. ; - no reset if InpResPA[n] = V
InpRes1PA[n] InpRes2PA[n] InpResPA[n]
0
0
1
1
- Don't care function on a single bit with
- Always Reset if InpResPA[3:0] = 'b1111
its InpResPA[n] = V
0
1
0
1
DD
.
FOR ENGINEERING ONLY
V
PA[n]
not PA[n]
V
SS
SS
DD
.
Figure 9. Input Port A Reset Structure
BIT
BIT
BIT
Input Port A Reset
Bit[3] Selection
BIT
[0]
[1]
[3]
[2]
InpRes1PA[3]
InpRes2PA[3]
Input Port A Reset
Bit[0] Selection
Input Port A Reset
Bit[1] Selection
Input Port A Reset
Bit[2] Selection
V
PA[3]
PA[3]
V
SS
DD
0
1 MUX
2
3 1 0
© EM Microelectronic-Marin SA, 09/99, Rev. A/277
InpResPA[3]
EM6517
InpResPA
Input
Reset
from
Port A
9

Related parts for EM6517