2020-07-17 01:59 PM
2020-07-17 04:23 PM
You can create a hash, but it won't be guaranteed to be unique. I've found a 64-bit CRC to be satisfactory.
If it has to be unique, you should generate your own code and burn it into your product in production/final test.
2020-07-17 10:09 PM
i think the 96bit is a concatenation of bit fields which are not used fully, such as die posiion in wafer, wafer and lot number, etc which helps traceability. maybe it would be good to provide in HAL a function providing 32, 48 and 64 bits nearly unique numbers from the 96 bits. As in embeddd world few years back the sold mcu counter reached several billions, we already need more than 32 bit....
2020-07-20 09:58 AM
Thanks for your solutions
2020-07-20 10:03 AM
There are 56-bit LOT NUM, how does ST control this number? is it safety to simply take the LSB 24bits and ignore its MSB 32-bit?