ZiLOG ZMOTION Z8F6481 User Manual

ZiLOG ZMOTION Z8F6481 User Manual

Library development kit

Advertisement

Quick Links

ZMOTIONL300ZCOG
®
Z8F6481 ZMOTION
Library Development Kit
User Manual
UM028901-0318
Copyright ©2018 Zilog Inc. All rights reserved.
www.zilog.com

Advertisement

Table of Contents
loading

Summary of Contents for ZiLOG ZMOTION Z8F6481

  • Page 1 ZMOTIONL300ZCOG ® Z8F6481 ZMOTION Library Development Kit User Manual UM028901-0318 Copyright ©2018 Zilog Inc. All rights reserved. www.zilog.com...
  • Page 2 ©2018 Zilog, Inc All rights reserved. Information in this publication concerning the devices, applications, or technology described is intended to suggest possible uses and may be superseded. ZILOG, INC. DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT.
  • Page 3: Revision History

    ® Z8F6481 ZMOTION Library Development Kit User Manual Revision History Each instance in the following Revision History table reflects a change to this document from its previous version. For more details, refer to the corresponding pages or appropriate links listed in the table below. Revision Page Date...
  • Page 4: Kit Contents

    MCUs and comes complete with various lenses and PIR sensors to test the ZMOTION Engine Library for multiple applications. Zilog’s ZMOTION Engine Library provides an integrated and flexible solution for Passive Infra-Red (PIR)-based motion detection applications. The Software library is comprised...
  • Page 5 ® Z8F6481 ZMOTION Library Development Kit User Manual Figure 1. ZMOTION Detection and Control Development Kit Figures 2 and 3 show the Z8F6481 ZMOTION Library Development Board. UM028901-0318 Kit Contents...
  • Page 6 ® Z8F6481 ZMOTION Library Development Kit User Manual Figure 2. Development Board (Top Side) Figure 3. Development Board (Bottom Side) UM028901-0318 Kit Contents...
  • Page 7: Pir Sensors

    ® Z8F6481 ZMOTION Library Development Kit User Manual PIR Sensors The three PIR sensors listed in Table 2 are included with the kit. The ZRE200GE sensor is soldered on the board. Table 2. PIR Sensors Included with Kit Part Number Description ZRE200GE Basic Dual Element (installed)
  • Page 8 ® Z8F6481 ZMOTION Library Development Kit User Manual Table 3. Lenses Included with Kit Part Number Description Mounting ZNCL10IL 9mm; 80ºx30º; 7m range (installed) Clip on ZNCL3B 9mm; 60ºx60º; 3m range Clip on ZNCL10R 9mm; 360º; 5m range Clip on ZNCL10S 9mm;...
  • Page 9 ® Z8F6481 ZMOTION Library Development Kit User Manual Figure 6. ZCWM05GIV1 - PCB Mount Figure 7. ZNCL11 - PCB Mount Figures 8 and 9 show lenses with circular holder mounting. Figure 8. ZCM077GIV5 - Circular Holder Mount UM028901-0318 Kit Contents...
  • Page 10: Z8F6481 Zmotion Library Development Board

    ® Z8F6481 ZMOTION Library Development Kit User Manual Figure 9. ZCM077GIV3 - Circular Holder Mount Figure 10 shows a rectangular holder mounted lens. Figure 10. ZAA09GIT1 - Rectangular Holder Mount Z8F6481 ZMOTION Library Development Board This section describes the components of the ZMOTION Library Development Board. Features Two Z8F6481QN024XK2247 ZMOTION MCUs •...
  • Page 11 ® Z8F6481 ZMOTION Library Development Kit User Manual Figure 11 shows a block diagram of the Z8F6481 ZMOTION Development Board. Refer to Appendix Afor the complete schematic diagrams. Status LEDs Power Supply (D1, D2) Status (D4) GPIO Header (J1) Push Buttons Board Power 2.0V-3.3V...
  • Page 12 ® Z8F6481 ZMOTION Library Development Kit User Manual The Z8F6481 (2247) ZMOTION MCU The Z8F6481 (2247) suffix is a specific version of the Z8F6482 MCU series that supports the ZMOTION Library. Five devices with the 2247 suffix are available, as listed in Table 4.
  • Page 13 ® Z8F6481 ZMOTION Library Development Kit User Manual Four-channel DMA controller • Full-speed Universal Serial Bus (USB 2.0) device supporting eight endpoints with in- • tegrated USB PHY Two full-duplex 9-bit UARTs supporting Local Interconnect Network (LIN), Digital • Addressable Lighting Interface (DALI) protocols and DMX (32-pin package contain only one) Enhanced Serial Peripheral Interface (ESPI) controller •...
  • Page 14: Getting Started

    Run as administrator. driver is located in the Drivers folder. Zilog_VCOM_Install.x64.exe: 64-bit Windows – Zilog_VCOM_Install.x86.exe: 32-bit Windows – The Device Driver will be installed as (Zilog USB Serial Device) in Device Man- – ager under Ports (COM & LPT) UM028901-0318 Getting Started...
  • Page 15: Mcu Current Measurement

    ® Z8F6481 ZMOTION Library Development Kit User Manual 2. Set SW4 to select the active MCU configuration (LP or NP). 3. Install the ZNCL10IL lens on the PIR sensor. 4. Ensure the shunts are installed across pins 2 and 3 on J4 (LP MCU) and J9 (NP MCU). 5.
  • Page 16: Sample Applications

    User Manual Sample Applications Table 5 lists four sample application projects that are included with the ZMOTIONL300ZCOG_1.0 installation file. Contact Zilog Technical Support for addi- tional sample projects. The LP and NP MCUs on the Development Board come preloaded with the ZM_LP_Basic and ZM_NP_Basic projects.
  • Page 17 ® Z8F6481 ZMOTION Library Development Kit User Manual ZM_LP_Basic This project uses the Low Power MCU configuration to provide motion detection with ZMOTION Digital PIR validation. The MCU stays in Low Power Stop mode until an Analog PIR event is detected. The MCU then wakes up and runs the ZMOTION Engine on the PIR signal to validate the motion event.
  • Page 18 ® Z8F6481 ZMOTION Library Development Kit User Manual The MCU stays in Low Power Stop mode until an Analog PIR event is detected. The MCU then wakes up and runs the ZMOTION Engine on the PIR signal to validate the motion event.
  • Page 19 ® Z8F6481 ZMOTION Library Development Kit User Manual 001 Motion Detected 002 Motion Detected 001 and 002 represent the total count of motion events detected since reset. ZM_NP_Command This project demonstrates the use of the ZMOTION Library and API to detect motion with ambient light detection and a serial command interface.
  • Page 20: Using Zds-Ii To Download And Debug A Project

    Zilog_VCOM_Install.x64.exe: 64-bit Windows – Zilog_VCOM_Install.x86.exe: 32-bit Windows – The Device Driver will be installed as (Zilog USB Serial Device) in Device Man- – ager under Ports (COM & LPT) Connecting the ZMOTIONL300 Development Board to your PC Observe the following procedure to connect the ZMOTIONL300 Development Board to your PC.
  • Page 21 ® Z8F6481 ZMOTION Library Development Kit User Manual Figure 12. NP Current Jumper Installed on J9 2. Place switch SW4 into the NP position. 3. Connect one end of the 6-circuit ribbon cable provided in your Kit to the USB Smart- Cable unit, ensuring that the ribbon’s male connector is aligned correctly with the female connector on the unit, as indicated by the red stripe in Figure 13.
  • Page 22 ® Z8F6481 ZMOTION Library Development Kit User Manual Figure 13. Connecting the 6-Circuit Ribbon Cable to the USB SmartCable 4. Connect the other end of the ribbon cable to NP Debug Connector J8 on the Develop- ment Board. Ensure that Pin 1 on the ribbon cable is aligned with Pin 1 on the target connector, as shown in Figure 14.
  • Page 23 Figure 15. Connecting Port P1 to a USB Port on Development PC 6. Open a serial terminal application like CoolTerm or RealTerm and connect to the Device  Zilog USB Serial Device at 57,600 bps, No Parity, 1 Stop bit. Open and look under to identify the COM port assigned to Manager Ports (COM &...
  • Page 24 ® Z8F6481 ZMOTION Library Development Kit User Manual 7. Start ZDS II and open the NP Serial Command project (ZM_NP_Command). This can be done by starting ZDS II and opening the project by clicking → File Open Project from the menu or by navigating to the folder in Windows File Explorer and double- clicking the project file located in: ZMOTIONL300ZCOG_1.0\Z8F641 ZMOTION Library\Sample Applications\ZMOTION_NP_Command_R1_0...
  • Page 25 11. The red LED (D3) should start flashing 1 second on, 1 second off while the applica- tion waits for the PIR sensor to stabilize. 12. If a serial terminal application is running and connected to the Zilog USB Serial Device, the messages shown in Figure 19 will be displayed.
  • Page 26 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.
  • Page 27 Documentation Additional information can be found in the following documents. These are available free for download from the Zilog website. They are also included with the ZDS II installation or the ZMOTIONL300ZCOG_1.0 installation. Table 7. Z8F6481 ZMOTION Library Development Kit Documentation...
  • Page 28: Appendix A. Schematic Diagrams

    ® Z8F6481 ZMOTION Library Development Kit User Manual Appendix A. Schematic Diagrams Figures 20 through 22 show the schematic diagrams for the Z8F6481 ZMOTION Library Development Board. & 13B3%$03$,11 & 13B,1 13B3%$03$287 . X) . 13B3% 13B3& 13B3& 13B3' 13B3' 13B3( 13B3( $/6B7+...
  • Page 29 ® Z8F6481 ZMOTION Library Development Kit User Manual 9&&B7 & TAMPER 1 & 5 . RKP /3B3%$03$287 /3B3& & X) /3B3& /3B3'$03%,11 /3B3' 2121 /3B3( 0 RKP . . X) /3B3( /3B3'$03%287 & 0 RKP 5 . RKP X) & & X) 2121...
  • Page 30 ® Z8F6481 ZMOTION Library Development Kit User Manual )(55,7( %($' 9&&B7 VCC_T 9%86 86%B'0 86%B'3 POWER *5((1  RKP & 5  9&&B7 X) 86% PLQL % 2V - 3.3V 9&& & & 9287 X) X) 92)% &( & ,;'& 30(* 5-12 VDC &...
  • Page 31: Supported Operating Systems

    Z8F6481 ZMOTION Library Development Kit User Manual Appendix B. IDE- Zilog Developer  Studio II Observe the following steps to download and install the ZDS II software package. If you have already installed ZDS II – Z8 Encore! Version 5.2.2 or later and have down-...
  • Page 32: Windows 7 32/64 Systems

    ® Z8F6481 ZMOTION Library Development Kit User Manual Appendix C. Installing the USB SmartCa- ble Driver The USB SmartCable can be installed on PCs that run on Windows 7 (32– and 64-bit), Windows Vista (32- and 64-bit) and Windows XP operating systems. The procedures in this section will guide you through the USB SmartCable installation process.
  • Page 33: Windows Vista 32/64 Systems

    ® Z8F6481 ZMOTION Library Development Kit User Manual Windows Vista 32/64 Systems Observe the following steps to install the USB SmartCable on a Windows Vista system. 1. Connect the USB SmartCable to a USB port on the development PC. 2. After the PC detects the new hardware, it will display the Found New Hardware Wiz- ard dialog box.
  • Page 34 ® Z8F6481 ZMOTION Library Development Kit User Manual 3. In the dialog, select Please choose your search and installations Search for the best driver in these locations and include this location in search 4. Use the button to navigate to one of the following paths: Browse...
  • Page 35: Customer Support

    Customer Support To share comments, get your technical questions answered, or report issues you may be experiencing with our products, please visit Zilog’s Technical Support page at  http://support.zilog.com. To learn more about this product, find additional documentation, or to discover other fac-...

Table of Contents