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.

TMS320F28069M: PWM Initialization upon an event using Simulink

Part Number: TMS320F28069M

Hello everyone,

I am currently working on generating code using embedded coder. Im using the following configuration: 

1. Enabling ADC SOC using ePWM block

2. Within ADC Interrupt read all my adcs and trigger the CLA

3. Run the control algorithm on the CLA

4. Use CLA interrupt (triggered after CLA finishes) for RMS post processing.

Now in order to start all the process, I need to wait for an external signal and read it with a digital input. 

Question is I want the ePWMs to start ONLY after reading a 1 on the external signal. Basically I dont the ePWMS to start once the chip powers up. 

How can I achieve the above in simulink?

Thanks,

Rolando