SLAAES9 March 2025 MSP430FR5043 , MSP430FR6005 , MSP430FR6007 , MSP430FR6043 , MSP430FR6045 , MSP430FR6047
In the USS library, minimize the calculation process to get a better current consumption performance. The dTOF calculation is divided into two parts:
The total dTOF result is calculated in Equation 8.
Use Figure 2-8 as an example.
Figure 2-8 Cross-correlation
optimizationThe integer part of the dTOF result is given by the time difference from absTOF UPS and DNS results. The USS library does not need to slide the DNS signal for multiply times and calculate the cross-correlation result to find the maximum Rxy[k] result. Users need to know exactly how many cycles to slide the signal to get the maximum point of the Rxy[k] result based on the absTOF UPS and DNS results. This saves a lot of data processing time and current consumption.