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.

C6678:核间中断与网口发送raw_send函数冲突

Other Parts Discussed in Thread: TMS320C6678

我使用的是TMS320C6678,编译器是ccsv5.4,没有用SYS/BIOS,核间中断是TI提供的API函数,单独进行八核的核间通信通过了,加入到与上位机进行发送数据的大程序中,核0与核1进行通信:

KICK0 = KICK0_UNLOCK;
KICK1 = KICK1_UNLOCK;
IPC_Trigger();//核01给核1发送中断
KICK0 = KICK_LOCK;
KICK1 = KICK_LOCK;

核1处理完数据后回到核0,然后通过网口进行数据发送,但是到raw_send函数时就会出错。

send_data_image_header->payload = (unsigned short *)&seekerUPDHeader;
send_data_image_header->len = send_data_image_header->tot_len = sizeof(SEEKER_UDP_HEADER);
raw_send(pcb, send_data_image_header);

若不进行核间中断,网络发送并没有问题。

核间中断为什么会和网络发送数据冲突?还请各位大神不吝赐教