Other Parts Discussed in Thread: MOTORWARE, C2000WARE
Hi,
I am using F280049 for motor control application. I understand that the ADCs are triggered based on ePWM module. I wanted to understand it more in detail and I have a few queries.
The first requirement is: To simultaneously measure currents, we need to trigger all the ADCs together. These ADCs are configured to be triggered on ADC_SocTrigSrc_EPWM1_ADCSOCA (referring to HAL document for DRVkit - motorware example, just for example).
1. What does ADC_SocNumber_1 signify? Does it mean that the ADCs will start sampling one after another in the order of SocNumber specified? In that case, will we call it a simultaneous sampling of currents?
2. Does it matter if we connect IA, IB, and IC to the same ADC channel or different ADC channels (Channel A and B)? What impact will it have?
3a.What does ADCINT1 signify? The HAL document suggests using ADCINT1 as the trigger for potentiometer configuration. What will happen if I trigger it on ADC_SocTrigSrc_EPWM1_ADCSOCA?
3b. How does ADC operation change from SocNumber 0 to 7 and from 8 to 15? I guess there is a relation with 3a but I am not able to understand.
I have read the documents but I am not able to get a hold of all these concepts. Maybe someone can help me understand ADC operation and simultaneous sampling better over here.