Z8F3224 ZMOTION Development Kit
UM029501-0321
User Manual
11
Sample Applications
Table 6 lists four sample application projects that are included with the ZMOTIONL400ZCOG_1.0
installation file. Contact
for additional sample projects.
The LP and NP MCUs on the Development Board come preloaded with the ZM_LP_Basic and
ZM_NP_Basic projects. To load a different project, refer to the
Using ZDS-II to Debug a Project
on page 16.
The Z8 Encore! family of MCUs supports three operating modes:
•
Run
– In this mode, the CPU is running and all peripherals/clock sources can be enabled (normal
running mode).
•
Halt
– In this mode, the CPU is not running and all peripherals/clock sources can be enabled.
Exit via interrupt.
•
Stop
– In this mode, the CPU is not running and some peripherals/clock sources can be enabled.
Exit via Stop Mode Recovery (SMR).
Stop mode provides the lowest current consumption and is used in the ZM_LP_Basic and
ZM_LP_Command projects. The ZM_NP_Basic and ZM_NP_Command projects use Halt mode to
reduce current consumption.
However, debugging operations are limited when using Stop mode. To use the full debugger with the
ZM_LP_Basic and ZM_LP_Command projects, the following configuration definition is included in the
Sleep.h
file that enables the use of Halt mode in place of Stop mode.
#define USE_STOP_MODE
Set this definition to 0 and rebuild the project before to use Halt mode in place of Stop mode. Set this
definition to 1 to use Stop mode. Current consumption will be higher when using Halt mode.
Project
Folder
MCU Configuration
ZM_LP_Basic
ZMOTION_LP_Basic
Low Power
ZM_LP_Command
ZMOTION_LP_Command
Low Power
ZM_NP_Basic
ZMOTION_NP_Basic
Normal Power
ZM_NP_Command
ZMOTION_NP_Command
Normal Power
Table 6. Sample Applications