Read values of UICR in Application

Hi, 

I am trying to read the value of the UICR register CUSTOMER[4] during the runtime of the application. Therefore, I am using the following code:

nrf_fstorage_read(&m_fs, (0x10001090), &destination, 32);

Where m_fs is the storage instance and destination is initialized as a char array.

My two questions are: 

- Is it correct to use nrf_fstorage_read for this purpose?

- Which address do I need to use, as my call is returning error 16: NRF_ERROR_INVALID_ADDR

Thanks, 

Simon

Parents Reply Children
No Data
Related