SM59A16U1
8-Bit Micro-controller
64KB with ISP Flash
& 6K+256B RAM embedded
FOSVOS TEL: 021-58998693
1.4
RESET
1.4.1 Hardware RESET Function
SM59A16U1 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
SM59A16U1 provides one software reset mechaniOB 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
Dir.
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
RST
Software Reset function
Time Access
Key register
Software Reset
register
TAKEY
F7h
E7h
TAKEY [7:0]
SWRES [7:0]
00H
00H
SWRES
1.4.3 Time Access Key Register( TAKEY )
Mnemonic: TAKEY
Address: F7H
7
6
5
4
3
2
1
0
Reset
00H
TAKEY [7:0]
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
Address:E7H
0 Reset
7
6
5
4
3
2
1
SWRES [7:0]
00H
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M071 Ver A SM59A16U1 04/12/2013
- 23 -