HD6432670 Hitachi, HD6432670 Datasheet - Page 641

no-image

HD6432670

Manufacturer Part Number
HD6432670
Description
(HD64F267x Series) 16-Bit Microcomputer
Manufacturer
Hitachi
Datasheet
12.4.6
Figure 12.9 shows an example in which pulse output is used for four-phase complementary non-
overlapping pulse output.
1. Set up the TPU channel to be used as the output trigger channel so that TGRA and TGRB are
2. Write H'FF in P1DDR and NDERH, and set the G3CMS1, G3CMS0, G2CMS1, and G2CMS0
3. The timer counter in the TPU channel starts. When a compare match with TGRB occurs,
output compare registers. Set the trigger period in TGRB and the non-overlap margin in
TGRA, and set the counter to be cleared by compare match B. Set the TGIEA bit in TIER to 1
to enable the TGIA interrupt.
bits in PCR to select compare match in the TPU channel set up in the previous step to be the
output trigger. Set the G3NOV and G2NOV bits in PMR to 1 to select non-overlapping output.
Write output data H'95 in NDRH.
outputs change from 1 to 0. When a compare match with TGRA occurs, outputs change from 0
Figure 12.9 Non-Overlapping Pulse Output Example (Four-Phase Complementary)
Example of Non-Overlapping Pulse Output (Example of Four-Phase
Complementary Non-Overlapping Output)
H'0000
NDRH
PODRH
PO15
PO14
PO13
PO12
PO11
PO10
PO9
PO8
TGRB
TGRA
TCNT value
95
TCNT
00
95
65
05
Non-overlap margin
65
59
41
59
56
50
56
95
14
95
Rev. 2.0, 04/02, page 595 of 906
65
05
65
Time

Related parts for HD6432670