Stopped by a Datasheet - a Freescale microcontroller
I never thought that I could be stopped by a datasheet (a Freescale microcontroller).
The device was always on, but poorly managed, since stand by current was demanding on battery life.
Aside from some circuit modifications, the meat of the job was in managing the stop function of the micro, where peripherals and core are stopped, allowing for a very low quiescent current.
For the purposes of this project two stop modes were available: wake on keyboard / wake on stop mode timer.
Due to original requests from customer, both modes were useful. I was thinking about:
- Put the micro in stop/wake on keyboard, lowest consumption.
- Wake from keyboard
- Perform requested operation
- Enable stop/wake from timer (every 25ms) for 3s, with higher consumption
- If no more operation are requested, then go back to stop/wake on keyboard, lowest consumption
This two handling modes allow for a rapid response from operator requests and lower consumption on the other hand.
BUT.......
If you go to MC68HC908QY4A datasheet, it is written that once you select one of the two modes after reset, you are not allowed to switch to the other stop mode.....
Thus I had to implement the following cycle :
- Put the micro in stop/wake on keyboard, lowest consumption
- Wake from keyboard
- Perform requested operation
- Wait for 3s, with very high consumption
- If no more operation are requested, then go back to stop/wake on keyboard, lowest consumption
Pity, isn't it ?
- frabs's blog
- 2293 reads





Stop/Wake Modes
What are the "stop/wake on keyboard" and "stop/wake from timer" modes you are talking about in this post? I am not familiar with such modes. Try giving the Freescale technical support team a call or drop them an email.
http://www.freescale.com/webapp/sps/site/homepage.jsp?nodeId=0M10Xv6c0C
Stop / Wake Modes
Take a look on :
MC68HC908QY4A datasheet at the following chapters :
4.5 Stop Mode
5.2 Functional Description :
"The configuration registers are used in the initialization of various options.
The configuration registers can be written once after each reset"
9.5 Stop Mode
13.7 Low-Power Modes
13.7.2 Stop Mode
Post new comment