Page 296
20. 10-bit AD Converter (ADC)
20.2 Control
TMP89FM42
RA001
Note 1: Make sure that you make the ACK setting when AD conversion is in a halt condition (ADCCR2<ADBF>="0").
Note 2: Make sure that you write "0" to bit 3 of ADCCR2.
Note 3: If STOP, IDLE0 or SLOW mode is started, EOCF and ADBF are initialized to "0".
Note 4: If the AD converted value register (ADCDRH) is read, EOCF is cleared to "0". It is also cleared to "0" if AD conversion is
started (ADCCR1<ADRS>="1") without reading ADCDRH after completing AD conversion in single mode.
Note 5: If an instruction to read ADCCR2 is executed, 0 is read from bits 3 through 5.
AD converter control register 2
ADCCR2
7
6
5
4
3
2
1
0
(0x0035)
Bit Symbol
EOCF
ADBF
-
-
"0"
ACK
Read/Write
R
R
R
R
W
R/W
After reset
0
0
0
0
0
0
0
0
EOCF
AD conversion end flag
0:
1:
Before conversion or during conversion
Conversion end
ADBF
AD conversion BUSY flag
0:
1:
AD conversion being halted
AD conversion being executed
ACK
AD conversion time select (exam-
ples of AD conversion time are
shown in the table below)
000:
001:
010:
011:
100:
101:
110:
111:
39/fcgck
78/fcgck
156/fcgck
312/fcgck
624/fcgck
1248/fcgck
Reserved
Reserved
Table 20-1 ACK Settings and Conversion Times Relative to Frequencies
Frequency (fcgck)
ACK setting
Conversion
time
10MHz
8MHz
4MHz
2MHz
5MHz
2.5MHz
1MHz
0.5MHz
0.25
MHz
000
39/fcgck
-
-
-
19.5
µ
s
-
15.6
µ
s
39.0
µ
s
78.0
µ
s
156.0
µ
s
001
78/fcgck
-
-
19.5
µ
s
39.0
µ
s
15.6
µ
s
31.2
µ
s
78.0
µ
s
156.0
µ
s
-
010
156/fcgck
15.6
µ
s
19.5
µ
s
39.0
µ
s
78.0
µ
s
31.2
µ
s
62.4
µ
s
156.0
µ
s
-
-
011
312/fcgck
31.2
µ
s
39.0
µ
s
78.0
µ
s
156.0
µ
s
62.4
µ
s
124.8
µ
s
-
-
-
100
624/fcgck
62.4
µ
s
78.0
µ
s
156.0
µ
s
-
124.8
µ
s
-
-
-
-
101
1248/fcgck
124.8
µ
s
156.0
µ
s
-
-
-
-
-
-
-
11*
Reserved
Note 1: Spaces indicated by "-" in the above table mean that it is prohibited to establish conversion times in these spaces.
fcgck: High Frequency oscillation clock [Hz]
Note 2: Above conversion times do not include the time shown below.
- Time from when ADCCR1<ADRS> is set to 1 to when AD conversion is started
- Time from when AD conversion is finished to when a converted value is stored in ADCDRL and ADCDRH.
If ACK = 00*, the longest conversion time is 10/fcgck (s). If ACK = 01*, it is 32/fcgck (s). If ACK = 10*, it is 128/fcgck(s).
Note 3: The conversion time must be longer than the following time by analog reference voltage (VAREF).
- VAREF = 4.5 to 5.5 V
15.6
µ
s or longer
- VAREF = 2.7 to 5.5 V
31.2
µ
s or longer
- VAREF = 2.2 to 5.5 V
124.8
µ
s or longer
Summary of Contents for TLCS-870/C1 Series
Page 1: ...8 Bit Microcontroller TLCS 870 C1 Series TMP89FM42 查询TMP89FM42供应商 捷多邦 专业PCB打样工厂 24小时加急出货 ...
Page 3: ...Revision History Date Revision 2007 10 25 1 First Release 2007 11 3 2 Contents Revised ...
Page 4: ......
Page 14: ......
Page 18: ...1 3 Block Diagram TMP89FM42 1 3 Block Diagram Figure 1 2 Block Diagram ...
Page 22: ...1 4 Pin Names and Functions TMP89FM42 ...
Page 60: ...2 CPU Core 2 5 Revision History TMP89FM42 ...
Page 76: ...3 Interrupt Control Circuit 3 8 Revision History TMP89FM42 ...
Page 86: ...4 External Interrupt control circuit 4 3 Function TMP89FM42 ...
Page 102: ...7 Voltage Detection Circuit 7 5 Revision History TMP89FM42 ...
Page 126: ...8 I O Ports 8 3 I O Port Registers TMP89FM42 Note 2 i 0 to 1 ...
Page 136: ...8 I O Ports 8 5 Revision History TMP89FM42 ...
Page 142: ...9 Special Function Registers 9 3 SFR3 0x0E40 to 0x0EFF TMP89FM42 ...
Page 146: ...10 Low Power Consumption Function for Peripherals TMP89FM42 ...
Page 149: ...TMP89FM42 11 3 Revision History Rev Description RA001 Deleted SLEEP2 description ...
Page 150: ...11 Divider Output DVO 11 3 Revision History TMP89FM42 ...
Page 220: ...15 Real Time Clock RTC 15 4 Real Time Clock Operation TMP89FM42 ...
Page 250: ...16 Asynchronous Serial Interface UART 16 15 Revision History TMP89FM42 ...
Page 302: ...18 Serial Bus Interface SBI 18 7 Revision History TMP89FM42 ...
Page 338: ...21 Flash Memory 21 4 Toggle Bit D6 TMP89FM42 ...
Page 384: ...22 Serial PROM Mode 22 15 Revision History TMP89FM42 ...
Page 388: ...24 Input Output Circuit 24 1 Control Pins TMP89FM42 ...
Page 404: ...25 Electrical Characteristics 25 11 Revision History TMP89FM42 ...
Page 406: ...26 Package Dimensions TMP89FM42 ...
Page 408: ......