MSP430FR5887: Code generation issue using FlowESIGUI

Part Number: MSP430FR5887

After generating code using FlowESIGUI, I found that it did not calibrate well during runtime. Upon reviewing the code, I discovered that VALID_RECALIBRATION and RECALIBRATION_TIMEOUT were not cleared. The consequences of not clearing VALID_RECALIBRATION were not identified, but the failure to clear RECALIBRATION_TIMEOUT resulted in the immediate exit of ReCalScanIF upon entering it for the second time. Therefore, I would like to inquire whether these two items not being cleared are a bug. Additionally, the RECAL_TIME_OUT is set to 2 seconds, so does it mean that the metal piece must rotate 4 times within 2 seconds for ReCalScanIF to complete normally? If the watch can only rotate once per second, would it never be able to complete ReCalScanIF.

  • Additionally, I noticed that the values obtained from ReCalScanIF are all greater than DELTA_LEVEL (at room temperature). Is this normal.

  • Hi,

    Therefore, I would like to inquire whether these two items not being cleared are a bug

    To be honest I have little experience on this GUI usage, please give me some time to double check and get back to you.

    Additionally, the RECAL_TIME_OUT is set to 2 seconds, so does it mean that the metal piece must rotate 4 times within 2 seconds for ReCalScanIF to complete normally? If the watch can only rotate once per second, would it never be able to complete ReCalScanIF.

    Yes, your understanding is correct, if failed to rotate 4 times within the timeout period, then it will end up current re-calibration process.

**Attention** This is a public forum