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.

AWR6843AOPEVM: Issue of receiving CAN information with different ID and different bit length identifier( standard instead of extended)

Part Number: AWR6843AOPEVM

Hello,

I'm using can-fd code base in mmwave_sdk_03_05_00_04 with enabling  CAN_FD,BRS and EXTENDED-CAN. I'm currently facing following issues mentioned below when sending and receiving CAN messages.

1. Extended message with different CAN ID the code is crashing

2. CAN messages with same ID but with standard CAN the message crashes

We also checked the code by modifying rrfe,rrfs but still didn't help the following issue.

  • Hi, 

    Can you please send in teh details for the test? 

    Regards, 

    Sudharshan K N 

  • Hi, 

    Also are these changes done with TI reference drivers? Please confirm. 

    Regards, 

    Sudharshan K N 

  • Hi,
    Testing was done using PCAN view. Using PCAN view we checked for CAN message sending and receiving. We observed CAN message was sent for same ID but
    did not recevie the message. We also set the following CAN paramaters in canfd.h to 1 and checked  but still the result was same                                               mcanCfgParams->fdMode = 0x1U;
    mcanCfgParams->brsEnable = 0x1U;
    mcanCfgParams->txpEnable = 0x0U;
    mcanCfgParams->efbi = 0x0U;
    mcanCfgParams->pxhddisable = 0x0U;
    mcanCfgParams->darEnable = 0x1U;
    mcanCfgParams->wkupReqEnable = 0x1U;
    mcanCfgParams->autoWkupEnable = 0x1U;
    mcanCfgParams->emulationEnable = 0x0U;
    mcanCfgParams->emulationFAck = 0x0U;
    mcanCfgParams->clkStopFAck = 0x0U;
    mcanCfgParams->wdcPreload = 0x0U;
    mcanCfgParams->tdcEnable = 0x1U;
    mcanCfgParams->tdcConfig.tdcf = 0U;
    mcanCfgParams->tdcConfig.tdco = 8U;
    mcanCfgParams->monEnable = 0x0U;
    mcanCfgParams->asmEnable = 0x0U;
    mcanCfgParams->tsPrescalar = 0x0U;
    mcanCfgParams->tsSelect = 0x0U;
    mcanCfgParams->timeoutSelect = CANFD_MCANTimeOutSelect_CONT;
    mcanCfgParams->timeoutPreload = 0x0U;
    mcanCfgParams->timeoutCntEnable= 0x0U;
    mcanCfgParams->filterConfig.rrfe = 0x1U;
    mcanCfgParams->filterConfig.rrfs = 0x1U;
    mcanCfgParams->filterConfig.anfe = 0x1U;
    mcanCfgParams->filterConfig.anfs = 0x1U;
    mcanCfgParams->msgRAMConfig.lss = 127U;
    mcanCfgParams->msgRAMConfig.lse = 64U;
    mcanCfgParams->msgRAMConfig.txBufNum = 32U;
    mcanCfgParams->msgRAMConfig.txFIFOSize = 0U;
    mcanCfgParams->msgRAMConfig.txBufMode = 0U;
    mcanCfgParams->msgRAMConfig.txEventFIFOSize = 0U;
    mcanCfgParams->msgRAMConfig.txEventFIFOWaterMark = 0U;
    mcanCfgParams->msgRAMConfig.rxFIFO0size = 0U;
    mcanCfgParams->msgRAMConfig.rxFIFO0OpMode = 0U;
    mcanCfgParams->msgRAMConfig.rxFIFO0waterMark = 0U;
    mcanCfgParams->msgRAMConfig.rxFIFO1size = 0U;
    mcanCfgParams->msgRAMConfig.rxFIFO1waterMark = 0U;
    mcanCfgParams->msgRAMConfig.rxFIFO1OpMode = 0U;
    mcanCfgParams->eccConfig.enable = 1;
    mcanCfgParams->eccConfig.enableChk = 1;
    mcanCfgParams->eccConfig.enableRdModWr = 1;
    mcanCfgParams->errInterruptEnable = 1U;
    mcanCfgParams->dataInterruptEnable = 1U;
    mcanCfgParams->appErrCallBack = MCANAppErrStatusCallback;
    mcanCfgParams->appDataCallBack = MCANAppCallback;

  • Hi, 

    Did you try the CAN FD test example drivers and does it work? Please confirm. I will take a look at these settings and get back to you by end of he week. 

    Regards, 

    Sudharshan K N 

  • Hi, 

    Can you try this example with SDK3.6? There were specific pin mux changes added for AOP devices. 

    Regards, 

    Sudharshan K N 

  • Hello, We changed some of above configurations so the issue is resolved

    Thanks for the support

  • Hi, 

    Based on the confirmation I am closing this thread. 

    Regards, 

    Sudharshan K N