SPRUIL1D May 2019 – December 2024 DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Power up the AFE | ADC_CONTROL[4] PD | 0 |
If using DMA, set the DMA threshold and enable the appropriate DMA request(s); or set the processor threshold and enable the appropriate threshold interrupt(s) as part of the next step. | ADC_DMAENABLE_SET/ADC_FIFO0DMAREQ/ ADC_FIFO1DMAREQ/ ADC_FIFO0THRESHOLD/ ADC_FIFO1THRESHOLD | 0x- |
Setup or mask the appropriate interrupts. | ADC_ENABLE_SET | 0x- |
Configure each step being used to perform an ADC conversion. | ADC_CONFIG_j | 0x- |
Configure the delays for each step being used to perform an ADC conversion. | ADC_DELAY_j | 0x- |
Enable each step being used to perform an ADC conversion. | ADC_STEPENABLE | 0x- |
Wait minimum 4 µs before starting a conversion to provide time for the AFE to power-up. (referenced from POWER_DOWN write to 0) | ||
Enable the ADC module | ADC_CONTROL[0] MODULE_ENABLE | 1 |