TMP91xy20AFG Toshiba, TMP91xy20AFG Datasheet - Page 128

no-image

TMP91xy20AFG

Manufacturer Part Number
TMP91xy20AFG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP91xy20AFG

Package
LQFP144
Rom Types(m=mask,p=otp, F=flash,e=eeprom)
M
Rom Combinations
8
Ram Combinations
8
Architecture
16-bit CISC
Usb/spi Channels
-
Uart/sio Channels
1
I2c/sio Bus Channels
1
(s)dram Controller
1
Adc 10-bit Channel
8
Da Converter
-
Timer 8-bit Channel
4
Timer 16-bit Channel
1
Pwm 8-bit Channels
-
Pwm 16-bit Channels
-
Cs/wait Controller
4
Dual Clock
Y
Number Of I/o Ports
77
Power Supply Voltage(v)
3.0 to 3.6
TA01RUN
TA01MOD
TA0REG
TA1REG
TA1FFCR
PBCR
PBFC
TA01RUN
X: Don’t care, −: No change
Example: To generate 1/4 duty 50 kHz pulses (at fc = 36 MHz):
Calculate the value, which should be set in the timer register.
To obtain a frequency of 50 kHz, the pulse cycle t should be: t = 1/50 kHz = 20 µs
φT1 = (2
Therefore set TA1REG to 90 (5AH)
The duty is to be set to 1/4: t × 1/4 = 20 µs × 1/4 = 5 µs
Therefore, set TA0REG = 22= 16H.
20 µs ÷ (2
5 µs ÷ (2
← 0
← 1
← 0
← 0
← X
← X
← X
← 1
3
/fc)s (at 36 MHz);
7
* Clock state
6
X
0
0
1
X
X
3
/fc)s ≈ 22
3
5
X
X
0
0
X
X
/fc)s ≈ 90
20 µs
4
X
X
1
1
X
X
3
X
0
1
0
2
0
X
1
0
1
X
X
1
91C820A-126
1
0
0
1
1
1
1
1
1
0
0
1
0
0
X
1
System clock:
Clock gear:
Prescaler clock: f
Stop TMRA0 and TMRA01 and clear it to 0.
Set the 8-bit PPG mode, and select φT1 as input clock.
Write16H.
Write 5AH.
Set TA1FF, enabling both inversion and the double buffer.
Writing 10 provides negative logic pulse.
Set PB1 as the TA1OUT pin.
Start TMRA0 and TMRA01 counting.
High frequency (fc)
1 (fc)
FPH
TMP91C820A
2008-02-20

Related parts for TMP91xy20AFG