![]() |
MKMxxZxxACxx5 Bare Metal Software Drivers
R4.1.6
Reference Manual
|
This example shows unique capability of the device to wake up from Very Low Power Stop (VLPS) mode when an active edge on receive pin of the UART is detected. Immediately after POR, the device enters very low power run (VLPR) mode with core clock = 400 kHz. Afterwards FreeMASTER communication is initialized. The FreeMASTER will communicate via UART2 communication port which is set to 4800/8-N-1 and communication will be handled by interrupts. In order to conserve energy, the device enters Very Low Power Stop (VLPS) mode and stay in this mode for most of the time. When user initiates FreeMASTER communication, by releasing "STOP" button of the FreeMASTER GUI, the UART2 generates wakeup event and the device resumes VLPR operation. As long as FreeMASTER communication is active the device receives and sends packets from/to the host PC. When user stops FreeMASTER communication, by pressing "STOP" button of the FreeMASTER GUI, the device enters Very Low Power Stop (VLPS) mode again. When using TWR-KM34Z75M board, connect USB port of your PC to the on-board OpenSDA's USB to serial bridge (J27).
IAR EWARM 7.40.7 | CodeWarrior 10.6 | KEIL uVision 5.15 | CrossWorks 3.6 | ATOLLIC TrueStudio 5.3.0 | Kinetis Design Studio 3.0.0 |
---|---|---|---|---|---|
♦ | ♦ | ♦ | ♦ | ♦ | ♦ |