z86e02sl1925 ZiLOG Semiconductor, z86e02sl1925 Datasheet - Page 44

no-image

z86e02sl1925

Manufacturer Part Number
z86e02sl1925
Description
General-purpose Otp Mcu With 14 I/o Lines
Manufacturer
ZiLOG Semiconductor
Datasheet
PS014802-0903
Software Work Around on the Z86CCP01ZEM Emulator
to Enable P27 as Stop-Mode Recovery Source
Watch-Dog Timer (WDT)
SWFIXP27:
Note:
Note:
To enter STOP or HALT mode, it is necessary to first flush the instruction pipeline
to avoid suspending execution in mid-instruction. The user must execute a NOP
(Op Code = FFh) immediately before the appropriate SLEEP instruction, such as:
The Watch-Dog Timer is enabled by instruction WDT. When the WDT is enabled,
it cannot be stopped by the instruction. With the WDT instruction, the WDT is
refreshed when it is enabled within every 1 T
resets itself, The WDT instruction affects the flags accordingly; Z = 1, S = 0, V = 0.
FFh
6Fh
FFH
7Fh
WDT = 5Fh
Any Low level detected on pin P27 takes the device out of
STOP mode, even if it is configured as an output. It is not edge
triggered.
On the CCP emulator, a software workaround must be used to
enable P27 as the Stop-Mode Recovery source. This
workaround follows.
PUSH RP
LD RP, #0Fh
LD R012, #001101X0B
POP RP
NOP
STOP
or
NOP
HALT
General-Purpose OTP MCU with 14 I/O Lines
X= 1 for LOW EMI Mode
X= 0 for STANDARD Mode
; clear the pipeline
; enter STOP mode
; clear the pipeline
; enter HALT mode
WDT
period; otherwise, the controller
Z86E02 SL 1925
38

Related parts for z86e02sl1925