English
Language : 

HD6475328CG Datasheet, PDF (247/459 Pages) Hitachi Semiconductor – Manual Gives a Hardware Description
Table 12-3 PWM Timer Parameters for 10MHz System Clock
Internal Clock Frequency
ø/2
ø/8
ø/32
ø/128
ø/256
ø/1024
ø/2048
ø/4096
Resolution
200ns
800ns
3.2µs
12.8µs
25.6µs
102.4µs
204.8µs
409.6µs
PWM Period
50µs
200µs
800µs
3.2ms
6.4ms
25.6ms
51.2ms
102.4ms
PWM Frequency
20kHz
5kHz
1.25kHz
312.5Hz
156.3Hz
39.1Hz
19.5Hz
9.8Hz
12.3 Operation
Figure 12-2 shows the timing of the PWM timer operation.
1. Positive Logic (OS = “0”)
(1) When OE = “0”—(a) in figure 12-2: The timer count is held at H'00 and PWM output is
inhibited. (The pin is used for port 9 input/output, and its state depends on the corresponding
port 9 data register and data direction register.) Any value (such as N in figure 12-2) written
in the DTR becomes valid immediately.
(2) When OE = “1”
i) The timer counter begins incrementing, and the PWM output goes High. [(b) in figure 12-2]
ii) When the count reaches the DTR value, the PWM output goes Low. [(c) in figure 12-2]
iii)If the DTR value is changed (by writing the data “M” in figure 12-2), the new value
becomes valid after the timer count changes from H'F9 to H'00. [(d) in figure 12-2]
2. Negative Logic (OS = “1”): The operation is the same except that High and Low are reversed
in the PWM output. [(e) in figure 12-2]
232