Hi All,
Could anyone please, tell me how to read the DEVICEID[0], DEVICEID[1] registers in code ?
Thank you in advance :)
You should be able to do something like this:
uint32_t deviceID[2]; deviceID[0] = NRF_FICR->DEVICEID[0]; deviceID[1] = NRF_FICR->DEVICEID[1];
Stolen shamelessly from this question and answer:
Old question
Yes, I noticed the direct mapping to the NRF_FICR register in the nrf51.h file.
Thanks a lot for your support :)
B.R.