Part Number: TMS320F28377D
Tool/software: Code Composer Studio
Hi,
Could anyone help me with this? I really read the ADC reference a lot but still I don't really understand how the ADC value is ready to use and don't know how to check to see if it is right. Could you please correct what I understand 1,2,3?
ePWM2SOCA is trigger for A0, A1, B0 on zero match
ePWM3SOCA is trigger for B4 on period match
Both ePWMs are up-down mode and both are syn. with ePWM1.
1. ePWM2SOCA and ePWM3SOCA arrive at the same time.
2. A0+B0->A1->B4 sequentially are sampled or actually A0-A15 and B0-B15 all are sequentially sampled? Is there a need to wait for the time base counter of ePWM3 to reach to the period then get B4 sampled?
3. Set EOC4 as trigger for interrupt ADCB1 and values from A0, B0, A1, B4 are transferred to the result regs. Or do I need to set two interrupts ADCA1 and ADCB1 because I use two trigger sources?