User manual ZILOG Z8FS040 PRODUCT SPECIFICATION REV 1

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 Z8FS040. We hope that this ZILOG Z8FS040 user guide will be useful to you.


ZILOG Z8FS040 PRODUCT SPECIFICATION REV 1: Download the complete user guide (582 Ko)

Manual abstract: user guide ZILOG Z8FS040PRODUCT SPECIFICATION REV 1

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

[. . . ] Z8FS040 ZMOTIONTM Detection and Control Family Featuring ePIRTM Technology Product Specification PS028501-0610 PRELIMINARY Copyright©2010 by Zilog®, All rights reserved. www. zilog. com ZMOTIONTM Detection and Control Family Product Specification Warning: DO NOT USE IN LIFE SUPPORT LIFE SUPPORT POLICY ZILOG'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION. As used herein Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b) support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user. A critical component is any component in a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness. Document Disclaimer ©2010 by Zilog, Inc. , All rights reserved. [. . . ] EPIR_ADC_ISR Macro: PUSHX RP LDX RP, #%E0 CALL %1000 POPX RP The CPU cycles used by this Macro vary depending on Engine state and configuration. ePIR Engine CPU Stack Usage The ePIR Engine shares the processor stack with the user application. There are no special requirements on the placement of the stack in memory, but it is essential that the user provide enough stack space for both the user application and the ePIR Engine. The ePIR Engine requires maximum 6 bytes of stack. PS028501-0610 Preliminary 18 ZMOTIONTM Detection and Control Family Product Specification Standard API Register Set The Standard API Register Set is a series of registers implemented in the Z8FS040 RAM that allows the user code to configure and communicate with the ePIR Engine. The default values are loaded only when the ePIR Engine is enabled via the ePIR Enable Register. API Register Name ePIR Engine Enable Register ePIR Sensitivity Register ePIR Status/Control Register 0 ePIR Status/Control Register 1 ePIR Status/Control Register 2 ePIR Status/Control Register 3 ePIR ADC Result Value ePIR Version Address 100h 101h 102h 103h 104h 105h 10Ah/10Bh 10Ch Pneumonic ePIR_Enable ePIR_Sensitivity ePIR_SC0 ePIR_SC1 ePIR_SC2 ePIR_SC3 Description Enable ePIR Engine Motion Sensitivity Motion Status and Engine Mode Control Engine Status and Control Range Control ADC Scan Request ePIR_ADC_Result ADC Scan Result ePIR_Version ePIR Engine S/W Version Table 5 - ePIR Engine Standard API Registers PS028501-0610 Preliminary 19 ZMOTIONTM Detection and Control Family Product Specification ePIR Engine Enable Register (ePIR_Enable) Bit Field Control Address 7 6 5 4 3 ePIR Enable/Disable Pattern Read/Write 100H 2 1 0 ePIR Enable/Disable Pattern (Bits 0-7) ePIR Enable/Disable Register Controlled by Application The ePIR Enable Register controls the overall operation of the ePIR Engine. As an added level of protection, there is a specific 8 bit enable value and 8 bit disable value. Once enabled, the ePIR Engine reads the application controlled Status/Control Register values and sets the Engine controlled values to their default state. To enable the ePIR Engine, first write the ePIR_ENABLE_PATTERN to the ePIR Enable Register then execute the EPIR_INIT macro. Pattern 00h Name ePIR_DISABLE_PATTERN Description Disables all 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. 11h ePIR_ENABLE_PATTERN Table 6 - ePIR S/W Enable Patterns ePIR Sensitivity Register (ePIR_Sensitivity) Bit Field Default Control Address 7 U 6 U 5 U 4 Sensitivity U Read/Write 101H U U U U 3 2 1 0 Sensitivity (Bits 0-7) ePIR Sensitivity Setting Controlled by Application The ePIR Sensitivity Register is used to adjust the sensitivity of the ePIR Engine to target motion. Lower values produce higher sensitivity to motion with 00h being the most sensitive and FFh being the least sensitive. The user application should load this register with the appropriate value to give the desired sensitivity. Notes: The setting of this register also affects the range of detection. Depending on the lens and pyroelectric sensor used, values above 3Fh may result in very limited detection. PS028501-0610 Preliminary 20 ZMOTIONTM Detection and Control Family Product Specification ePIR Status/Control Register 0 (ePIR_SC0) Bit Field Control Address 7 6 5 Engine Disabled R 3 Motion MD Direction Suspend Control R/W R/W 102H 4 2 Motion Direction R 1 Motion Detected R/W 0 PIR Stable R Extended Detection R/W Extended Detection Level (Bit 6-7) Sets the sensitivity level of extended detector Controlled by application These 2 bits enhance the motion detection algorithms to detect slower, faster and/or more subtle motion. The Extended Detection level is selected to provide a balance between additional sensitivity while maintaining stability (no false detections). In certain applications such as lighting control the Extended Detection level can be increased once `normal' motion has been detected. The Extended Detection level effects user control over the range provided in ePIR_SC2. As the Extended Detection level is increased, the Range setting becomes less effective. 00 = Extended Detection Level 0 ­ Minimum (least sensitive) 01 = Extended Detection Level 1 10 = Extended Detection Level 2 11 = Extended Detection Level 3 ­ High (most sensitive) Engine Disabled (Bit 5) ePIR Engine Disable/Suspend Acknowledged Controlled by ePIR Engine This bit indicates the operational status of and is controlled by the ePIR Engine. When the Engine is initialized and enabled by loading the ePIR Enable Register with the ePIR_ENABLE_PATTERN value, this bit is cleared to indicate that the Engine is ready. When the Engine is disabled by loading the ePIR Enable Register with the ePIR_DISABLE_PATTERN, it will respond by setting this bit to 1 and perform no further operations until re-enabled. In order for the Engine to detect that it has been disabled, the user must allow the Engine ADC interrupt to run at least once after loading the ePIR Enable Register with the ePIR_DISABLE_PATTERN. [. . . ] The ePIR Engine runs in the background from the ADC interrupt (initiated by the application). To ensure a consistent sample rate the Engine needs to know the MCU operating frequency (System Clock Frequency). It uses the Flash Frequency Control Registers to determine the operating frequency which must be initialized prior to starting the Engine. The Flash Frequency High (FFREQH) and Flash Frequency Low Byte (FFREQL) registers combine to form a 16-bit value FFREQ primarily to control timing for Flash program and erase functions. [. . . ]

DISCLAIMER TO DOWNLOAD THE USER GUIDE ZILOG Z8FS040




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

 

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