Hi, Dave Default is sleep0 when call __WFI(); Or you can use DL API below to switch to SLEEP0: DL_SYSCTL_setPowerPolicyRUN0SLEEP0(); In STOP or STANDBY mode, we usually re-config CAN-RX to GPIO and use a GPIO external interrupt to wake-up MCU and re-configure CAN peripherals to enable CAN communication. [quote userid="621613" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1431520/mspm0g3507-mcan-wakeup-interrupt-not-being-generated/5489377#5489377"]Do you see anything else that might be problematic?[/quote] I never test this feature before. 1. Make sure CAN interrupt is enable both in NVIC and in CAN peripherals. 2. From TRM: 20.6 Interrupt and Event Support, this interrupt need to be enabled in syscfg or from your code. You can refer to TRM MCAN's 20.5 MCAN Integration for a more detailed MCAN interrupt routine. And TRM 20.4.10 Clock Stop Mode is a detailed description of CAN Clock Stop Handling. Regards, Helic
↧