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.

AWR2944EVM: Enable CAN

Part Number: AWR2944EVM
Other Parts Discussed in Thread: SYSCONFIG

Hi Team,

A customer is using this board which has 2 CANs MCANA and MCANB. They tried the examples in the sdk "mcan_loopback_polling" but were unable to get the communication up and running. On the schematic, the STB pin (to enable the CAN trcv) is connected to the PMIC from the other side the (CANA_NSTB is connected to the INT in the PMIC) and nothing in the example is setting the STB pin. Could this be the issue?

Can you help to get it to work? What needs to be done in the sysconfig to make this work?

Thanks for the help.

Regards,

Marvin

  • Hello Marvin,

    So the mcan_loopback_polling is the internal loopback. If you see the syscfg file, you will see that the Rx and Tx pin for the MCAN will be from the same MCAN. You can notice this syscfg file as well under the MCAN driver.
    What you are referring to is MCAN_external_loopback_interrupt where the signal Tx and Rx are on the different CANs, that is when the PMIC and STB comes into picture.
    I have attached the path for the right example which you are looking for
    C:\ti\mmwave_mcuplus_sdk_04_02_00_03\mcu_plus_sdk_awr294x_08_02_00_25\examples\drivers\mcan\mcan_external_loopback_interrupt 

    Regards,
    Saswat Kumar

  • Hi Saswat,

    Thank you for the support.

    The customer tried to run the example with the external loopback test and MCANA configuration which has the transceiver enabled, the software is going to assert:

    Do you know why is that happening?

    Regards,

    Marvin

  • Hello marvin,

    Could you please confirm which version of the SDK you are using for this example?
    Also did you make any changes in the Code or are any other changes in the SDK?

    Regards,
    Saswat Kumar

  • Hi Saswat,

    I will get back to you with the details soon.

    Regards,

    Marvin