ZMOTIONS200ZCOG Zilog, ZMOTIONS200ZCOG Datasheet

no-image

ZMOTIONS200ZCOG

Manufacturer Part Number
ZMOTIONS200ZCOG
Description
KIT DEV ZMOTION MODULE
Manufacturer
Zilog
Series
ZMOTION™r

Specifications of ZMOTIONS200ZCOG

Sensor Type
Motion, PIR (Pyroelectric Infrared)
Sensing Range
-
Interface
USB/Serial
Sensitivity
-
Voltage - Supply
-
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ZMOT1AHH
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
269-4823
Copyright ©2011 Zilog, Inc. All rights reserved.
ZMOTION
Detection
Z8FS021
Product Specification
PS028801-0311
www.zilog.com
Intrusion

Related parts for ZMOTIONS200ZCOG

ZMOTIONS200ZCOG Summary of contents

Page 1

... Z8FS021 ™ ZMOTION Detection Product Specification PS028801-0311 Copyright ©2011 Zilog, Inc. All rights reserved. www.zilog.com Intrusion ...

Page 2

... TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. The information contained within this document has been verified according to the general principles of electrical and mechanical engineering. ZMOTION and Z8 Encore! XP are trademarks or registered trademarks of Zilog, Inc. (An IXYS Company). All other product or service names are the property of their respective owners. ...

Page 3

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 provided in the table. Date Feb 2011 PS028801-0311 Revision ...

Page 4

Table of Contents Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 5

List of Figures Figure 1. Z8FS021 MCU Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 6

List of Tables Table 1. Z8FS021 ZMOTION Intrusion Detection MCU Part Selection Guide . . . . . 4 Table 2. Z8FS021 MCU Signal Descriptions . . . . . . . . . . . . . . . ...

Page 7

Table 34. Device Number Description, Positions 9–12: Lens and PIR Sensor Selector . 50 Table 35. Device Number Description, Position 13: Environmental Flow Selector 51 Table 36. ZMOTION Detection and Control Device Number Example . . . . . . ...

Page 8

... The Flash in-circuit programming capability of the Z8FS021 MCU allows for faster devel- opment time, more flexible manufacturing and firmware changes in the field. As with all of Zilog’s ZMOTION Detection and Control products, the ZMOTION Intru- sion Detection MCU provides optimized configuration parameters for each lens/sensor combination to ensure the best possible performance while significantly reducing develop- ment risk and minimizing time to market ...

Page 9

Programmable transient and noise detection Z8FS021 MCU Features • High-performance eZ8 • in-circuit programmable Flash available for application code • Single-pin debug with unlimited breakpoints • Flexible clocking scheme • Internal precision oscillator running at 5.53 MHz ...

Page 10

Z8FS021 MCU Block Diagram Figure 1 displays a block diagram of the Z8FS021 MCU. Register File RAM Flash (256B) Controller + API UART & BRG Timer 0 IrDA Figure 1. Z8FS021 MCU Block Diagram PS028801-0311 POR Interrupt & VBO PIR ...

Page 11

MCU Part Selection Guide Table 1 displays the basic features and package styles available for each device within the Z8FS021 ZMOTION Intrusion Detection MCU devices. Select the package type that is most suitable to your application based on required General ...

Page 12

Pin Configuration The Z8FS021 MCU is available in a variety of package styles and pin configurations. This chapter describes the signals and available pin configurations for each of the package styles. For information about the physical package specifications, see the ...

Page 13

PB1/ANA1 PA0/T0IN/T0OUT/XIN PA1/T0OUT/XOUT PA2/DE0 PA3/CTS0 PA4/RXD0 Figure 3. 20-Pin SSOP Package Diagram – Z8FS021xHH20EG PS028801-0311 1 20 PB0/ANA0 ANA2 2 19 PC3/COUT ANA3 3 18 PC2/ANA6/LED/VREF VDD 4 17 PC1/ANA5/CINN 5 16 PC0/ANA4/CINP 6 15 DBG VSS 7 14 RESET/PD0 ...

Page 14

