User Manual
756
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
10-Bit Analog Digital Converter (ADC1)
Software Mode:
The default mode of the DPP1 is the sequencer mode. To change from this default mode to Software mode the
corresponding flag ADC1.CTRL3.SW_MODE has to be set. In Software Mode measurements are triggered by
writing the
.SOS bit. This bit is active as long as the conversion is in progress. The user polls
the
.EOC bit. Once this bit is ‘1’ the conversion is finished and the EOC bit is cleared on read
(rh). After the EOC bit is cleared a new conversion can be started
.SOS.
Debug Suspend Mode:
During Debug Suspend Mode the Sequencer is stopped once the current measurement is finished (after the
next EOC event) and Software Mode is entered. As long as the Debug Suspend Mode is active no measurements
are performed by the Sequencer. Once the Debug Suspend Mode is left, the Sequencer continues immediately
with the next pending measurement.
Measurements can be still triggered in Debug Suspend Mode/Software Mode. The maximum time of Software
Mode is disabled in Suspend Mode. EIM and ESM events are ignored during Debug Suspend Mode.
The ADC timing is controlled by SFR Register
• Sample time adjustment described in the register
.
Figure 195 10 Bit ADC Timing - Single conversion
24.3.2
ADC1 Control and Status Registers
The ADC1 is fully controllable by the below listed special function registers in software mode.
shows the module base addresses.
Table 409 Register
Address
Space
Module
Base Address
End Address
Note
ADC1
40004000
H
40007FFF
H
ADC1 - ADC-SAR10B
Table 410 Register
Overview
Register Short Name
Register Long Name
Offset Address
Reset Value
ADC1 Control and Status Registers
ADC1 Control and Status Register
00
H
0000 0000
H
SOC
CLK_ADC
EOC
1
SAMPLING
Channel N Sampling
N
MUX_SEL
N+1
N+1
3
4
5
6
N+2
Tsamp
Tsar
ADC_RESULT-UPDATE
SOS
N-1
N
2
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Tsum_conv