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.

how to apply HWI in OMAPL138?

Other Parts Discussed in Thread: OMAP-L138, SYSBIOS

CCS : v6

OS : win 7 x64

SYS/BIOS : 6_40_02_27

xdctools : 3_30_02_44_core

board : Zoom OMAP-L138 EVM Development Kit (LOGIC PD)

In order to controlling PWM, I try to apply hwi. when i made project, i choose C6000 complier to work on DSP part.

Left side is DSP interrupt assignment of OMAP-L138(datasheet). number 18 is ehrPWM1. but right side of figure is shown 'ti.sysbios.family.c64p.Hwi/interrupt: indx out of range'.

I think that this problem has occurred because I skipped some important file or I incorrectly set to HWI-instance setting.

Other sysbios propertis are used as well. please help to apply hwi~?

  • There are only 16 interrupts on the c64P devices. The 18 you are referring to is the Event Id. You have the event id set to -1 in your snapshot. You need to set this to 18. Use any of the remappable interrupt lines for the "Interrupt number" (i.e. 4-15).

    Todd