Rev0.1 - 8/28/2012
Adding to the patch at TWR-K21D50M lowpower MQX Patch for v4.0.2, this updates the MQX BSP and lowpower example to add VLPS mode.
The example works the same as the default lowpower example, except after waking from LLS, the application immediately enters VLPS. It uses the LPTMR to wake after 10 seconds, and returns to RUN mode and restarts the example. Because the transition is immediate from the user perspective, the user will press the switch to enter LLS mode, after 10s the MCU will wake, turn on the blue LED, enter VLPS, wait another 10s, wake, turn off the blue LED, return to RUN mode and resume printing to the terminal. There is no text printed to the terminal between LLS and VLPS to show a quick transition.
This patch covers several files to enable VLPS mode in the twrk21d50m BSP, and modifies the lowpower example. The lowpower example is provided to demonstrate the MQX Low-Power Manager (LPM) driver, and change low-power modes on the K21 board. The BSP in the release provided does not include support for VLPS.
To use this patch, copy the patch directory into the MQX v4.0.2 root directory. The patch will over-write some existing files in the MQX installation. The changes addressed by this patch include the following: