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.

RTOS/PROCESSOR-SDK-K2G: Setting ECM.eventGroupHwiNum in cfg file didn't change the default ECM

Part Number: PROCESSOR-SDK-K2G
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS


bios_6_46_05_55
processor_sdk_rtos_k2g_4_01_00_06
pdk_k2g_1_0_7
Code Composer Studio  Version: 7.2.0.00013

I built and run example code, MCSPI_SlaveMode_SlaveExample_evmK2G_c66xExampleProject, on EVM K2G ok.

The default settings for interrupt combined events are interrupt vectors 4, 5, 6, and 7.

I added the following lines into .cfg file
ECM.eventGroupHwiNum[0] = 6;
ECM.eventGroupHwiNum[1] = 7;

ECM.eventGroupHwiNum[2] = 8;
ECM.eventGroupHwiNum[3] = 9;
to map the combined events (0, 1, 2, and 3) into interrupt vectors 6, 7, 8, and 9.

When look in CCS and open up the  Tools->ROV->Hwi.  It shows the list of Hwi and EventCombiner that have been setup.
,0x874680,,,6,ti_sysbios_family_c64p_EventCombiner_dispatch__E,0x0,0x0,0,0x40,0x40
,0x874698,,,7,ti_sysbios_family_c64p_EventCombiner_dispatch__E,0x1,0x846696,1,0x80,0x80
,0x8746b0,,,8,ti_sysbios_family_c64p_EventCombiner_dispatch__E,0x2,0x0,2,0x100,0x100
,0x8746c8,,,9,ti_sysbios_family_c64p_EventCombiner_dispatch__E,0x3,0x0,3,0x200,0x200
,0x8746e0,0x875190,,14,ti_sysbios_knl_Clock_doTick__I,0x0,0x851074,32,0x4000,0x4000
,0x8021d0,,,4,ti_sysbios_family_c64p_EventCombiner_dispatch__E,0x0,0x0,0,0x10,0x10
,0x8021f0,,,5,ti_sysbios_family_c64p_EventCombiner_dispatch__E,0x1,0x84ab34,1,0x20,0x20

Why interrupt vectors 4 and 5 are still in Hwi list?