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.

MCU-PLUS-SDK-AM263PX: CAN compile Test cases are failing on AM26xx MCAL 10.02.01 version

Part Number: MCU-PLUS-SDK-AM263PX

Tool/software:

Hello Team,

currently we are integrating MCAL of AM26xx MCAL 10.02.01 version. during compilation the CAN test cases are not getting compiled.

So, I have updated the can.xdm file by updating the wakeup functionalities which has been disabled by TI but as per autosar 4.3.1 standards it has to be added or removed as per the requirement. Please find the files below in attachments.

orginal_Can.txt

updated_Can.txt

Regards,

Shaik Abdul Mohasin

  • Hi Shaik,

    Is there any issue to compile the CAN test cases before updating the CAN xdm file?

    You can enable "Can_Checkwakeup" API and "can_mainfunction_wakeup" API through the MCAL driver configuration using EB Tresos.

  • Hello Wang,

    Sorry for the delay in response.

    without updating the can xdm file the CAN compile test cases are failing due to wakeup functionalities which is attached in the above ticket and by using EB tresos we are not able to configure them because the option is greyed out after using the latest xdm file which is given by TI after updating the XDM file the options are able to configure.

    Please refer the above screenshot and verify CAN xdm files from your end the which is given by us.

    Regards,

    Shaik Abdul Mohasin

  • Hi Shaik,

    I checked the CAN MCAL driver and configuration file, the "Can_CheckWakeup" and "Can_MainFunction_Wakeup" APIs are intentionally disabled on EB Tresos config GUI. 

    The "Can_CheckWakeup" and "Can_MainFunction_Wakeup" are empty functions in can.c:

  • Hello Wang,

    Can you please Specify the reason why it has been disabled intentionally because as per autosar 4.3.1 standards "Can_CheckWakeup" and "Can_MainFunction_Wakeup" functionalities are user configurable.

    Regarding the "CanWakeupSupport" function, for can communication we require canif Module and there it requires the "CanlfCtrlWakeupSupport" function.

    To enable this function, I have to enable the "CanWakeupSupport".

    This function should be user configurable as per the requirement. can you please make this option as enable so that we can configure as per the requirement.

    Regards,

    Shaik Abdul Mohasin 

  • Hi Shaik,

    I will make a request to enable the wakeup option in EB config HUI and update the wakeup functions in can.c. Thanks