Hello,
I need to read the unique serial number from a nordic NRF 52832 device. This number is necessary for our production testing.
I have the latest SDK.
Thanks!
Hello,
I need to read the unique serial number from a nordic NRF 52832 device. This number is necessary for our production testing.
I have the latest SDK.
Thanks!
Someone asked a related question which I answered previously:
https://devzone.nordicsemi.com/f/nordic-q-a/42671/how-to-find-out-nrf52-chip-revision
The FICR register region also contains DEVICEID and DEVICEADDR registers. These indicate the unique per-chip device identification (which I think is as close to a serial number as you can get) and the per-chip BLE station address. You can also determine the part (52832 vs 52840), variant, package code, and the amount of RAM and flash present. Refer to the FICR section in the nRF52832 reference manual (product specification). As my example shows, you should be able to write some simple code to read the values of these registers.
-Bill
you should be able to write some simple code to read the values of these registers
Indeed; eg,
NRF_LOG_INFO("SAADC Low Power Example; built on " __DATE__ " at " __TIME__ " for " BOARD_STR ); NRF_LOG_INFO("DevAddr %08X %08X", NRF_FICR->DEVICEADDR[1], NRF_FICR->DEVICEADDR[0] );
I always do that in development so that, when looking back through old recorded logs, I can tell what software was used, and what it was running on.
you should be able to write some simple code to read the values of these registers
Indeed; eg,
NRF_LOG_INFO("SAADC Low Power Example; built on " __DATE__ " at " __TIME__ " for " BOARD_STR ); NRF_LOG_INFO("DevAddr %08X %08X", NRF_FICR->DEVICEADDR[1], NRF_FICR->DEVICEADDR[0] );
I always do that in development so that, when looking back through old recorded logs, I can tell what software was used, and what it was running on.