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.

ehrPWM Interrupt Delay.

hi all,

I have been using beaglebone A6 type. I have edited the ehrpwm_haptics in StarterWare2.00.00.07. I hope the PWM pulse output and ePWM2INT ISR routine. However, the delay interrupt is generated. After the event trigger is generated, the delay time is  8 ~ 10US. the interrupt routine, GPIO LED is toggled. What is the problem?

 

All Setting value is below.

 

Freq : 10MHZ, Period : 400, CMPB : 300

Output Freq : 25Khz, t : 40us

 

TBCTL : FREE,SOFT(1), PHSDIR(0),CLKDIV(0),HSPCLKDIV(5),SWFSYNC(0),

               SYNCOSEL(0),PRDLD(1),PHSEN(0),CTRMODE(0)

TBPHS : 0

TBPRD : 400

 

CMPCTL : SHDWBMODE(1),  LOADBMODE(3)

CMPB : 300

 

AQCTLB : CBU(1) - Clear, ZRO(2) - Set

 

ETSEL : 1 (TBCNT : 0000) 

ETPS :1 (first Event)

 

DB : Disable

Chopper : Disable

TZ : Disable

HR : DIsable