SLVAFN0 august   2023 MSPM0L1306 , MSPM0L1343 , MSPM0L1346 , TPS8802

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Demo Hardware
  6. 3Demo Software
    1. 3.1 Dual-Ray Measurements and Alarm Detection
    2. 3.2 Additional Demo Functionality
  7. 4Demo GUI
  8. 5Test Results
  9. 6Summary
  10. 7References

Demo Software

This application note includes source code for libraries and a demo application intended to accelerate the development of a smoke detector application. This software is only a part of a complete system and is intended to be used only as a reference.

Figure 3-1 shows the architecture of the demo software.

GUID-20230724-SS0I-M7QS-DXRV-6HL3WHQBLGBD-low.svg Figure 3-1 Software Architecture

The software was designed in three layers:

  • The application layer implements the demo functionality, defines the default configuration, and handles the commands to and from the GUI.
  • The API/Library layer defines a set of APIs to take AFE measurements, perform calculations, and interface with the GUI.
  • The HAL layer provides hardware-abstraction to interface with different peripherals and allow for a modular, flexible and portable design.