OS in development environment :Windows7
HARD :(Taiyo Yuden)EBSHSN Series Evaluation Board : Central / Peripherals
CPU :(Nordic) nRF52832 / ARMR Cortex-M4F 32 bit processor 28-pin Land Grid Array / 15GPIOs / SWD
Soft Ver:nRF5_SDK_15.2.0_9412b96
Running the following program will not cause an error, but the value will not change.
1)The register display of the debugger is “0xffffffff”, but “0x00000000” is read.
----------< Data Read >--------------------------------------------------
static uint8_t Read_DeviceName[5];
Read_DeviceName[0] = NRF_UICR -> CUSTOMER[0]
2)Regisla display is “0xffffffff” even if “0x00000000” is written.
----------< Data Write >--------------------------------------------------
static uint8_t Read_DeviceName[5];
Read_DeviceName[0] = 0;
NRF_UICR -> CUSTOMER[0] = Read_DeviceName[0];
----------------------------------------------------------------------------
How do I write to and read from the UICR register?
* NRF5 SDK is used.