Question
SPC560C05L3 in Standby mode
Posted on June 30, 2016 at 13:43
Hi everybody,
I'm trying to get my SPC560C05L3 into Standby mode, but it's not working. I also tried other modes, and getting the controller into every RUN mode is no problem, but the other modes just don't work. I use this bit of code:ME.MCTL.R = SPC5_ME_MCTL_MODE(STANDBY_MODE) | SPC5_ME_MCTL_KEY; ME.MCTL.R = SPC5_ME_MCTL_MODE(STANDBY_MODE) | SPC5_ME_MCTL_KEY_INV; if(ME.GS.B.S_MTRANS){ Send_CAN_message(); }but it's not working. I also don't get my CAN message and the processor just continues running the rest of the code. I already checked my wake-ups, and all wake-ups are disabled except 1, and that one doesn't have an active trigger and isn't triggered at all.Am I missing something to get the controller into standby mode?Thanks,Mitchel #spc560-mcu #standby