Greetings,
We've got a product which has a NRF51 device on it, which has since updated the design to NRF52. Both variants have a DFU feature.
For the NRF52 I can positively identify it at runtime by reading NRF_FICR->INFO.PART (which is 0x52832 for the NRF52832). Is there a way for the NRF51 (at runtime) to positively identify it from the NRF52? Ideally this would use registers that are common between the NRF52 and the NRF51.
Note: I've got two different targets for the NRF51 and NRF52. When I'm producing a binary, I know whether it is a NRF51 or NRF52 and set the a value in the firmware appropriately. I'm just curious if there is a "full-proof way" in determining at run time whether the CPU is a NRF51 or a NRF52.