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.

C28x "zero latency interrupts" option in SYS/BIOS

Other Parts Discussed in Thread: SYSBIOS

Hi,

I am trying to use zero latency interrupt for EPWM1_INT interrupt. Since this interrupt is located in PIE Group 3 I used the following settings in .cfg file

var Hwi = xdc.useModule('ti.sysbios.family.c28.Hwi');
Hwi.zeroLatencyIERMask = 0x0004;

I added following lines in main function before BIOS_start().

Hwi_plug(48,OffsetISR);
Hwi_enablePIEIER(3,0x0001);

Following lines are added at the end of the OffsetISR function

PieCtrlRegs.PIEACK.bit.ACK3 = 1; // Acknowledge interrupt to PIE

The code compiles without an error or warning. I run it on ezDsp28335 board PIE registers are

PIEIER3= 0x0001

PIEIFR3= 0x0001

However, the interrupt register in the core

IER.INT3 is zero in other words it seems INT3 is not activated.

I installed bios_setupwin32_6_34_01_14.exe but it does not help.

Can somebody send an example code for implementation of zero latency interrupts?

Regards,

Burak Kelleci