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.

sysbios下的MCBSP的接收中断时好时坏

Other Parts Discussed in Thread: SYSBIOS

 大家好 

我用的是CCS5.5   SYSBIOS6.37.5.35 XDC3.25.6.96

外设用的是MCBSP 中断的收 中断的发

中断的配置如下:

CpIntc_mapSysIntToHostInt(0, SYS_INT_MCBSP0_RINT, 9);
CpIntc_dispatchPlug(SYS_INT_MCBSP0_RINT, &McBSP0ISR_RX, SYS_INT_MCBSP0_RINT, TRUE);
CpIntc_enableHostInt(0, 9);
eventId = CpIntc_getEventId(9);
Hwi_Params_init(&params);
params.eventId = eventId;
params.arg = 9;
params.enableInt = TRUE;
Hwi_create(5, &CpIntc_dispatch, &params, &eb);

CpIntc_mapSysIntToHostInt(0, SYS_INT_MCBSP0_XINT, 8);
CpIntc_dispatchPlug(SYS_INT_MCBSP0_XINT, &McBSP0ISR_TX, SYS_INT_MCBSP0_XINT, TRUE);
//CpIntc_enableHostInt(0, 8);
eventId = CpIntc_getEventId(8);
Hwi_Params_init(&params);
params.eventId = eventId;
params.arg = 8;
params.enableInt = TRUE;
Hwi_create(8, &CpIntc_dispatch, &params, &eb);

Hwi_enable();

中断的配置应该没有什么问题!!!

程序跑起来后 发送的中断一直正常执行

有时当接收进正常进中断 然后系统复位 从新加载程序 就进不去中断 但此时发送的中断正常???

我同时 用非SYSBIOS的裸机程序测了下MCBSP 的收发 接收中断怎么用都是正常的!!!这样至少说明和硬件没关系 !!!

那会不会是SYSBIOS问题 是SYSBIOS版本的问题???

大家有没有遇到这样的问题?