SPRUJ28E November 2021 – September 2024 AM68 , AM68A , TDA4AL-Q1 , TDA4VE-Q1 , TDA4VL-Q1
ADC Hardware Event Selection
Each ADC module has a HW EVENT input that provides the ability to trigger ADC sampling based on a hardware event rather than through software. Muxes are provided to select the hardware trigger from external pins, periodic timer events, or eHRPWM start of conversion events.
This event selection is described in controlled by the MCU_ADCn_CTRL_TRIG_SEL (n=0,1) field of the MCU_CTRL_MMR0_MCU_ADCn_CTRL (n=0,1) registers in the Control Module (CTRL_MMR), with the default selection being each ADC's associated EXT_TRIGGER pin.
ADC GPI Integration
Each ADC module can be configured either as 8 analog inputs, or 8 digital inputs. To enable digital input mode, the MCU_ADCn_CTRL_GPI_MODE_EN (n=0,1) bit of the MCU_CTRL_MMR0_MCU_ADCn_CTRL (n=0,1) registers in the Control Module (CTRL_MMR) can be set to '1'. This enables the ADC pins to be used as general purpose digital inputs with some restrictions:
ADC Reference Integration
The ADC0/1 REFN and REFP voltage references are not pinned out on this device. See the below table for details on the internal connections for each reference.
ADC Reference | Internal Device Connection(1) |
---|---|
ADC0 REFP | VDDA_ADC0 |
ADC0 REFN | VSS |
ADC1 REFP | VDDA_ADC1 |
ADC1 REFN | VSS |