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.

[参考译文] TM4C123GH6PZ:CAN 通信问题

Guru**** 2539500 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1136923/tm4c123gh6pz-can-communicating-issue

器件型号:TM4C123GH6PZ

大家好、

以下是客户可能需要您帮助的2个问题:

1) 1)何时可以置位接收中断、它是否会为接收到的每个字节生成中断?  

2) 为什么 CANIntStatus 接收数据的返回值是(0 - 5)/[1 - 4]而不是(0 - 33)/[1 - 32]?(TivaWare 外设驱动程序库 用户指南)  

您可以帮助检查此案例吗? 谢谢。

此致、

樱桃

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

    您好 Cherry、

    [引用 userid="496057" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1136923/tm4c123gh6pz-can-communicating-issue ]1)当可以设置接收中断时、它是否会为接收到的每个字节生成中断?  [/报价]

    否、它每次接收到一个完整的报文对象时都会产生一个中断。

    [引用 userid="496057" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1136923/tm4c123gh6pz-can-communicating-issue ]2) 为什么 CANIntStatus 接收数据的返回值为(0-5)/[1-4]而不是(0-33)/[1-32]?(TivaWare 外设驱动程序库 用户指南) 

    CANIntStatus 接收数据将指示最高优先级的报文对象。  在报文中断中、序号最低的报文对象的中断优先级最高。

    此致、

    Ralph Jacobi