TMP91xy40FG Toshiba, TMP91xy40FG Datasheet - Page 79

no-image

TMP91xy40FG

Manufacturer Part Number
TMP91xy40FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP91xy40FG

Package
LQFP100
Rom Types(m=mask,p=otp, F=flash,e=eeprom)
M/F
Rom Combinations
128
Ram Combinations
4
Architecture
16-bit CISC
Usb/spi Channels
-
Uart/sio Channels
4
I2c/sio Bus Channels
-
(s)dram Controller
-
Adc 10-bit Channel
4
Da Converter
-
Timer 8-bit Channel
4
Timer 16-bit Channel
3
Pwm 8-bit Channels
-
Pwm 16-bit Channels
-
Cs/wait Controller
-
Dual Clock
Y
Number Of I/o Ports
61
Power Supply Voltage(v)
2.2 to 3.6
Programming sequences (Be sure to follow these sequences.)
LD
LD
LD
LD
LD
LD
LDW
LD
LD
LD
LD
LDW
LD
LD
Setting the timer mode with the system clock fc and the counter source clock fc/2
Changing the source clock and the timer register contents (after the timer is started)
Changing the source clock to fs/2
(TC1CR1),88H
(TREG1A),0080H
(TC1CR1),8CH
(TC1CR1),0CCH
(TC1CR1),8CH
(TC1CR2),00H
(TC1CR1),8CH
(TC1CR2),01H
(TC1CR1),0CCH
(TREG1A),0100H
(TC1CR2),00H
(TC1CR1),80H
(TC1CR1),88H
(TC1CR1),0C8H
: Set the <TC1SEL> bit. (<TC1SEL> = 0)
: Select the timer mode.
: Set the timer register. (TREG1AH=01H, TREG1AL=00H)
: Set the source clock to fc/2
: Start the timer.
: Stop the timer & clear the counter.
: Set the timer register. (TREG1AH=00H, TREG1AL=80H)
: Change the source clock from fc/2
: Start the timer.
: Stop the timer & clear the counter.
: Set <TC1SEL>=0 to select fc (in NORMAL mode only) once.
: Change the source clock to fs/2
: Set <TC1SEL>=1 to select fs.
: Start the timer.
Note: In NORMAL mode, do not change the TC1CR1/TREG1A with fs selected.
91CW40-77
3
(after the timer is started)
3
.
15
.
3
to fc/2
7
.
TMP91CW40
2008-09-19
3

Related parts for TMP91xy40FG