Quantcast
Channel: Hercules™︎ 安全微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 790

TMS570 CAN接收时只能接收到邮箱号小的CAN消息

$
0
0

  以下是CAN的接收函数

 if(canIsRxMessageArrived(canREG2, 11))
   {
    canGetData(canREG2, 11, CanMsg.Data.U08); // copy to RAM   ID 301
   }


   if(canIsRxMessageArrived(canREG2, 2))
   {
    canGetData(canREG2, 2, CanMsg.Data.U08); // copy to RAM   ID 300
   
   }

初始化接收的邮箱时只能接收邮箱号小的


Viewing all articles
Browse latest Browse all 790

Latest Images

Trending Articles