This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52832 serial number

Hello,  I am working on the BMD-300 Series Evaluation Kit with nrf52832 microcontroller and I tried accessing the serial number of my nrf52832, with these functions:

 m_device_id1 = NRF_FICR->DEVICEID[0];

 m_device_id2 = NRF_FICR->DEVICEID[1];

the probleme is m_device_id1m_device_id2 is different from the serial number printed on the microcontroller.

Are the device_id and serial number not the same thing and if they aren't wich one is a unique number that I can use in my code.

Thank you.

Parents
  • Hi Cyrine, 

    As mentioned by Andrew Neil, the device ID is not Unique but there are 18446744073709551616  possibilities and  the chance that you have 2 device with same device ID is pretty small. 
    The serial number on top of the chip only contain the chip ID, variant, build code and the week and year the chip manufactured, it's not unique at all. 

Reply
  • Hi Cyrine, 

    As mentioned by Andrew Neil, the device ID is not Unique but there are 18446744073709551616  possibilities and  the chance that you have 2 device with same device ID is pretty small. 
    The serial number on top of the chip only contain the chip ID, variant, build code and the week and year the chip manufactured, it's not unique at all. 

Children
Related