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.

A problem with hardware Interrupt. Only HWI7 to HWI 10 receives Interrupt.

Hi All,

I am facing a  problem with hardware Interrupt.  I have a project that does video processing.

I have added McBSP SPI to the project in Interrupt mode using CSL.

When I use the unused(HWI4 - HWI6, HWI13 etc) interrupt, I am not able to receive the SPI interrupt.

If I use HWI7 I can receive the receive interrupt. The video processing program process video frames.

But the video is corrupted!

Please help me to solve this issue.

From the .tci file I can see HWI7-to HWI10 is used. in ECM configuration.

I have no idea about this.

/* Enable ECM Handler */
bios.ECM.ENABLE = 1;

/* ECM configuration - manually Reflect these settings in soc.h */
bios.HWI.instance("HWI_INT7").interruptSelectNumber = 0;
bios.HWI.instance("HWI_INT8").interruptSelectNumber = 1;
bios.HWI.instance("HWI_INT9").interruptSelectNumber = 2;
bios.HWI.instance("HWI_INT10").interruptSelectNumber = 3;

 

 

Thanks

Lijesh