This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR6043: Clarification on maxMeasurementValue Stability in Gain Calibration Loop

Part Number: MSP430FR6043


Tool/software:

I have a question regarding the software program for calibrating gain values. I understand that it is executed within the function USS_message_code USS_calibrateSignalGain(USS_SW_Library_configuration *config) in the file ussSwLibCalibration.c.

The calibration of the gain value is performed by executing the while loop for the number of iterations defined by "agcLoopMaxIterations". Since "pUPS = USS_getUPSPtr(config);" and "pDNS = USS_getDNSPtr(config);" are executed only once before the while loop, doesn't this mean that the "maxMeasurementValue" calculated within the while loop will always be the same value? Please let me know if there is any misunderstanding in my understanding.

Regards,

**Attention** This is a public forum