h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 308

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 10 14-Bit PWM Timer (PWMX)
An example of setting CFS to 1 (basic cycle = resolution (T)
output) is shown as an additional pulse. When CFS is set to 1, the duty ratio of the basic pulse is
determined by the upper eight bits (DA13 to DA6) in DADR, and the position of the additional
pulse is determined by the following six bits (DA5 to DA0) as shown in figure 10.5.
Table 10.4 shows the position of the additional pulse.
Here, the case of DADR = H'0207 (B’0000 0010 0000 0111) is considered. Figure 10.6 shows an
output waveform. Because CFS = 1 and the value of upper eight bits is B’0000 0010, the duty
ratio of the basic pulse is 2/256
Rev. 3.00 Mar 21, 2006 page 254 of 788
REJ09B0300-0300
DA13 DA12 DA11 DA10 DA9
Figure 10.4 Output Waveform (OS = 1, DADR Corresponds to T
t
t
t
H1
f1
H1
t
Figure 10.5 D/A Data Register Configuration when CFS = 1
t
t
H1
f1
H1
Basic pulse duty ratio
= t
+ t
= t
t
+ t
f1
t
f2
f1
H2
f2
H2
= t
= t
+ t
+ t
f3
f3
H3
= ··· = t
H3
= ··· = t
+ ··· + t
+ ··· + t
t
f255
H2
t
f63
H2
a. CFS = 0 [base cycle = resolution (T) × 64]
b. CFS = 1 [base cycle = resolution (T) × 256]
H255
DA8
H63
= t
= t
(T) of high width.
t
f2
t
f2
f64
f256
+ t
+ t
= T× 256
H64
H256
= T× 64
DA7
= T
= T
1 conversion cycle
1 conversion cycle
H
H
DA6
t
H3
t
H3
DA5
DA4
Additional pulse position
t
H255
t
H63
t
DA3
f255
t
256) and OS to 1 (PWMX inverted
f63
DA2
t
H256
DA1
t
H64
t
f256
t
f64
DA0
H
)
CFS
1
1

Related parts for h8s-2161b