TI中文支持网
TI专业的中文技术问题搜集分享网站

TM4C1294CAN总线关闭

请问TM4C1294进入CAN总线关闭(BUSOFF)中断后,应如何处理复位CAN总线,直接复位INIT位可以吗?TI有没有关于CAN总线错误处理的相关例程,谢谢!

Susan Yang:

您可以看一下文档 www.ti.com.cn/…/spmu298e.pdf

6.2.1 Detailed Description

After entering the bus-off condition, the CAN controller automatically disables itself just as if the application had called CANDisable(). To exit the bus-off condition, the application must call CANEnable() and then wait for the CAN_STATUS_BUS_OFF condition to clear. If the bus-off
condition does not clear, then there is likely some physical condition or bit timing issue causing the controller to be unable to function properly. There is no way to shorten this sequence as this is the method for recovering from a bus-off condition specified in the CAN 2.0 specification.

,

321 123:

谢谢!

,

Susan Yang:

不客气,后续有其他问题欢迎随时发帖

赞(0)
未经允许不得转载:TI中文支持网 » TM4C1294CAN总线关闭
分享到: 更多 (0)