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.

AWR1642: IWR1642 CAN异常处理

Part Number: AWR1642


你好,我写了一个CAN SBL的程序用来用于1642的APP程序更新,整体功能已经实现,现在再CAN异常处理方面出了问题。

简述一下CAN在整个过程中的操作。

SBL部分按照流程如下:

1.CANFD_init()

2.发送CAN信息

3.在准备跳到APP执行之前CANFD_deinit(canHandle,&errCode1);

APP中:

1.CANFD_init()

2.发送CAN信息

系统上电时如果有连接外部CAN网络,则上电后系统能正常工作。

系统上电时如果没有连接外部CAN网络,上电后再接入外部CAN网络,则系统CAN工作异常,没有CAN信息发出来。

如果只使用APP程序,系统上电时如果没有连接外部CAN网络,上电后再接入外部CAN网络,系统能正常工作,有CAN信息发送出来。

APP和SBL中CAN的配置是一样的。