TIDUES0E June 2019 – April 2024 TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SJ-Q1
The configuration for ADC is done in the dab_main.c using the function
DAB_HAL_setupADC()
. The reference voltage, prescaling the clock and
setting up SOC (start of conversions) for the voltage and current signals are done here. The
trigger for ADC is generated from a start of conversion (SOC) signal from EPWM1. This
configuration is done inside the function DAB_HAL_setupTrigForADC()
in the
dab_main.c
file. All other settings mapping the HSEC card pin connector
signals to the control card are done in the dab_settings.h file.