EasyManuals Logo

Abov MC96F6432S Series User Manual

Abov MC96F6432S Series
283 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #148 background imageLoading...
Page #148 background image
148
MC96F6432S
ABOV Semiconductor Co., Ltd.
Figure 11.36 Example of PWM at 4 MHz
Figure 11.37 Example of Changing the Period in Absolute Duty Cycle at 4 MHz
Update period & duty register value at once
The period and duty of PWM comes to move from temporary registers to T4PPRH/L (PWM Period Register) and
T4ADRH/L/T4BDRH/L/T4CDRH/L (PWM Duty Register) when always period match occurs. If you want that the period
and duty is immediately changed, the UPDT bit in the T4PCR1 register must set to ‘1’. It should be noted that it needs
the 3 cycle of timer clock for data transfer in the internal clock synchronization circuit. So the update data is written
before 3 cycle of timer clock to get the right output waveform.
T4CNT
00
01
02
03
04
P02/PWM4AA
POLAA = 1
T4CR = 03
H
(2 us)
T4PPRH = 00
H
T4PPRL = 0E
H
T4ADRH = 00
H
T4ADRL = 05
H
09
08
07
06
05
0D
0C
0B
0A
02
01
00
0E
06
05
04
03
0A
09
08
07
03
02
01
00
05
04
Source Clock
(f
x
)
06
Duty Cycle
(1+05
H
)X2 us = 12 us
Duty Cycle
(1+05
H
)X2 us = 12 us
Duty Cycle
(1+05
H
)X2 us = 12 us
Period Cycle
(1+0E
H
)X2 us = 32 us  31.25 kHz
Period Cycle
(1+0A
H
)X2 us = 22 us  45.5 kHz
Write 0A
H
to T4PPRL
Source Clock
(f
x
)
Duty Cycle(1+80
H
)X250ns = 32.25us
T4CNT
00
01
02
03
04
7F
80
81
82
3FF
00
01
02
P02/PWM4AA
POLAA = 1
P02/PWM4AA
POLAA = 0
Period Cycle(1+3FF
H
)X250ns = 256us  3.9kHz
T4PPRL(8-bit)
T4ADRL(8-bit)
T4PPRH(2-bit)
T4ADRH(2-bit)
03
H
FF
H
00
H
80
H
T4CR = 00
H
(f
XIN
)
T4PPRH = 03
H
T4PPRL = FF
H
T4ADRH = 00
H
T4ADRL = 80
H

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Abov MC96F6432S Series and is the answer not in the manual?

Abov MC96F6432S Series Specifications

General IconGeneral
BrandAbov
ModelMC96F6432S Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals