6 Replies Latest reply on Sep 4, 2018 5:21 PM by user_119654

    How do I properly extract the Unique ID from PSoC?

    user_119654

      I appreciate having the ability to extract a Unique ID from the IC being used.  This can be very helpful.

       

      However, what is the proper way to extract the 64 bit number?  I tried two ways and get two answers.

       

      If call CyGetUniqueID() with a uint64 array I get the following back:  74240C2109020100

       

      If call CyGetUniqueID() with a uint32 array I get the following back:  0902010074240C21

      UART port output:

      Unique ID (64 bit): 74240C2109020100

      Unique ID (32 bit): 0902010074240C21

       

      You'll notice the numbers are identical EXCEPT that the each set of 32 bits are switched.  It appears to have a long-order endianess.

       

      Attached is a archive of the project for your review.

       

      Len