AUTOSAR special project: the first frame message is an NM message implementation method

        In the automotive industry, OEMs usually have the requirement that the first frame of message after CAN network wakes up will be NM. Based on the current AUTOSAR architecture, if it is just a simple configuration, it may be difficult to implement.

        Here are two ideas to achieve the above functions:

1. State transition request full com in CanNm Mainfunction

        The idea is to activate the pduid of two frames of nm during initialization, and deactivate the pud of the application message;

        Call the function Com_ActivateAlwaysOnTxComIPdus in Com_init. After entering

 

        In the configurator, I found that the NM message sending ID is exactly 11 (how to implement it here: During configuration, the application messages of a CAN channel are usually managed in group form. NM does not belong to the group. According to the standard NM Pdu will always be activated. state).

Guess you like

Origin blog.csdn.net/djkeyzx/article/details/130639169