TIDUFB0 July 2025
The PIR sensor is configured through the firmware by setting the configuration register.
| 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.
