TMP86xy48UG/FG Toshiba, TMP86xy48UG/FG Datasheet - Page 150

no-image

TMP86xy48UG/FG

Manufacturer Part Number
TMP86xy48UG/FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy48UG/FG

Package
LQFP64/QFP64
Rom Types (m=mask,p=otp,f=flash)
F/E
Rom Size
32
Ram Size
2K
Driver Led
11
Driver Lcd
-
Spi/sio Channels
1
Uart/sio Channels
1
I2c/sio Channels
1
High-speed Serial Output
2
Adc 8-bit Channels
-
Adc 10-bit Channels
16
Da Converter Channels
-
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
2
Timer Counter 8-bit Channel
2
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
54
Power Supply (v)
2.7 to 3.6
ADCCR1<AMD >
ADCCR1<ADRS >
Convert
operation
ADCDR2<EOCF>
INTADC request
Reading ADCDR1
Reading ADCDR2
ADCDR1,
ADCDR2
(2) Repeat mode
performed repeatedly. In this mode, AD conversion is started by setting
ADCCR1<ADRS> to “1” after setting ADCCR1<AMD> to “11”.
conversion
ADCDR2<EOCF> is set to “1”, the AD conversion finished interrupt (INTADC) is
generated.
started. To stop AD conversion, set ADCCR1<AMD> to “00B” (Disable mode). The AD
convert operation is stopped immediately. The converted value at this time is not
stored in the AD conversion result register.
AD conversion of the voltage at the analog input pin specified by ADCCR1<SAIN> is
After completion of the AD conversion, the conversion result is stored in AD
In repeat mode, each time one AD conversion is completed, the next AD conversion is
Example: After selecting the conversion time of 39.0 µs at 16 MHz and the analog input channel AIN3 pin,
SLOOP:
Indeterminate
First conversion
AD conversion start
perform AD conversion once. After checking EOCF, read the converted value, store the lower 2
bits in address 009EH and store the upper 8 bits in address 009F
mode is software start mode.
result
Figure 2.15.5 Operation in Repeat Mode
; AIN SELECT
LD
LD
LD
LD
; AD CONVERT START
SET
TEST
JRS
; RESULT DATA READ
LD
LD
LD
LD
registers
Second conversion Third conversion
First conversion result
86FM48-146
(P6CR1), 00000000B
(P6CR2), 00000000B
(ADCCR1), 00100011B
(ADCCR2), 11011010B
(ADCCR1). 7
(ADCDR2). 5
T, SLOOP
A, (ADCDR2)
(9EH), A
A, (ADCDR1)
(9FH), A
“11”
Conversion
result read
(ADCDR1,
Second conversion result
ADCDR2)
Conversion
result read
;
;
;
;
;
;
P6CR1 bit 3 = 0
P6CR2 bit 3 = 0
Select AIN3
Select conversion time (624/fc) and
operation mode
ADRS = 1
EOCF = 1 ?
Third conversion result
and
AD convert operation suspended.
Conversion result is not stored.
AD conversion finished
“00”
Conversion
result read
at
H
on RAM. The operation
the
TMP86FM48
same
2007-08-24
time

Related parts for TMP86xy48UG/FG