3.2.1.8 ADC Sequencer Instruction RAM (Offset 0x0020 - Offset 0x009C)
Bit
Symbol
Description
Access
Reset
Value
31:4
-
Reserved
Write: don't care
Read: always reads as '0'
R
0
3:2
GAIN
[1:0]
Gain Selection (Analog Input Amplifier)
GAIN1
GAIN0
Gain Factor
Input Voltage Range
0
0
1
±10V
0
1
2
±5V
1
0
4
±2.5V
1
1
8
±1.25V
R/W
00
1
ENA
Enable this ADC Channel for the Sequencer
0 = Sequencer will pass over the ADC Channel
1 = Sequencer converts this ADC Channel and updates the ADC Data
in the Sequencer Data RAM at the end of the sequence.
R/W
0
0
SE/DIFF
Single/Differential Mode Control
0 = Single-ended mode
32 single ended channels available
1 = Differential mode
16 differential channels available.
Only channels 1-16 can be configured as differential channel. Channels
17 to 32 are used as input for channels 1 to 16.
R/W
0
Table 3-12: ADC Sequencer Instruction RAM Register
If a channel is configured as differential channel, the instruction of the associated channel is ignored (see
following chart or chapter ‘Pin Assignment – I/O Connector’ for the associated channels).
Within a sequence mixed single-ended and differential modes are possible.
Example: Channel 1 to channel 8 (with channels 17 to channel 24) are selected as differential inputs, channel 9 to
channel 16 and channel 25 to channel 32 as single-ended input channels.
Only the Sequencer Data RAM locations of channels enabled for the sequence are updated at the end of a
sequence. All other RAM locations are empty or contain old data.
Example: If only channel 1, channel 2, and channel 8 are enabled, only the three ADC RAM locations for channel
1, channel 2, and channel 8 are updated at the end of the sequence. The user must only read these three ADC
RAM locations then.
If a sequence is started with an empty instruction RAM, an I-RAM error is issued.
The Sequencer Instruction RAM is accessible only while the sequencer is not running (SEQ_ON = 0).
TPMC851 User Manual Issue 1.0.9
Page 22 of 65