Hi Team,
There's an issue from the customer need your help:
We are using the [buck_F28004x] project as the base to create a power control project.
However, problems were found with float type operations and comparisons.
Because the base project has a lot of modifications, it is not easy to describe the parts we have changed.
Want to ask a TI engineer, can you give a direction to the survey?
The details of the float type operation error are shown below.
Data is saved to an array with an ADC sample interrupt, which totals 8 elements, and after an event, 8 elements from the current array are summed (sumVout). Then moving average (buck_vOutSensored_Volts).
Through the breakpoints we found that the sum of the eight elements had gone wrong, as shown in the figure below.

Could you help check this case?
Thanks and Regards,
Ben