PB4/ANA7 PB5/VREF PA0/T0IN/T0OUT/XIN PA1/T0OUT/XOUT PA3/CTS0 PA4/RXD0 PA5/TXD0 Figure 4. 28-Pin SSOP Package Pin-Out, Z8FS021xHJ20EG PS028801-0311 ANA2 ANA3 4 25 AVDD 5 24 VDD VSS 9 20 AVSS 10 ...

Page 15

Signal Descriptions Table 2 describes the Z8FS021 MCU signals. Signal availability is package dependent. See the Pin Configuration Table 2. Z8FS021 MCU Signal Descriptions Signal Mnemonic I/O Description General-Purpose I/O Ports A–D PA[7:0] I/O Port A. These pins are used ...

Page 16

Table 2. Z8FS021 MCU Signal Descriptions (Continued) Signal Mnemonic I/O Description Oscillators XIN I External Crystal Input. This pin is the input pin to the crystal oscillator. A crystal can be connected between it and the XOUT pin to form ...

Page 17

... The Z8FS021 MCU is based on Zilog’s Z8F082A device, which contains a total Flash memory. Zilog’s PIR technology is located in the 6 KB address range , a code space that is locked and cannot be erased by the user or by the Zilog Debug 1FFFh Interface (ZDI) mass erase or page erase commands. The remaining this Flash memory space, in the address range A memory map of the Z8FS021 MCU’ ...

Page 18

... Figure 6. Z8FS021 MCU RAM Memory Map PS028801-0311 to and from used by Zilog’s PIR technology. 0EFh 190h 3FFh to and from 000h 07Fh , and are also available to the application. The area from . It is through these memory locations that configura- 0F0h– ...

Page 19

... Z8 Encore! XP F082A Series Product Specification Peripheral Availability Table 3 shows how the Z8FS021 MCU peripherals are used by Zilog’s PIR technology and how these peripherals differ from their counterparts on the base Z8F082A device. The peripherals used by the PIR Engine should not be used by the application unless the ...

Page 20

