sm59128 SyncMOS Technologies,Inc, sm59128 Datasheet - Page 17

no-image

sm59128

Manufacturer Part Number
sm59128
Description
8-bits Micro-controller Embedded 128kb Flash & 1kb Ram & Iic & Spwm
Manufacturer
SyncMOS Technologies,Inc
Datasheet
Watch Dog Key Register - (WDTKEY, $97H)
By default, the WDTC is read only. User need to write values 1EH, E1H sequentially to the WDTKEY($97H) register to
enable the WDTC write attribute, That is
When WDTC is set, user need to write another values E1H, 1EH sequentially to the WDTKEY($97H) register to
disable the WDTC write attribute, That is
Watch Dog Timer Register - System Control Register (SCONF, $BF)
The bit 7 (WDR) of SCONF is Watch Dog Timer Reset bit. It will be set to “1” when reset signal generated by WDT
overflow. User should check WDR bit whenever un-predicted reset happened
5. Reduce EMI Function
The SM59128 allows user to reduce the EMI emission by setting 1 to the bit 0 (ALEI) of SCONF register. This function
will inhibit the clock signal in Fosc/6Hz output to the ALE pin.
6. Specific Pulse Width Modulation (SPWM)
The Specific Pulse Width Modulation (SPWM) module contains 1 kind of PWM sub module: SPWM (Specific PWM).
SPWM has five 8-bit channels.
6.1 SPWM Function Description:
The 8-bit SPWM channel is composed of an 8-bit register, which contains a 5-bit SPWM in MSB portion and a 3-bit
binary rate multiplier (BRM) in LSB portion. The value that programmed in the 5-bit SPWM portion will determine the
pulse length of the output. The 3-bit BRM portion will generate and insert certain narrow pulses among an
8-SPWM-cycle frame. The number of pulses generated is equal to the number programmed in the 3-bit BRM portion.
The usage of the BRM is to generate equivalent 8-bit resolution SPWM type DAC with reasonably high repetition rate
through 5-bit SPWM clock speed. The SPFS[1:0] settings of SPWMC ($A3) register are dividend of Fosc to be SPWM
clock, Fosc/2^(SPFS[1:0]+1). The SPWM output cycle frame repetition rate (frequency) equals (SPWM clock)/32
which is [Fosc/2^(SPFS[1:0]+1)]/32.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M027Ver: B SM59128
Read / Write:
Read / Write:
Reset value:
Reset value:
SyncMOS Technologies International, Inc.
KEY7
WDR
WDT
bit-7
bit-7
R/W
W
0
0
Unused
KEY6
WDT
W
0
*
-
MOV WDTKEY, # 1EH
MOV WDTKEY, # 0E1H
MOV WDTKEY, # 0E1H
MOV WDTKEY, # 1EH
Unused
KEY5
WDT
W
0
*
-
Unused
KEY4
WDT
17
W
Embedded 128KB flash & 1KB RAM & IIC & SPWM
0
*
-
BANK
KEY3
WDT
R/W
W
0
0
KEY2
WDT
ISPE
R/W
W
0
0
8-Bits Micro-controller
KEY1
WDT
OME
R/W
W
0
0
SM59128
KEY0
06/2009
WDT
ALEI
bit-0
bit-0
R/W
W
0
0

Related parts for sm59128