English
Language : 

TMP1942CZUE Datasheet, PDF (185/406 Pages) Toshiba Semiconductor – 32bit TX System RISC
TMP1942CY/CZ
(3) 8-bit PPG (programmable square wave) output mode
A square wave of any frequency with any duty cycle can be output using TMRA0. Either
Low-active or High-active output pulses can be selected.
TMRA1 cannot be used in this mode. The square wave is forwarded to TA1OUT (shared with
PA6).
tH
tL
t
TA0REG and up-counter 0
match (generating INTTA0)
TA1REG and up-counter 0
match (generating INTTA1)
TA1OUT
TA0REG
TA1REG
Figure 3.9.18 8-Bit PPG Output Waveform
This mode is used to output a programmable square wave by inverting the timer output every time
the 8-bit up-counter UC0 matches the timer registers TA0REG and TA1REG.
However, the condition (TA0REG set value) < (TA1REG set value) must be satisfied. Although
the up-counter UC1 of TMRA1 cannot be used in this mode, TA01RUN<TA1RUN> must be set to 1
to enable TMRA1 counting.
Figure 3.9.19 shows a block diagram of 8-bit PPG output mode.
φT1
φT4
φT16
Selector
TA01MOD<TA0CLK1:0>
TA1OUT
TA01RUN<TA0RUN>
TA1FF
8-bit up-counter
(UC 0)
TA1FFCR<TAFF1IE>
Invert
INTTA0
Comparator
Comparator
INTTA1
Selector
TA0REG
TA0REG-WR
Shift trigger
Register buffer
TA01RUN<TA0RDE>
TA1REG
Internal data bus
Figure 3.9.19 8-Bit PPG Output Mode Block Diagram
TMP1942CY/CZ-184