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.

Configuring interrupts

Other Parts Discussed in Thread: TMS320F28335

I am working on a starter kit eZdsp using the TMS320F28335 DSP, how do I have one timer interrupt program controlling all ePWM modules in sync ? Timer is to be in upcounting mode.

Thanks

Sanjay Lakshminarayanan

  • Sanjay Lakshminarayanan said:

    I am working on a starter kit eZdsp using the TMS320F28335 DSP, how do I have one timer interrupt program controlling all ePWM modules in sync ? Timer is to be in upcounting mode.

    Thanks

    Sanjay Lakshminarayanan

    Senjay,

    Each ePWM module has its own timer, period, etc but within the interrupt you can do whatever you like.  

    One thought is to configure the interrupt for ePWM 1 only and within the interrupt update all of the ePWM module parameters that need to be.  The question would be if you have enough time to update for each ePWM module.

    You can also look at the SYNC output from each ePWM and see if it helps you do what you would like to.

    Regards,

    -Lori