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: The settings for MCAN on AWR1642

Guru 16800 points
Part Number: AWR1642

Hello,

Could you tell me the detail of the settings for MCAN on AWR1642?
My customers refer to MCANAppInitParams in the following file.
C:\ti\mmwave_sdk_01_02_00_05\packages\ti\drivers\canfd\test\xwr16xx\main.c

1.In case of FD mode enabled (mcanCfgParams->fdMode = 0x1U), is there any settings are needed?
  They want to know whether the parameters in MCANAppInitParams is enough to FD mode.

2.For mcanCfgParams->efbi, what is the case need to set to 1?
  To synchronize the devices on CAN bus, should it set to 1?

3.For mcanCfgParams->filterConfig.rrfe, in case of the 11-bit ID system, is this setting valid?

4.For mcanCfgParams->msgRAMConfig.rxFIFO1OpMode, it seems the default setting is 64U.
  However, it should be 1 or 0.
  So, which is the recommended settings, 0 or 1?

Best Regards,
Nomo

  • Hello Nomo-san,

    A1: Along with "mcanCfgParams->fdMode = 0x1U" , When you are transmitting the data you need to use "CANFD_MCANFrameType_FD" as the frametype in "CANFD_transmitData()".

    A2: The "EFBI" bit is used to detect edge for hard synchronization . If this bit is set to 0 then edge filtering is disbaled , if it is 1 then 2 consecutive dominant tq(time quanta) are required for the detect edge. This is more for synchronization/integration with CANBUS .

    A3: Can be set to 1 in case of 11bit ID system.

    A4: This is for the FIFO 1 operation mode, setting it 0 FIFO operates in blocking mode and 1 works in overwrite mode. Preferred is blocking mode.

    Thanks,
    Raghu
  • Hello Raghu-san,

    Thank you for your reply.
    I'll refer to your information.

    Best Regards,
    Nomo