ZMOT0BSB0D0CG Zilog, ZMOT0BSB0D0CG Datasheet - Page 26

Processors - Application Specialized ZMB N SBDI46-504AA P Fr CWM 0.5 GI V1 Len

ZMOT0BSB0D0CG

Manufacturer Part Number
ZMOT0BSB0D0CG
Description
Processors - Application Specialized ZMB N SBDI46-504AA P Fr CWM 0.5 GI V1 Len
Manufacturer
Zilog
Datasheet

Specifications of ZMOT0BSB0D0CG

Operating Supply Voltage
2.7 V to 3.6 V
Maximum Operating Temperature
+ 105 C
Mounting Style
SMD/SMT
Package / Case
SOIC-8
Core
Z8FS040
Number Of Timers
2
Processor Series
ZMOTION
Program Memory Size
4 KB
Program Memory Type
Flash
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ZMOT0BSB0D0CG
Manufacturer:
Zilog
Quantity:
3
Zilog’s PIR Technology and API
PS028511-0112
The ZMOTION MCU Series is based on the Z8F082A MCU, a member of Zilog’s Z8
Encore! XP product line, and includes the added functionality of a motion detection (PIR)
engine. The PIR engine is located in the upper 4 KB area of the 8 KB device, leaving 4 KB
of code space to the user application. The PIR engine operates in the background and is
controlled and monitored via an Application Programmer Interface (API). The API is a
series of reserved registers in memory.
There are two sections to the API: Standard API Registers and Advanced API Registers.
Each is described below.
Standard API registers.
required by most applications. These include sensitivity control, motion detection/direc-
tion status and operational modes.
Advanced API registers.
operation and allows it to be configured to support the pyroelectric sensor and lens being
used in the application.
PIR Engine Timer Tick
Bit 7 of PIR Status/Control Register 1 provides a 1 second time base for the PIR engine to
perform house keeping operations. This bit must be set to 1, once per second by the user
application. The bit is checked and cleared during the EPIR_ADC_ISR routine.
PIR Engine Entry Points
There are two entry points to the PIR engine that are accessed through two predefined
Macros. One is an initialization macro that is used to start the engine and the other is exe-
cuted upon every ADC interrupt. Both macros save and initialize the Register Pointer, per-
form a call to the PIR engine entry point and then restore the Register Pointer before
returning control to the application. It is the responsibility of the application software to
execute these macros at the appropriate time.
EPIR_INIT Macro.
mally only executed once and is used in conjunction with the PIR Engine Enable register
in the standard API section. The application should initialize all API registers, write the
PIR Enable Pattern to the PIR Engine Enable register, and then execute this Macro. ADC
conversions are started by this macro.
EPIR_INIT Macro:
PUSHX
LDX
CALL
POPX
This macro is executed to initialize the PIR engine after reset. It is nor-
These registers include all of the status and control functions
These registers provide additional control over the PIR engine
RP
RP, #%E0
%1FFD
RP
ZMOTION™ Detection and Control Family
Zilog’s PIR Technology and API
Product Specification
19

Related parts for ZMOT0BSB0D0CG