... Analog to Digital Signal Conversion Zilog’s PIR technology requires exclusive access to the ADC peripheral to detect motion. However, ADC conversions can be requested by the application via the API (PIR Status/ Control Register 3 necessary for the user application to utilize the ADC peripheral directly, the PIR Engine must first be disabled via the PIR Engine Enable Register in the API ...

Page 21

ADC Channel 28-Pin Device. PB2 (ANA2) is reserved as the analog ADC input from the pyroelectric sensor. Therefore, ANA2 is not available for user applications. Also, ANA3 is not avail- able because it is tied directly to PB5/V PIR Engine. ...

Page 22

Device All external Timer 0 functions are available for the 28-Pin Device All external Timer 0 functions are available for the 8-Pin Device 20-Pin Device All external Timer 1 functions are available for the 28-Pin Device All external Timer ...

Page 23

UART 8-Pin Device 20-Pin Device All external UART functions are available for the user 28-Pin Device All external UART functions are available for the user Oscillator Control All devices can be operated with the internal 5.54 MHz IPO. For applications ...

Page 24

Interrupt Controller No changes or limitations are placed on the interrupt controller functions by the PIR Engine. Temperature Sensor The temperature sensor is not tested or calibrated (trim bits are not available). Therefore, this peripheral is not available on any ...

Page 25

... Pyroelectric PIR Sensor #1 The signal from the PIR sensor is connected directly to the ANA2 input of the ADC. The ADC is configured for differential buffered mode by Zilog’s PIR technology. The sensor signal should be connected directly to the ADC input with no additional signal condition- ing circuitry unless specified by the pyroelectric sensor manufacturer. ...

Page 26

V signal is no longer connected to ANA3 negative (–) ADC input. The fist PIR sensor REF is connected to the positive (+) ADC input (ANA2 Single Pyro Mode. The V signal is still used internally ...

Page 27

White Light and stays set until cleared by the application. No other action is required by the application. Additionally, an Anti-Jam feature is available via bit 5 of the ePIR_ASC0 Register to pre- vent intentional jamming of the ...

Page 28

PIR Engine and API The ZMOTION MCU Series is developed upon the Z8 Encore! XP-based Z8F082A MCU with the added functionality of a motion detection (PIR) Engine. The PIR Engine is located in the upper 4 KB area of the ...

Page 29

CPU Cycles: 261 Peripherals initialized: ADC and GPIO, depending on API-selected options. The ADC IRQ is set for medium priority. ePIR_ADC_ISR Macro. tion handles the ADC interrupt and executes this macro. All motion detection processing is performed by this macro. ...

Page 30

Standard API Register Set The Standard API Register set, shown in Table series of registers implemented in the Z8FS021 MCU RAM that allows the user code to configure and communicate with the PIR Engine. The default values ...

Page 31

Tables 5 through 15 describe each of the standard API registers listed in Table 4. Bit 7 6 Field Control Address PIR Enable/Disable Pattern (Bits 7–0) PIR Enable/Disable Register; controlled by the application. • The PIR Enable Register controls the ...

Page 32

Bit 7 6 Field U U Default Control Address Sensitivity (Bits 7) PIR Sensitivity Setting; controlled by the application. • The PIR Sensitivity Register is used to adjust the sensitivity of the PIR Engine to target motion. Lower values produce ...

Page 33

Bit 7 6 Extended Detection Field R/W Control Address Extended Detection Level (Bits 7–6) Sets the sensitivity level of the extended detector; controlled by the application. • These two bits enhance the motion detection algorithms to detect slower, faster and/or ...

Page 34

MD Suspend (Bit 4) Motion Detection Suspend; controlled by the application. • Temporarily suspends the PIR Engine from running and places very low processing overhead state and can be used when the application requires significant CPU processing ...

Page 35

PIR Stable (Bit 0) Passive Infrared (PIR) sensor signal stabilized bit; controlled by the PIR Engine. After periods of non-use, the PIR sensor will take some time to stabilize before it can be used reliably. The amount of time is ...

Page 36

Bit 7 6 Engine Field Timer Tick R/W Control Address Engine Timer Tick (Bit 7) PIR One Second Timer Tick Set by the application; cleared by the PIR Engine. • This bit must be set to 1 one time per ...

Page 37

PIR Scan Rate (Bit 2) PIR ADC conversion rate for the Pyroelectric Sensor; controlled by the application. • The PIR Engine performs the necessary ADC conversions on the PIR sensor input. Each conversion generates an interrupt that is processed by ...

Page 38

Table 10. PIR Status/Control Register 2 Bit 7 6 White Light Threshold Field Control Address Bits 7–3 reserved White Light Detection Threshold* Controlled by application • These bits determine how sensitive the White light detector is to changes in detected ...

Page 39

Table 12. PIR Status/Control Register 3, 20-Pin SSOP Bit 7 6 ANA6 Reserved Scan Field Request R/W Reserved 0 in Single Control Pyro Mode Address Note: *ANA1 is reserved for White Light detection when enabled via PIR Status/Control Register 2. ...

Page 40

Table 13. PIR Status/Control Register 3, 8-Pin SOIC Bit 7 6 Reserved Reserved Reserved Reserved Field 0 0 Control Address Note: *ANA1 is reserved for White Light detection when enabled via PIR Status/Control Register 2. ANAx Scan Request Analog Channel ...

Page 41

Bit Field Control Address PIR ADC Result Value (Bits 0–15) ADC Scan Request Result Value Controlled by PIR Engine The PIR ADC Result Value contains the result of the last application requested ADC conversion. The data ...

Page 42

Advanced API Register Set The registers are for advanced configuration of the PIR Engine. They include customiza- tion for lens and pyroelectric sensor configurations. These registers are not initialized by the PIR Engine. Table 16. PIR Engine API Advanced Registers ...

Page 43

Table 17. PIR Advanced Status/Control Register 0 Bit 7 6 White External Light Field V REF Detected R/W R/W Control Address External V (Bit 7) REF Select between internal or external V • This bit is selects between internal and ...

Page 44

Buffer Refresh (Bit 4) Uses fast fill algorithm to quickly refill the motion detection buffers; controlled by the application. • This bit is used to restart motion detection by quickly reinitializing and refilling the motion detection constructed sample buffers. This ...

Page 45

EM Transient Detected (Bit 0) EM Transient Detected on PIR Signal; set by the PIR Engine; cleared by the application. • This bit indicates if the Engine has detected a transient on the PIR signal. This event is provided to ...

Page 46

Table 18. PIR Advanced Status/Control Register 1 Bit 7 6 White Light Debounce Field Control Address White Light Debounce (Bits 7–4) White light debounce time; controlled by the application. • This value determines the amount of debounce applied to the ...

Page 47

Table 19. PIR Advanced Status/Control Register 2 Bit 7 6 Lock Level Field R/W Control Address Lock Level (Bits 7–5) Controlled by the application. • This parameter sets the minimum slope change in the signal that can be considered valid ...

Page 48

Bit Field Control Address Lock Level (Bits 15–0) Controlled by the PIR Engine. • The PIR Process Rate Indicator is provided by the Engine to determine if the user application process and interrupts overhead is impacting ...

Page 49

Table 22. PIR Debounce Timeout Register Bit 7 6 Field Control Address PIR Debounce Time (Bits 7–0) Controlled by the application. • This register controls the amount of time that the Engine will wait to fully debounce a motion signal. ...

Page 50

Table 24. PIR Transient Sensitivity Level Register Bit 7 6 Reserved Field 0 Control Address Reserved (Bit 7) This bit is reserved and must be 0. Noise Sensitivity (Bits 6–0) Controlled by the application – see the following table for ...

Page 51

Bit Field Control Address PIR Signal (Bits 15–0) Controlled by the PIR Engine. • These registers contain the last PIR signal obtained by the Engine. Each time the Engine generates a new PIR signal sample it ...

Page 52

Table 27. PIR Extended Detection Sensitivity Level Bit 7 6 Field Control Address Extended Detection Sensitivity (Bits 7–0) Controlled by the application. • This register determines how sensitive the Extended Detection part of the Engine is to fast or slow ...

Page 53

Packaging Figure 7 displays the 8-pin Small Outline Integrated Circuit Package (SOIC) available for the ZMOTION Intrusion Detection device.   Figure 7. 8-Pin Small Outline Integrated Circuit Package (SOIC) PS028801-0311 ™ ZMOTION Intrusion Detection Product Specification Packaging 46 ...

Page 54

Figure 8 displays the 20-Pin Small Shrink Outline Package (SSOP) available for the ZMOTION Intrusion Detection device. Figure 8. 20-Pin Small Shrink Outline Package (SSOP) PS028801-0311 ™ ZMOTION Intrusion Detection Product Specification Packaging 47 ...

Page 55

Figure 9 displays the 28-Pin Small Shrink Outline Package (SSOP) available for the ZMOTION Intrusion Detection device. Figure 9. 28-Pin Small Shrink Outline Package (SSOP) PS028801-0311 ™ ZMOTION Intrusion Detection Product Specification Packaging 48 ...

Page 56

Ordering Information The ZMOTION Intrusion Family PIR Motion Detection Solution can be ordered as a stand-alone MCU that includes the PIR Motion Detection Engine bundle including MCU, Lens and Pyroelectric Sensor. When ordered as a ZMOTION Intrusion ...

Page 57

... Order the ZMOTION Detection and Control device from Zilog using the fields denoted in Table 31. To better understand the position and field elements noted in this table – and therefore to build the appropriate part number – please refer to Selector Tables 32 through 35, and see the Ordering Example shown in Table 31 ...

Page 58

... Field Example For more information about ordering your ZMOTION Intrusion Detection device, please contact your local Zilog Representative, Distributor or Sales Office. The Zilog website (www.zilog.com) lists all regional offices and provides additional product information. PS028801-0311 Table 35. Device Number Description, G Lead-Free, RoHS-Compliant 5 ...

Page 59

... Related Documents Additional information about the ZMOTION Family of Motion Detection MCUs can be found in the following documents, which are available from the Zilog website at www.zilog.com. Document Number Description PB0230 ZMOTION Intrusion Product Brief PS0286 ZMOTION Lens and Pyroelectric Sensor Product Specification PS0228 ...

Page 60

Appendix A. Example Application Schematics Whether you choose to employ single or dual pyro modes using 8-pin, 20-pin or 28-pin ZMOTION Intrusion Detection packages, this appendix offers assistance toward creating your circuit design. Z8FS021xSB20EG (8-Pin Device) Figure 10 shows an ...

Page 61

10K Debug Header GND GND 6 NC Available to Application Figure 10. Example Circuit with the Z8FS021xSB20EG (8-Pin) ZMOTION Intrusion Detection ...

Page 62

Z8FS021xHH20EG (20-Pin) Examples of single and dual pyro circuit designs employing the 20-pin ZMOTION Intru- sion Detection MCU are described in this section. Single Pyroelectric Sensor Figure 11 shows an example circuit for the 20-pin ZMOTION Intrusion Detection MCU with ...

Page 63

Dual Pyroelectric Sensors In Dual Pyro mode, the second pyroelectric sensor is connected to ANA3. The signal from V to ANA3 is not required. In this design example, the internal V REF PIR_ASC0 bit 7 set to '0'. The user ...

Page 64

Z8FS021xHJ20EG (28-Pin) Examples of single and dual pyro circuit designs employing the 28-pin ZMOTION Intru- sion Detection MCU are described in this section. Single Pyroelectric Sensor Figure 13 shows an example circuit for the 28 pin device of the ZMOTION ...

Page 65

.3V ) Pyro Electric Sensor VDD SI G 1uF 47 K GND Figure 13. Example Circuit with the Z8FS021xHJ20EG (28-Pin) ZMOTION Intrusion Detection MCU, PS028801-0311 Status LED & White Light Detection ANA ...

Page 66

Dual Pyroelectric Sensors In Dual Pyro mode, the second pyroelectric sensor is connected to ANA3. The signal from V to ANA3 is not required. In this design example, the internal V REF PIR_ASC0 bit 7 set to 0. The user ...

Page 67

Appendix B. PIR Engine Initialization and Control The application software must execute an initialization procedure to enable the PIR Engine. Once the PIR Engine is enabled, it runs in the background from the ADC inter- rupt. Every ADC conversion generates ...

Page 68

The flow diagram shown in Figure 15 displays the general software operation for Normal Scan Rate mode.   Initialize Oscillator & WDT Set up GPIO’s for application I nitialize Flash Frequency Register Enable ADC in PWRCTL0 Initialize API Registers Recommended ...

Page 69

The flow diagram shown in Figure 16 displays the general software operation for Low Scan Rate mode.   Initialize Oscillat or & WDT Set up GPIO’ application Init ialize Flash Frequency Register Enable ADC in PWRCTL0 I nitialize ...

Page 70

... The application code loads the API registers with these values prior to executing the PIR_INIT macro. Several versions of this file are available from the zilog website with tested configurations supporting the available lenses and pyro- electric sensors. Refer to priate API_INIT_xx file for the selected lens ...

Page 71

CPU: Z8F022AXB ZMOTION Device: Z8FS021xHH20EG (20-pin SSOP) – ◦ CPU Family: Z8Encore_XP_F082A_Series ◦ CPU: Z8F022A ZMOTION Device: Z8FS021xHJ20EG (28-pin SSOP) – ◦ CPU Family: Z8Encore_XP_F082A_Series ◦ CPU: Z8F022A • RData: 20h–6Fh Defined in ZDS II Project Settings under Linker ...

Page 72

... Use Table 37 to select the appropriate lens for your specific application. The configuration header file should be included with your ZMOTION project. Refer to the and Pyroelectric Sensor Product Specification (PS0286) Contact Zilog for additional lens and PIR Sensor options. Manufacturer Part Number WA 1 Wide Angle Array (88.2° ...

Page 73

... 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 discover other fac- ets about Zilog product offerings, please visit the Zilog Knowledge Base at zilog ...

Related keywords