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.

LP-MSPM0G3519: Classic CAN is not enabled on MCAL "MCAL_MSPM0_00.02.05.00_Internal".

Part Number: LP-MSPM0G3519

Tool/software:

Hello Team,

We are using  "MCAL_MSPM0_00.02.05.00_Internal".

While integrating the CAN module, we observed that there is no flexibility to choose between classic CAN and FD CAN through the configuration.

Also, in the static code, we came across the following code : 

The code is, by default, enabling CAN FD, and there is no option for the user to select classic CAN.

Regards,

Kiran

  • Hi Kiran,

    Thanks for the feedback here, will check with MCAL team to see any comments here.

    Would you want to implement classic CAN in your application that requires an quick fixed, or you can wait next version release.

    B.R.

    Sal

  • Hello Sal,

    We want to implement Classic CAN on one channel and CAN FD on the other.
    As far as I know, you will release the beta version in July 2025, which would be too long for us.
    If you have a quick fix, it would be better if you share it with us.

    Regards,

    Kiran

  • Hi Kiran,

    Update the feedback here for other awareness.

    As per the AUTOSAR 4.3.1 specification there is no requirement to provide a configuration to select between classic CAN and FD CAN through the configurator.

    The spec expects the configuration for "CanControllerFdBaudRate" which specifies the data segment baud rate of the controller in kbps.

    Today the selection between classic CAN and CAN FD is made based on software implementation using "PduInfo->id".

    Whether the reserved bit is set or not in "PduInfo->id" is checked using the mask "CAN_ID_CAN_CONTROLLER_TYPE_MASK" based on which it is decided if it is a Classic CAN frame or a CAN FD frame.

    Additionally the "fdMode"(flexible data mode) is just to enable or disable the flexible data mode in the CAN IP.

    The Classic Can frame is also supported even if "fdMode" is enabled by disabling the bit rate switching field available in "CanControllerTxBitRateSwitch" using the configurator.

    B.R.

    Sal