SLAAE63 August 2022 MSP430FR2353 , MSP430FR2353 , MSP430FR2355 , MSP430FR2355
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.
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.