TMP86xy92DMG Toshiba, TMP86xy92DMG Datasheet - Page 184

no-image

TMP86xy92DMG

Manufacturer Part Number
TMP86xy92DMG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy92DMG

Package
SSOP30
Rom Types (m=mask,p=otp,f=flash)
M/F
Rom Size
16
Ram Size
512
Driver Led
8
Driver Lcd
-
Spi/sio Channels
1
Uart/sio Channels
2
I2c/sio Channels
1
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
6
Da Converter Channels
-
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
1
Timer Counter 8-bit Channel
2
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
24
Power Supply (v)
4 to 5.5
16.3
Function
16.3.3
ADCCR1<AMD>
ADCCR1<ADRS>
Conversion operation
ADCDR1,ADCDR2
ADCDR2<EOCF>
INTADC interrupt request
ADCDR1
ADCDR2
Register Setting
1. Set up the AD converter control register 1 (ADCCR1) as follows:
2. Set up the AD converter control register 2 (ADCCR2) as follows:
3. After setting up (1) and (2) above, set AD conversion start (ADRS) of AD converter control register 1
4. After an elapse of the specified AD conversion time, the AD converted value is stored in AD converted
5. EOCF is cleared to “0” by a read of the conversion result. However, if reconverted before a register
(ADCCR1) to “1”. If software start mode has been selected, AD conversion starts immediately.
value register 1 (ADCDR1) and the AD conversion finished flag (EOCF) of AD converted value register
2 (ADCDR2) is set to “1”, upon which time AD conversion interrupt INTADC is generated.
read, although EOCF is cleared the previous conversion result is retained until the next conversion is
completed.
・ Choose the channel to AD convert using AD input channel select (SAIN).
・ Specify analog input enable for analog input control (AINDS).
・ Specify AMD for the AD converter control operation mode (software or repeat mode).
・ Set the AD conversion time using AD conversion time (ACK). For details on how to set the
・ Choose IREFON for DA converter control.
Indeterminate
conversion time, refer to Figure 16-1 and AD converter control register 2.
AD conversion start
1st conversion
result
Figure 16-3 Repeat Mode
2nd conversion result
1st conversion result
Conversion
result read
Conversion
result read
“11”
Page 170
3rd conversion result
2nd conversion result
Conversion
result read
Conversion
result read
3rd conversion result
Conversion
result read
AD convert operation suspended.
Conversion result is not stored.
Conversion
result read
EOCF cleared by reading
conversion result
“00”
TMP86FH92DMG

Related parts for TMP86xy92DMG