SPRUJ52C june 2022 – july 2023 AM69 , AM69A , TDA4AH-Q1 , TDA4AP-Q1 , TDA4VH-Q1 , TDA4VP-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 pinned out on this device. See the below table for details on associated device pins and PCB recommendations.
ADC Reference | Device Pin | Recommend PCB Connection (1) |
---|---|---|
ADC0 REFP | MCU_ADC0_P | VDDA_ADC0 |
ADC0 REFN | MCU_ADC0_N | VSS |
ADC1 REFP | MCU_ADC1_P | VDDA_ADC1 |
ADC1 REFN | MCU_ADC1_N | VSS |