Sample Applications - ZiLOG ZMOTION Z8F6481 User Manual

Library development kit
Table of Contents

Advertisement

Sample Applications

Table 5 lists four sample application projects that are included with the
ZMOTIONL300ZCOG_1.0 installation file. Contact
tional 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
ZDS-II to Download and Debug a Project
Project
ZM_LP_Basic
ZM_LP_Command
ZM_NP_Basic
ZM_NP_Command
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 en-
abled (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, the Stop mode operation is not supported while executing code with the debug-
ger; only Halt and Run modes are supported. To use the debugger with the ZM_LP_Basic
and ZM_LP_Command projects, the following configuration definition is included in the
main.h
#define USE_STOP_MODE
Set this definition to 0 and rebuild the project before using the debugger to run the applica-
tion. Set this definition to 1 when running the application without the debugger. Current
consumption will be higher when using Halt mode.
UM028901-0318
Table 5. Sample Applications
Folder
ZM_Z8F1681_LP_Basic
ZM_Z8F1681_LP_Command
ZM_Z8F1681_NP_Basic
ZM_Z8F1681_NP_Command
file that enables the use of Halt mode in place of Stop mode.
®
Z8F6481 ZMOTION
Zilog Technical Support
section on page 16.
MCU Configuration
Low Power
Low Power
Normal Power
Normal Power
Library Development Kit
User Manual
for addi-
Using
Sample Applications
13

Advertisement

Table of Contents
loading

Table of Contents