Skip to main content
Explorer
July 26, 2023
Question

-nan(0xffff) value while reading from flash

  • July 26, 2023
  • 2 replies
  • 1306 views

i'm getting -nan(0xfffffe0000000) value while reading from flash. why i'm getting this value and what is it?

    This topic has been closed for replies.

    2 replies

    Super User
    July 26, 2023

    Can't help you without lots more information.  Show the relevant parts of your code (variable definitions, code that attempts to read from flash, etc.).  Paste the code here, don't use attachments.  Click the "..." in the format bar to expand it, then use the "insert/edit code" button (looks like "</>").

    ST Employee
    July 27, 2023

    Hello @madhavi U

    The nan value indicates "not a number" value in binary format, which represents undefined or unpresentable values, it could be due to corrupted data or a programming error in your code