Other Parts Discussed in Thread: BOOSTXL-DRV8323RS
I'm having some confusion designing the ADC sampling routine for the 64pin F280041C. We do not need to use any PGAs and the ADC voltages all come in at 0V-3.3V. Looking at the example of the C2000_MotorControl_SDK solutions with the BOOSTXL-DRV8323RS, the F280049C samples motor current, motor voltage, battery voltage, and throttle.
Motor current sample uses ADC channels A14, B7, and C7 and ADC_SOC_NUMBER0.
Motor voltage sample uses ADC channels A5, B0, and C2 and ADC_SOC_NUMBER1.
Battery voltage sample uses ADC channel B1 and ADC_SOC_NUMBER2.
Throttle voltage sample uses ADC channel B3 and ADC_SOC_NUMBER3.
If I'm correctly following this logic then the best design is one where ADC_SOC_NUMBER only samples one input from each ADC channel? For example the following would not work because we are sampling twice from channel B on the same SOC.
Motor current sample uses ADC channels A4, B4, and B1 and ADC_SOC_NUMBER0.
Does this make sense?