tmp1941af TOSHIBA Semiconductor CORPORATION, tmp1941af Datasheet - Page 164

no-image

tmp1941af

Manufacturer Part Number
tmp1941af
Description
32-bit Tx System Risc
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP1941AF
Manufacturer:
TOSHIBA
Quantity:
48
Part Number:
TMP1941AF
Quantity:
4
Part Number:
tmp1941af(Z)
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
dynamically by writing a new value into the register buffer. Upon a match between the TA1REG and
the UC0, the TA0REG latches a new value from the register buffer.
square wave with virtually any (and variable) duty cycle.
In 8-bit PPG mode, if the double-buffering function is enabled, the TA0REG value can be changed
The TA0REG can be loaded with a new value upon every match, thus making it easy to generate a
Example: Generating a 50-kHz square wave with a 25% duty cycle (fc = 40 MHz)
X = Don’t care,
TA0REG (compare value)
TA01RUN
TA01MOD
TA0REG
TA1REG
TA1FFCR
P7CR
P7FC
TA01RUN
Match Between TA0REG
Match Between TA1REG
follows:
A 50-kHz waveform has a period of 20 µs. Under the above clocking conditions, φT1 has a 0.2-µs
resolution (@fc = 40 MHz). When φT1 is used as the timer clock source, the TA1REG should be
loaded with:
TA0REG should be loaded with:
Clocking conditions:
The time constant values to be loaded into the TA0REG and TA1REG are determined as
With a 25% duty cycle, the high pulse width is calculated as 20 µs × 1/4 = 5 µs. Thus, the
System clock:
High-speed clock gear: ¤1 (fc)
Prescaler clock:
20 µs ÷ 0.2 µs = 100 (64H)
5 µs ÷ 0.2 µs = 25 (19H)
and Up-Counter 0
and Up-Counter
Register Buffer
MSB
– = No change
20 µs
7
0
1
0
0
X
1
Figure 11.14 Register Buffer Operation
6
X
0
0
1
X
X
5
X
X
0
1
X
X
4
X
X
1
0
X
X
TMP1941AF-124
High-speed (fc)
fperiph/4 (fperiph = fsys)
(Up-Counter = Q
3
X
1
0
0
2
0
X
0
1
1
1
Q
1
1
0
0
0
0
1
1
1
1
LSB
0
0
1
1
0
X
1
1
)
Q
2
Stops and clears the TMRA0.
Selects 8-bit PPG mode and φT1 as the clock
source.
Writes 19H.
Writes 64H.
Sets the TA1FF to 1 and enables toggling.
If these bits are set to 10, a low-going pulse is
generated.
Configures P71 as the TA1OUT output pin.
Starts the TMRA0 and the TMRA1.
(Up-Counter = Q
Shift-Trigger for Register Buffer
2
)
Q
TMP1941AF
2
Write to TA0REG
(Register Buffer).
Q
3
2003-03-27

Related parts for tmp1941af