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.

[参考译文] AM263P4-Q1:CAN 总线关闭

Guru**** 2457760 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1489579/am263p4-q1-can-bus-off

器件型号:AM263P4-Q1

工具与软件:

大家好、团队成员:

我的客户对 CAN 总线关闭有疑问。 为了从总线关闭状态中恢复、我假定硬件自动进行初始化/恢复。  

如果不是基于硬件的控制、您能告诉我软件控制流程是什么吗? 是否有一些 SDK 文档和示例可供我的客户使用?

此致、

Mari Tsunoda.

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

    尊敬的 Mari:

    这是针对 MCU_PLUS_SDK MCAN 驱动程序还是 MCAL 驱动程序?

    这不是基于硬件的控制。 这是一个基于软件的流程、客户的应用通常应该注意这个流程。

    MCU_PLUS_SDK 文档中的以下陈述突出显示了同样的情况  

    AM263Px MCU+ SDK:MCAN (LLD)

    如果发生总线关闭、我们将从驱动程序调用应用程序注册的回调。  

    这可以在 SDK\source\drivers\mcan\v0\canfd.c 中的 ISR CANFD_int0Isr ()中看到  

    此致、

    Nikhil Dasan