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.

MCU-PLUS-SDK-AM263X: ePWM triggers SOC ADC 4 times per period.

Part Number: MCU-PLUS-SDK-AM263X

Hi TI team.

I am trying to figure out how to trigger SOC on ADC 4 times per period from one ePWM. 

I mean, if I have 1000 HZ frequency, I need to trigger SOC every 250 us (period / 4)

Is it possible?

  • Hi Oleg,

    yes. this is possible, from the EPWM's Event Trigger Submodule, we have the SOCA/B trigger enable/source selection. the following is a snapshot from the syscfg where this can be configured. select the mix event, then mixevent source shows up. now any 4 events that match the timing and can be used for trigger generation. Hope this helps.

    Note: further configurations that "1 event generates interrupt", "count int to 0" shown in the second picture below are alos required. 

    regards,

    Madhava