SLAAE63 August   2022 MSP430FR2353 , MSP430FR2353 , MSP430FR2355 , MSP430FR2355

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2Hardware Implementation
  5. 3Software Implementation
  6. 4Bench Test Performance
  7. 5Device Recommendation
  8. 6References
  9. 7Source Code

Software Implementation

This section describes how to implement the MCU software based on the hardware system in Section 2. Figure 3-1 shows the details of programming flow. Only the highest amplitude value is needed to find the corresponding resonant frequency, so the ADC array needs to store only the highest value.

Figure 3-1 Software Programming Flow Based on MSP430FR2355

The MCU program is interrupt-driven to save power during inactive phases by entering the sleep mode, which improves low power consumption.

The software source code is available in Section 7.