This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28P550SJ: EPWM SOC trigger does not start ADC

Part Number: TMS320F28P550SJ
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

I am not able to use EPWM8A to generate a SOC0 trigger for an ADC. I am able to start the ADC doing the following.

  1. CPU Timer 1 SOC0 works as a check.
  2. Forced Software SOC0 works from EPWM8A interrupt.

Since the ADC does conversion with the CPU Timer and Forced Software, I assume it is setup correctly in SysConfig. The EPWM8A SOC0 trigger is setup in SysConfig as follows:

  1. SOCA Trigger enabled.
  2. SOCA Trigger Source - counter equal to CMPA when timer is counting up.
  3. SOCA Trigger Event count - 1
  4. SOCA Trigger Event Count Initial Value Load not enabled.

I don't see any other settings that are required. What else can I do to solve the problem?

Thanks

Dennis

  • Hi Dennis,

    In order to have PWM trigger ADC SOCs, you need to make sure that the PWM is configured to send the SOC signal to ADC, and that the ADC is configured to receive the PWM SOC and recognize it as a hardware trigger. Have you done this on the ADC side (you need to specifically select PWM SOC signal as ADC hardware trigger)?

    We have several examples that use PWM to trigger ADC SOC that you can reference as well to check your settings. For example, please see {C2000Ware}\driverlib\f28p55x\examples\adc\adc_ex10_multiple_soc_epwm. 

    Best Regards,

    Allison