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.

TMS320F280025C: EPWM lab from the c2000 academy

Part Number: TMS320F280025C
Other Parts Discussed in Thread: SYSCONFIG

I used epwm lab from c2000 academy as reference

1. To generate pwm's at two gpios i,e. GPIO 0 and GPIO 1 using epwm1

2.  I am also using another GPIO and setting its initial state as high ( all this using SYSCONFIG ) .

May I know the sequence of execution of the above two?

My aim is to execute the latter instruction first and then the former 

  • Hi Nabeela,

    I would suggest replacing your Board_Init() function in your main file with its contents from board.c. This will allow you to control the order of execution of your initialization functions without editing the board.c file, and set your GPIO to a high state before your EPWM initialization.

    Thank you,

    Luke