UM028901-0318
Copyright ©2018 Zilog Inc. All rights reserved.
www.zilog.com
User Manual
ZMOTIONL300ZCOG
Z8F6481 ZMOTION
®
Library Development Kit
Page 1: ...UM028901 0318 Copyright 2018 Zilog Inc All rights reserved www zilog com User Manual ZMOTIONL300ZCOG Z8F6481 ZMOTION Library Development Kit...
Page 2: ...be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness DOCUMENT DISCLAIMER 2018 Zilog Inc All rights reserved Information in this pu...
Page 3: ...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 liste...
Page 4: ...code to configure control and monitor the Library in real time API configuration parameters allow the Engine operation to be optimized for the particular lens and pyro electric sensor being used in th...
Page 5: ...M028901 0318 Kit Contents Z8F6481 ZMOTION Library Development Kit User Manual 2 Figures 2 and 3 show the Z8F6481 ZMOTION Library Development Board Figure 1 ZMOTION Detection and Control Development Ki...
Page 6: ...UM028901 0318 Kit Contents Z8F6481 ZMOTION Library Development Kit User Manual 3 Figure 2 Development Board Top Side Figure 3 Development Board Bottom Side...
Page 7: ...or for example avoid duration beyond 5 seconds at 350 C The pyroelectric sensors are easy to identify by observing the window size the board comes with the ZRE200GE installed Lenses The Development Ki...
Page 8: ...installed Clip on ZNCL3B 9mm 60 x60 3m range Clip on ZNCL10R 9mm 360 5m range Clip on ZNCL10S 9mm 15 x15 12m range Clip on ZNCL926 15mm 360 5m range Clip on ZNCL11 Flat 104 x37 4m range PCB Mount ZCWM...
Page 9: ...Contents Z8F6481 ZMOTION Library Development Kit User Manual 6 Figures 8 and 9 show lenses with circular holder mounting Figure 6 ZCWM05GIV1 PCB Mount Figure 7 ZNCL11 PCB Mount Figure 8 ZCM077GIV5 Cir...
Page 10: ...rd This section describes the components of the ZMOTION Library Development Board Features Two Z8F6481QN024XK2247 ZMOTION MCUs Normal Power configuration Low Power configuration USB Serial Interface T...
Page 11: ...Low Power Configuration U1 Z8F6481 2247 Normal Power Configuration U5 Z8F6481 Serial USB Bridge PIR ZRE200GE SW1 SW2 J5 GPIO Header J1 USB Type B IXD1216 LDO Regulator Ambient Light Sensor U4 Ambient...
Page 12: ...oscillator with DCO FLL Support for external crystal oscillators Up to 17 channel 12 14 bit Analog to Digital Converter ADC 12 bit Digital to Analog Converter DAC Two on chip analog comparators 32 pi...
Page 13: ...er Slave modes Real Time Clock RTC supporting both Counter and Clock modes Three enhanced 16 bit timers with Capture Compare and PWM capability Two additional basic 16 bit timers with interrupts share...
Page 14: ...s preprogrammed with the ZM_NP_Basic application The 2247 suffix is a specific version of the Z8F6481 MCU series that supports the ZMO TION Library Devices without the 2247 suffix do not support the Z...
Page 15: ...ensor is stable When the PIR sensor is stable the status LED will turn off and blink when motion is detected If the USB interface is connected to a PC a terminal emulation program like RealTerm or Coo...
Page 16: ...e 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 Hal...
Page 17: ...tays in Stop mode to conserve power Each time it wakes up a status message is sent to indicate the reason for the wake up Table 6 lists these status message descriptions In Table 6 indicates MCU wake...
Page 18: ...ts Analog PIR thresholds based on ambient temper ature Temperature Change Protection Ignores motion events generated by temperature changes Vdd Shift Protection Ignores motion events generated by shif...
Page 19: ...Typical current consumption is 1mA 3 0V The serial command interface includes the following features that help adjust system oper ations and performance Pet Immunity mode Programmable Digital sensitiv...
Page 20: ...er Studio II 2 If not already installed install the VCOM USB driver included with the ZMOTIONL300ZCOG_1 0 installation file by right clicking on the exe file and selecting Run as administrator This dr...
Page 21: ...e 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 t...
Page 22: ...her 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 Figure 13 Conne...
Page 23: ...y power and provide a serial interface for the Development Board See Figure 15 6 Open a serial terminal application like CoolTerm or RealTerm and connect to the Zilog USB Serial Device at 57 600 bps N...
Page 24: ...Bootloader ZM_NP_Command_BL zdsproj Includes Bootloader When using the project with Bootloader care must be taken not to set Breakpoints in the application code area when starting the application Sett...
Page 25: ...and start running the application A message similar to the one shown in Figure 18 is displayed 11 The red LED D3 should start flashing 1 second on 1 second off while the applica tion waits for the PIR...
Page 26: ...e 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 mo...
Page 27: ...eZ8 CPU User Manual UM0128 Documentation Chip_Documentation Z8 Encore XP F6482 Series API Programmer s Reference Manual RM0064 Documentation Technical_Articles Z8 Encore Design for Debug TN0036 Docume...
Page 28: ...B3 13B3 13B 13B 567 13B9 1 13B3 13B3 03 11 13B 567 13B 13B3 13B3 13B3 13B3 13B3 13B3 13B3 13B3 13B3 13B3 13B3 13B7 13B5 13B3 13B3 13B3 13B3 6B7 13B3 13B5 13B7 13B3 13B3 13B3 13B3 13B3 13B3 13B3 13B3 1...
Page 29: ...3B3 3B3 3B3 3B3 3B3 3B9 25 3B3 3B3 3B 3B 567 3B9 1 3B3 03 287 3B3 3B3 3B 567 3B 3B3 3B3 9 B7 3 13 3B3 3B5 3B7 3 7 3B 567 13B 567 3 13 616 13B 1 3B3 3B3 3B3 3B5 3B3 3B3 3B3 3B3 3B3 3B7 3B5 3B3 3B3 3B3...
Page 30: ...3 55 7 X 30 5 RKP GND 41 8 3 1 1 3 76 287 3 7 6287 3 3 5 026 3 7 6 3 7 3 7 1 7 287 6 3 026 7 1 7 287 6 3 6 7 287 6 76 3 7 287 6 3 5 3 7 1 7 287 6 287 6287 3 7 287 76 6287 9 3 5 6 7 3 287 03 287 1 966...
Page 31: ...dy for Appendix C Installing the USB SmartCable Driver 1 Prior to connecting the F6482 Series Development Board to your development PC download ZDS II for Z8 Encore v5 2 2 or later from the Zilog webs...
Page 32: ...annot find the driver close the search dialog and proceed to the next step 3 In the Search programs and files field in the Windows Start menu enter Device Man ager The Device Manager will appear in a...
Page 33: ...e for the location of the driver s inf file Depending on the type of computer you use 32 bit or 64 bit use the Browse button to navigate to one of the following paths then click the Next but ton On 32...
Page 34: ...tions dialog select Search for the best driver in these locations and include this location in search 4 Use the Browse button to navigate to one of the following paths ZDSII Installation device driver...
Page 35: ...Support page at http support zilog com To learn more about this product find additional documentation or to discover other fac ets about Zilog product offerings please visit the Zilog Knowledge Base...