SLAAEF6 September   2023 MSPM0L1105 , MSPM0L1106 , MSPM0L1306 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1PIR Design Description
    1. 1.1 PIR Sensor
    2. 1.2 PIR Signal Chain
      1. 1.2.1 Traditional Motion Detection Signal Chain Design
      2. 1.2.2 Capacitor-Free Signal Chain Design
  5. 2Hardware and Schematic
    1. 2.1 MSPM0L1306
    2. 2.2 MSPM0 PIR Boosterpack
      1. 2.2.1 Schematic
  6. 3Software
    1. 3.1 Software Architecture
    2. 3.2 Software Flow Chart
    3. 3.3 Data Processing
      1. 3.3.1 Digital Signal Conditioning
      2. 3.3.2 Low-Pass Filter for Temperature Drift
      3. 3.3.3 Spikes and Noise
      4. 3.3.4 Motion Detection Function
  7. 4Results
    1. 4.1 Power Profile and Current Consumption
    2. 4.2 Detection Performance
      1. 4.2.1 Distance: 5 meters (16.4 ft)
      2. 4.2.2 Distance: 9 meters (29.5 ft)
      3. 4.2.3 Distance: 10 meters (32.8 ft)
  8. 5Summary
  9. 6References

Software Architecture

GUID-F94F4F65-59D9-4458-8ACC-834736207741-low.pngFigure 3-1 Software Architecture

The software was architected in two layers:

  • The application layer implements the main functionality, with a default configuration, and handles the initialization and processing of the data.
  • The HAL layer provides hardware-abstraction to interface with different peripherals of the MSPM0L1306. The pheripherals in the HAL are configured and initialized using

    SysConfig for a easily customizable solution.