English
Language : 

SM59R02G1 Datasheet, PDF (17/57 Pages) SyncMOS Technologies,Inc – Instruction-set compatible with MCS-51
SM59R02G1
8-Bit Micro-controller
8KB with ISP Flash
& 256B RAM embedded
1.4. RESET
1.4.1. Hardware RESET function
SM59R02G1 provides Internal reset circuit inside,the Internal reset time can set by writer or ISP。
Internal Reset time
25ms (default)
200ms
100ms
50ms
16ms
8ms
4ms
1.4.2. Software RESET function
SM59R02G1 provides one software reset mechanism to reset whole chip. To perform a software reset, the firmware must
write three specific values 55h, AAh and 5Ah sequentially to the TAKEY register to enable the Software Reset register
(SWRES) write attribute. After SWRES register obtain the write authority, the firmware can write FFh to the SWRES
register. The hardware will decode a reset signal that “OR” with the other hardware reset. The SWRES register is
self-reset at the end of the software reset procedure.
Mnemonic
Description
Direct
TAKEY
Time Access Key
register
F7h
SWRES
Software Reset
register
E7h
RSTS
Reset Status Flag
register
A1h
Bit 7 Bit 6 Bit 5 Bit 4
Software Reset function
Bit 3
TAKEY [7:0]
Bit 2
Bit 1
Bit 0
RESET
00H
SWRES [7:0]
00H
-
-
-
PDRF WDTF SWRF LVRF PORF 00H
1.4.3. Time Access Key register (TAKEY)
Mnemonic: TAKEY
7
6
5
4
3
2
TAKEY [7:0]
Address: F7H
1
0
Reset
00H
Software reset register (SWRES) is read-only by default; software must write three specific values
55h, AAh and 5Ah sequentially to the TAKEY register to enable the SWRES register write attribute. That
is:
MOV TAKEY, #55h
MOV TAKEY, #AAh
MOV TAKEY, #5Ah
1.4.4. Software Reset register (SWRES)
Mnemonic: SWRES
7
6
5
4
3
2
SWRES [7:0]
Address: E7H
1
0
Reset
00H
SWRES [7:0]: Software reset register bit. These 8-bit is self-reset at the end of the reset procedure.
SWRES [7:0] = FFh, software reset.
SWRES [7:0] = 00h ~ FEh, MCU no action.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M061
17
Ver.G SM59R02G1 09/2015