User manual ZILOG Z87300 PRODUCT SPECIFICATION

DON'T FORGET : ALWAYS READ THE USER GUIDE BEFORE BUYING !!!

If this document matches the user guide, instructions manual or user manual, feature sets, schematics you are looking for, download it now. Diplodocs provides you a fast and easy access to the user manual ZILOG Z87300. We hope that this ZILOG Z87300 user guide will be useful to you.


ZILOG Z87300 PRODUCT SPECIFICATION: Download the complete user guide (412 Ko)

Manual abstract: user guide ZILOG Z87300PRODUCT SPECIFICATION

Detailed instructions for use are in the User's Guide.

[. . . ] Note: The application code (AN0307-SC01) associated with this application note has been tested with ZDS II--Z8 Encore!version 4. 11. 0. Z87300 Overview Zilog's Z87300 Detection Module is a complete, compact, and easy to interface solution for motion detection and direction. It is designed using an Enhanced Passive Infrared (ePIR) technology and Zilog's Z8FS04 Motion Detection MCU with a powerful embedded software engine that delivers high-performance motion detection. Figure 1 on page 2 shows the location of the pins on the Z87300 Detection Module. [. . . ] Next, the mode of operation is determined with the value of the cCmdState. If the cCmdState is 1, then the Mode of Operation is Serial Interface, and if the cCmdState is 0, then the Mode of Operation is Hardware Interface. Finally, the mode of operation is set, and cCmdState is set to IDLE state; it then proceeds to the main application loop. AN030701-0810 Page 7 of 30 Z87300TM Detection Module Application Walkthrough Figure 8. Flow Diagram of Operational Mode Main Application Loop Figure 9 on page 9 describes the main application loop of the Z87300 Detection Module. AN030701-0810 Page 8 of 30 Z87300TM Detection Module Application Walkthrough Figure 9. Flow Diagram of Main Application Loop of Application Code The following describes the operation of the main application loop: 1. Next the program checks the content of the cModule Status1 (cModuleStatus1) flag. · If the Serial Mode Register (SER_MODE_ENABLED) is HIGH, several select cases are available depending on the inputs of the select case. See AN030701-0810 Page 9 of 30 Z87300TM Detection Module Application Walkthrough 3. 4. Table 17 on page 22. · If the Sleep Mode Request (MOD_SLEEP_REQ) is HIGH, then the MCU Sleep Flag will be on, and the MCU will go to sleep. This is to reduce the power consumption of the MCU especially for battery-powered devices. The program checks the state of the cModule Status2 (cModuleStatus2) flag. ADC Conversion and Request Next Channel Conversion (Hardware Interface Mode) Request new ADC channel conversion. The program checks if the SCAN_REQUEST_NEW is enabled in cModuleStatus2 register and then the cModuleStatus2 register is updated. The program checks the stability of the system by verifying if the MOD_PIR_STABLE is enabled in cModuleStatus1 register after power up. Motion Detection Check for motion detected and update the output on time as needed. The program checks if motion is detected by checking if the SCO_MOTION_DETECTED is enabled in ePIR_SCO register then send it once it is needed. References The following documents are associated with Z87300TM Detection Module and are available on www. zilog. com: · ePIR Motion Detection Zdots Single Board Computer Product Brief (PB0223) · ePIR Motion Detection Zdots SBC Product Specification (PS0284) · Z87300 Detection Module Evaluation Kit User Manual (UM0223) · Z87300 Detection Module Development Kit Quick Start Guide (QS0073) · Motion Detection and Control with ePIR Zdots Single Board Computer Cut Sheet (CS0005) · Z87300--A New PIR Motion Detection Architecture White Paper (WP0017) · Power Management and Customer Sensing with Zilog's Z87300 Detection Module Application Note (AN0301) · Z87300 Detection and Control Family Featuring ePIR Technology Product Specification (PS0285) · Z87300 Lens and Pyroelectric Sensor Product Specification (PS0286) · Z8 Encore!XP F082A Series Product Specification (PS0228) AN030701-0810 Page 12 of 30 Z87300TM Detection Module Application Walkthrough Appendix A--Pre-Build Setup This appendix lists the settings and resources you need for your build. Use the following Compiler and Linker settings to prepare for your build: ZDS Version CPU Family CPU Limit Optimizations for Easier Debugging Memory Model Frames Parameter Passing Use Register Variables Generate printf Inline Bit-Field Packing Place CONST Variables in ROM Disable ANSI Promotions Address Space ZDSII Encore!4. 11. 0 Z8Encore_XP_F082A_8Pin_Series Z8F042AXB unchecked Small Static Memory Aggressive unchecked Backward Compatible unchecked unchecked Default settings + Use PRAM checked Table 4 lists the resources used by the build. Resources Used Clock Source Peripherals Internal clock source, 5. 52960 MHz TMR0 UART0 WDT PA0 or Debug, PA1, PA2 or RESET and PA4 ADC ­ ANA2 to ANA3 One-second timer used in low-power mode RS232 interface Software reset and watch-dog function Used for input and output pins. These are used for the ePIR output for motion detection. AN030701-0810 Page 13 of 30 Z87300TM Detection Module Application Walkthrough Appendix B--Library and Software Tool Files This appendix describes the standard project files and external dependencies. Figure 10 shows the block diagram of the Z87300 application program. Figure 10. [. . . ] Bits 7-3 - Reserved (00000) Bits 2-0 ­ Range (010) ePIR Serial Command Register 3 Default Configuration for Normal Scan Rate Bits 7-0 - ANAx Scan Request ­ None (00000000) No ADC Scan requests made during Init ePIR Analog Serial Command Register 0 Default Configuration for Normal Scan Rate Bits 7-5 - Reserved (000) Bit 4 - Buffer Refresh - OFF 0) Bit 3 - New Sample - Engine Controlled (0) Bit 2 - MD Origin - Engine Controlled (0) Bit 1 - EM Noise - Engine Controlled (0) Bit 0 - EM Transient - Engine Controlled (0) ePIR Analog Serial Command Register 2 Default Configuration for Normal Scan Rate Bits 7-5 - Lock Level - 2 (010) Bits 4-3 - Window Size - 3 (11) Bits 2-0 - Window Update Rate ­ 2 (010) ePIR Sample Size Default Value for Normal Scan Rate ePIR Sample Size - 32 (00100000) ePIR Debounce Time Default Value for Normal Scan Rate ePIR Debounce Time - 0x64 (01100100) EPIR_SC1_DEF 28h EPIR_SC2_DEF 02h EPIR_SC3_DEF 00h EPIR_ASC0_DEF 00h EPIR_ASC2_DEF 5Ah EPIR_SAMPLE_SIZE_DEF EPIR_DEBOUNCE_DEF 20h 64h AN030701-0810 Page 24 of 30 Z87300TM Detection Module Application Walkthrough Define EPIR_DEBOUNCE_BATCH_DEF EPIR_TRANSIENT_SENSE_DEF EPIR_NOISE_SENSE_DEF Value FFh 00h 00h Description ePIR Debounce_Batch Default Value for Normal Scan Rate ePIR Debounce Batch Size ­ 255 (11111111) ePIR Transient_Sense Default Value for Normal Scan Rate ePIR Transient Sensitivity ­ Disabled (00000000) ePIR Noise Sense Default Value for Normal Scan Rate ePIR Noise Sensitivity ­ Disabled (00000000) AN030701-0810 Page 25 of 30 Z87300TM Detection Module Application Walkthrough Appendix G--ePIR_API. h This appendix describes the contents of ePIR_API. h. ePIR Enable Register (ePIR_Enable) Enable/Disable Patterns Define EPIR_DISABLE_PATTERN Value 00h Description Disables all primary engine functions, including motion detection. All primary engine functions as configured in Engine Status/Control Registers are enabled. Confirmation of enabled status is provided through Engine Disabled bit in Status/Control Register 0. EPIR_ENABLE_PATTERN 11h Table 25. [. . . ]

DISCLAIMER TO DOWNLOAD THE USER GUIDE ZILOG Z87300




Click on "Download the user Manual" at the end of this Contract if you accept its terms, the downloading of the manual ZILOG Z87300 will begin.

 

Copyright © 2015 - manualRetreiver - All Rights Reserved.
Designated trademarks and brands are the property of their respective owners.