MSPM0G3507: Example for CAN wake up

Part Number: MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hello,

I'm looking for an example to have a wake up by CAN, is there something existing?

Part sends and receive CAN frames, I need to have a wake up signal sent

Thanks

BR. T.

  • Hi T,

    We currently do not have any examples explicitly for waking up CAN, but the auto wake feature is included in all of the driverlib examples within the SDK.

    Which low power mode are you attempting to wake from? The device cannot natively be woken up by CAN except in the SLEEPx low power modes.

    Best Regards,
    Brian

  • Hello Brian, 

    thanks for your answer

    Shall I activate the "enable wake up request" and "enable auto-wake up" from MCAN module in sysconfig?

    Idea is to wake up other CAN participants from module that include TI microcontroler

    BR. T.

  • Hi T,

    Yes, configuring those fields within SysConfig will enable the peripheral to be woken up when there is activity on MCAN Rx.

    I can also refer you to section 26.4.10 Clock Stop Mode of the TRM, for the complete process. 

    Best Regards,
    Brian

  • Thanks - idea is not to wake up module from the CAN but to wake CAN from the module. Will it work?

  • Hi T,

    What do you mean by module?

    Here is a screenshot of the device operating mode table:

    MCAN is only operational when the device is in RUNx and SLEEPx modes. The wake configuration described in previous posts is only relative to the CAN peripheral. I was able to find an Application Note that illustrates MCAN operation in other low power modes under Section 4.4.

    You can use a CAN transmission from one device to wake the CAN on devices apart of the same bus. This is done by using the previously mentioned SysConfic settings. 

    You can also configure the CAN Rx pin of the connected devices to be an input with an enabled edge fail interrupt. This means when a CAN message is received it wakes the device from a low power mode such as STANDBY0, to a SLEEPx or RUNx power moder where CAN is operational. CAN must now be reconfigured on the awoken device. This process is further shown in the App Note linked above.

    I hope this was able to help, if not, would you mind clarifying your application further?

    Best Regards,
    Brian