TIDUFB0 July   2025

 

  1.   1
  2.   Description
  3.   Resources
  4.   Features
  5.   Applications
  6.   6
  7. 1System Description
    1. 1.1 Input Devices (DALI 103)
    2. 1.2 Control Gear (DALI 102)
    3. 1.3 Control Devices (Application Controllers)
    4. 1.4 Introduction
  8. 2System Overview
    1. 2.1 Block Diagram
    2. 2.2 Design Considerations
      1. 2.2.1 Manchester Encoding
      2. 2.2.2 Using Opto-Emulators Instead of Optocouplers
    3. 2.3 Highlighted Products
      1. 2.3.1 MSPM0G350x
      2. 2.3.2 ISOM8111
        1. 2.3.2.1 ISOM8111 Features
  9. 3Hardware, Software, Testing Requirements, and Test Results
    1. 3.1 Hardware Requirements
    2. 3.2 Software Requirements
      1. 3.2.1 DALI Stack Layer
    3. 3.3 Test Setup
      1. 3.3.1 Configuring the PIR
    4. 3.4 Test Results
      1. 3.4.1 Event Message When PIR Detects a Motion
      2. 3.4.2 Event Message Generation Through Report Timer
  10. 4Design and Documentation Support
    1. 4.1 Design Files
      1. 4.1.1 Schematics
      2. 4.1.2 BOM
      3. 4.1.3 PCB Layout Recommendations
        1. 4.1.3.1 Layout Prints
    2. 4.2 Tools and Software
    3. 4.3 Documentation Support
    4. 4.4 Support Resources
    5. 4.5 Trademarks
  11. 5About the Authors

Configuring the PIR

The PIR sensor is configured through the firmware by setting the configuration register.

Table 3-1 Configuration Register Settings
BIT NUMBER DESCRIPTION SIZE [BIT] REMARKS
[24:17] Threshold 8 Detection threshold on BPF value
[16:13] Blind Time 4 = 0.5s + [Reg Val] × 0.5s
[12:11] Pulse Counter 2 = 1 + [Reg Val]
[10:9] Window Time 2 = 2s + [Reg Val] × 2s
[8:7] Operation Modes 2 0: Forced Readout 1: Interrupt Readout 2: Wake Up 3: Reserved
[6:5] Signal Source 2 0: PIR (BPF) 1: PIR (LPF) 2: Reserved 3: Temperature Sensor
[4:3] Reserved 2 Reserved: Must be set to dec 2
[2] HPF Cutoff 1 0: 0.4Hz 1: 0.2Hz
[1] Reserved 1 Reserved: Must be set to dec 0
[0] Count Mode 1 Count with (0) or without (1) BPF sign change

The waveform in Figure 3-4 shows the signal sent from MSPM0G3507 to the PIR sensor during the configuration phase.


TIDA-010963 PIR Configuration
                    Signal

Figure 3-4 PIR Configuration Signal