Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
请问如何可以向其他芯片一样,通过判断can是否进入busoff状态,然后做快启动和慢启动?
关掉CAN的自恢复,
有没有相关库函数进行配置?
关闭BusOff自恢复 CAN0->CTRL1 |= CAN_CTRL1_BOFFREC_MASK; 注册BusOff回调函数,获取BusOff状态 FLEXCAN_DRV_InstallErrorCallback(CAN_INST, DRV_CAN_ErrorEventCall, NULL);
可以参考下面YTM32B1MD14的demo: Flexcan_Busoff.zip
好的,谢谢,已经成功进入busoff了。
发帖前请查看
帮助没办法联网的电脑使用YCT
帮助改进和优化YT CONFIG TOOL,有机会抽取YTM32B1ME0 EVB哦...