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.

TMS320F28377S: Execution delay from input to EPWM module

Part Number: TMS320F28377S

Hi,

We are using TMS320F28377S DSP IC in one of the project where we are driving a 28VDC BLDC motor. We are using EPWM module to generate PWMs from DSP. Pin 1 to Pin 7.  Configured Hall sensor input as GPIOs to pins 161, 162 and 163. As we are running the motor, we observed there is a current surge. We ocompared Hall sensor inputs and EPWM outputs and understood there is a delay of 300uS in execution. We analyzed the code execution delay and found it contributes only 70uS delay. However DSP hardware itself causing 230uSec delay. Could you please help us on this issue. Attached monitored waves.    

Waveform names are self explanatory. the delay can be observed between Hall A (Input at DSP pin) rising edge to Btm A (output of DSP)  falling edge.