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.

TMS320F28335: How to set flag in c2000 blockset code of Matlab for ADC SOC?

Part Number: TMS320F28335

Tool/software:

I am using DSP f28335 for my code. I am giving 3 seperate set of ADC SOC from EPWM. One is at EPWM (ctr=Zero),EPWM (ctr= incrementing and equal to comp B), EPWM (ctr= decrementing and equal to comp B).I need to check the correct instance of ADC Soc, for ADC SOC at EPWM (ctr=Zero) using a flag. But in the blockset i am not getting how to set a flag and latch its output at some GPIO pin for comparison.