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.

[参考译文] TMS570LS1224:如何检查传输停止。

Guru**** 2609775 points
Other Parts Discussed in Thread: HALCOGEN, TMS570LS1224

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/760876/tms570ls1224-how-to-check-transmit-stopped

器件型号:TMS570LS1224
主题中讨论的其他器件:HALCOGEN

解决了转换器问题后、我发现 TMS570LS1224 Launchpad 出现了新的奇怪问题。 使用 Halcogen、只配置一个发送消息框。

然后在主函数中、我总是使用 canTransmit 发送消息。 但是、在成功发送几次后(有时6次成功发送、有时15次等)、它无法发出。

   canInit();
   CAN1上的/*发送*/
   while (1)
   {
       int n = 0;
       对于(n=0;n<10000;n++)
       {

       }
       canTransmit (canREG1、canMESSAGE_BOX1、TX_DATA);
   }
我在 canTransmit 函数中执行一步、Find 程序将返回0、如下所示。 我想知道如何分析问题并找出根本原因。
   /**-检查待处理消息:
   *    -待处理消息、返回0
   *    -无待处理消息、开始新传输
   *
   if ((node->TXRQx[regIndex]& bitIndex)!= 0U)
   {
       成功= 0U;
   }
此致
Fred
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    抱歉,仍然是转换器问题
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    感谢您的更新!
    此致、
    米罗