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.
工具/软件:TI-RTOS
BIOS_6_46_05_55
PROCESSOR_SDK_RTOS_k2g_4_01_00_06
pdk_k2g_1_0_7
Code Composer Studio 版本:7.2.0.00013
我在 EVM K2G 上构建并运行示例代码 MCSPI_SlaveMode_SlaveExample_evmK2G_c66xExampleProject。
中断组合事件的默认设置为中断向量4、5、6和7。
我将以下行添加到.cfg 文件中
ECM.eventGroupHwiNum[0]= 6;
ECM.eventGroupHwiNum[1]= 7;
ECM.eventGroupHwiNum[2]= 8;
ECM.eventGroupHwiNum[3]= 9;
将组合事件(0、1、2和3)映射到中断矢量6、7、8和9。
当在 CCS 中查看并打开 Tools->ROV->Hwi 时。 它显示了已设置的 Hwi 和 EventCombiner 的列表。
、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、0x40、0x4000
、0x8021d0、、、4、ti_sysbios_family_c64p_EventCombiner_disp_E、0x0、0x0、0、0x10、0x10
、0x8021f0、、、、5、ti_sysbios_family_c64p_EventCombiner_dispation_E、0x1、0x84ab34、1、0x20、0x20
为什么中断矢量4和5仍然在 Hwi 列表中?