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.

TMS320F28035: PWM5 can't trigger SOC, but PWM1 can

Part Number: TMS320F28035

Hi,

Did you meet the issue of ADC trigger source?

In details:

1) PWM1 can trigger SOC, everything works well;

2) PWM5 can't trigger SOC, no values (value 0) in ADC result registers, no interrupt, no EOC flag and others. 

F28035 Q100 version. Other functions of F28035 are all good. 

Thanks a lot.

Br, Jordan

  • Jordan,

    There are two places that have to be enabled for the ePWM to trigger the ADC.  

    1)TrigSEL bits in the ADCSOC# register; should be either 0xD or 0xE for ePWM5A/B to trigger the SOC

    2)ETSEL bits must be configured correctly either for SOCA or SOCB to be driven on a PWM event.

    I believe both of the above are EALLOW protected, so we need to make sure that is also enabled else the writes will not work.

    Best,

    Matthew

  • Matthew,

    Thanks for your info.

    But it's not that issue. 

    F28035 is already MP in customer's project. Only one pcs of F28035 faced the issue. Others are all working well.

    Br, Jordan

  • Jordan,

    I understand now, if this is only occurs on one device then I recommend we document the issue and submit for failure analysis.  This is not a known issue.

    Best,

    Matthew