Renesas H8S/2100 Series Hardware Manual page 246

6-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

Section 9 8-Bit PWM Timer (PWMU)
(1)
Example of Setting
PWMREG
setting
example
0
1
2
H'7F
H'80
H'81
H'82
: Position of additional pulse
A duty cycle of 0/256 to 255/256 is output as a low-ripple waveform by combining basic pulses and additional pulses.
(2)
Example of Circuit for Use as D/A Converter
The following shows an example of a circuit in which PWMU output pulses are used as a D/A
converter. When a low-pass filter is connected externally to the LSI, low-ripple analog output can
be generated. If pulse division mode is used, a D/A output with even less ripple is available.
Figure 9.10 Example of Circuit for Use as a D/A Converter
Rev. 1.00 May 09, 2008 Page 220 of 954
REJ09B0462-0100
1 conversion period
3
4
5
6
7
8
Figure 9.9 Example of WMU Setting
Resistor: 120 Ω
This LSI
9
10
11
12
13
14
15
Capacitor: 0.1 µF
Low-pass filter
Reference values
Basic
Additional
waveform
pulses
Duty cycle
127/256
112 pulses
15 pulses
128/256
128 pulses
0 pulse
129/256
128 pulses
1 pulse
130/256
128 pulses
2 pulses

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents