ZiLOG ZMOTION Z8F6481 User Manual page 26

Library development kit
Table of Contents

Advertisement

Figure 19. Messages Displayed on RealTerm Serial Capture Program
13. Each time motion is detected, ZN will be displayed.
14. The ZM_NP_Command project supports both UARTs provided on the Z8F6481 MCU
(Refer to the schematic in Appendix A). The UART0 interface becomes the Zilog
USB Serial Device through the USB Serial Bridge IC (U8) and is referred to as the
Dev Port. The Dev Port provides operating status information in an ASCII format to
be easily viewed on a terminal. UART1 is connected to J10, providing a direct hard-
ware (TTL) connection to the UART interface on the MCU and is referred to as the
Host Port. The Host Port is intended for connection to another MCU (Host MCU) and
provides a serial command interface to adjust operating parameters like motion sensi-
tivity, output timing, and various operating modes. Refer to the Serial Command
Functions NP.pdf document included with the ZM_NP_Command project for more
details on the supported commands and interface options. By default, no information
is transmitted on this interface unless requested by the Host.
15. To demonstrate the Host Port operation, use a USB-to-TTL adapter connected to J10
and send hex values from a PC terminal application. Sending
Host causes the application to start sending
event is detected. Sending
the Host every time a motion event is detected (this is the default setting). Refer to the
Serial Command Functions NP.pdf document included with the ZM_NP_Command
project for more details on the Host command interface.
UM028901-0318
Z8F6481 ZMOTION
to the Host every time a motion
0x90
,
causes the application to stop sending
0x17
0x00
Using ZDS-II to Download and Debug a Project
®
Library Development Kit
User Manual
,
from the
0x17
0x01
0x90
23
to

Advertisement

Table of Contents
loading

Table of Contents