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.

CAN模块中关于点对点的发送接收问题



一个节点发送数据成功的话,对应的TA位会置位,

CPU通过向其写1使其复位,在这里CPU是自动对其执行复位操作还是要写语句复位;

很多例程是写语句复位,但是我发现没有那句语句也会使得CANTA位从1变为0,而且即使写了也无法执行那句语句。

for(i=0;i<10;i++)

{

if(ECanRegs.CANTA.all==0x00000001)

{break;}

delay(...);

}

ECanRegs.CANTA.all=0x00000001;