Marco Fratini

MCF52259 stop mode

Discussion created by Marco Fratini on Feb 15, 2010
Latest reply on Feb 19, 2010 by Marco Fratini



I'd like to let the MCF52259 enter stop mode and then wake-up upon alarm interrupt from RTC. Reading in the reference manual, it is suggested to enter stop mode in a controlled manner. So, I was looking for an application note or some code examples, but I couldn't find nothing helpful. Does anyone have any example?


I'd not like to make something wrong in the procedure, for example: can I launch the stop mode during the execution of an interrupt service routine? I don't think it's the best way, so I'd like to find a good procedure. 


Finally, which is the "stop command" to enter stop mode? Is it the "STOP" assembly command?




Message Edited by Lord Mark on 2010-02-15 02:24 PM