sm59128 SyncMOS Technologies,Inc, sm59128 Datasheet - Page 19

no-image

sm59128

Manufacturer Part Number
sm59128
Description
8-bits Micro-controller Embedded 128kb Flash & 1kb Ram & Iic & Spwm
Manufacturer
SyncMOS Technologies,Inc
Datasheet
Example of SPWM timing diagram:
If user use Fosc=20MHz, SPFS[1:0] of SPWMC=#03H, then
SPWM clock = 20MHz/2^4 = 20MHz/16 = 1.25MHz
SPWM output cycle frame frequency = (20MHz/2^4)/32=39.1KHz
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M027Ver: B SM59128
MOV SPWMD0 , #83H
MOV P1CON , #08H
SyncMOS Technologies International, Inc.
N = BRM[2:0]
(narrow pulse inserted by BRM0[2:0] setting, here BRM0[2:0]=3)
SPWM clock = 1 / T = Fosc / 2^(SPFS[1:0]+1)
The SPWM output cycle frame frequency = SPWM clock / 32 = [Fosc/2^(SPFS[1:0]+1)]/32
000
001
010
011
100
101
110
111
; SPWMD0[4:0]=10h (=16T high, 16T low), BRM[2:0] = 3
; Enable P1.3 as SPWM output pin
Number of SPWM cycles inserted in an 8-cycle frame
19
Embedded 128KB flash & 1KB RAM & IIC & SPWM
0
1
2
3
4
5
6
7
8-Bits Micro-controller
SM59128
06/2009

Related parts for sm59128