ADC Registers
891
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Analog To Digital Converter (ADC) Module
Table 22-12. ADC Group1 Operating Mode Control Register (ADG1MODECR)
Field Descriptions
Field
Value
Description
Reserved
0
Reads return 0. Writes have no effect.
No Reset on ChnSel
No Group1 Results Memory Reset on New Channel Select.
This bit determines whether the group1 results’ RAM is reset whenever a non-zero value is written to
the group1 channel select register.
Any operation mode read/write:
0
Group1 results RAM is reset when a non-zero value is written to group1 channel select register, even if
group1 conversions are completed.
1
Group1 results RAM is not reset when a non-zero value is written to group1 channel select register,
and group1 conversions are completed.
If the group1 conversions are ongoing (active or frozen), then writing a non-zero value to the group1
channel select register will always reset the group1 results RAM.
G1_DATA_FMT
Group1 Read Data Format.
This field is only applicable when the ADC module is configured to be in the 12-bit ADC module. This
field is reserved when the module is configured as a 10-bit ADC module.
This field determines the format in which the conversion results are read out of the group1 results RAM
when using the FIFO interface, that is, when reading from the ADG1BUFFER or ADG1EMUBUFFER
locations.
Any operation mode read/write:
0
Conversion results are read out in full 12-bit format. This is the default mode.
1h
Conversion results are read out in 10-bit format. Bits 11-2 of the 12-bit conversion result are returned
as the 10-bit conversion result.
2h
Conversion results are read out in 8-bit format. Bits 11-4 of the 12-bit conversion result are returned as
the 8-bit conversion result.
3h
Reserved. The full 12-bit conversion result is returned if programmed.
G1_CHID
Enable Channel Id for the Group1 conversion results to be read. This bit only affects the “read from
FIFO” mode. The ADC always stores the channel id in the results RAM. Any 16-bit read performed in
the “read from RAM” mode will return the 5-bit channel id along with the 10-bit conversion result.
Any operation mode read/write:
0
Bits 14-10, the channel id field, of the data read from the Group1 results’ FIFO is read as 00000b.
1
Bits 14-10, the channel id field, of the data read from the Group1 results’ FIFO contains the number of
the ADC analog input to which the conversion result belongs.
OVR_G1_RAM_IGN
This bit allows the ADC module to overwrite the contents of the Group1 results memory under an
overrun condition.
Any operation mode read/write:
0
The ADC cannot overwrite the contents of the Group1 results memory. When an overrun of this
memory occurs, the software needs to read out all the contents of this memory before the ADC is able
to write a new conversion result for the Group1.
1
When an overrun of the Group1 results memory occurs, the ADC proceeds to overwrite the contents
with any new conversion results for the Group1, starting with the first location in this memory.
G1_HW_TRIG
Group1 Hardware Triggered. This bit allows the Group1 to be hardware triggered. The Group1 is
software triggered by default. For more details on how to trigger a conversion group, refer to
Any operation mode read/write:
0
The Group1 is software-triggered. A Group1 conversion starts whenever the Group1 channel select
register (ADG1SEL) is written with a non-zero value.
1
The Group1 is hardware-triggered. A Group1 conversion starts whenever the Group1 channel select
register has a non-zero value, and the specified hardware trigger occurs. The hardware trigger for the
Group1 is specified in the Group1 Trigger Source register (ADG1SRC).