vrs51c1000 Ramtron Corporation, vrs51c1000 Datasheet - Page 35

no-image

vrs51c1000

Manufacturer Part Number
vrs51c1000
Description
Versa 8051 Mcu With 64kb Of Iap/isp Flash
Manufacturer
Ramtron Corporation
Datasheet
Example of PWM Timing Diagram
F
If Fosc = 20MHz, PDCK[1:0] of PWMC = #03H, then PWM clock = 20MHz/2^4 = 20MHz/16 = 1.25MHz. PWM output
cycle frame frequency = (20MHz/2^4)/32 = 39.1 kHz.
______________________________________________________________________________________________
www.ramtron.com
IGURE
VRS51C1000
21: PWM T
16
1st Cycle
MOV PWMD0 #83H
MOV PWME, #08H
frame
IMING
32T
D
IAGRAM
1T
(Narrow pulse inserted by NP0[2:0]=3)
PWM clock= 1/T= Fosc / 2^(PDIV+1)
The SPWM output cycle frame frequency = SPWM clock/32 = [Fosc/2^(PDIV+1)]/32
2nd Cycle
frame
32T
; PWMD04:0]=10h (=16T high, 16T low), NP02:0] = 3
; Enable P1.3 as PWM output pin
16
3rd Cycle
frame
32T
1T
4th Cycle
frame
32T
5th Cycle
16
frame
32T
1T
6th Cycle
frame
32T
7th Cycle
16
frame
32T
page 35 of 48
16
8th Cycle
frame
32T

Related parts for vrs51c1000