TMP91xy20AFG Toshiba, TMP91xy20AFG Datasheet - Page 215

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
Setting example:
a.
b. This example repeatedly converts the analog input voltages on the three pins AN0,
X: Don’t care, − : No change
Main routine:
Interrupt routine processing example:
Convert the analog input voltage on the AN3 pin and write the result, to memory
address 1000H using the AD interrupt (INTAD) processing routine.
INTE0AD
ADMOD1
ADMOD0
WA
WA
(1000H)
AN1 and AN2, using channel scan repeat conversion mode.
INTE0AD
ADMOD1
ADMOD0
← X 1 0 0 − − − −
← 1 1 X X 0 0 1 1
← X X 0 0 0 0 0 1
← ADREG37
> > 6
← WA
← X 0 0 0 − − − −
← 1 X X X 0 0 1 0
← X X 0 0 0 1 1 1
7 6 5 4 3 2 1 0
91C820A-213
Enable INTAD and set it to interrupt level 4.
Set pin AN3 to be the analog input channel.
Start conversion in channel fixed single conversion mode.
Read value of ADREG37L and ADREG37H into 16-bit
general-purpose register WA.
Shift contents read into WA six times to right and zero-fill upper
bits.
Write contents of WA to memory address 1000H.
Disable INTAD.
Set pins AN0 to AN2 to be the analog input channels.
Start conversion in channel scan repeat conversion mode.
TMP91C820A
2008-02-20

Related parts for TMP91xy20AFG