AFE4300 is used with STM32L0 series. A start up code is generated for stm using stmcubemx. 0x6005 is written onto the DEVICE_CONTROL1 at register address 0x09. But upon reading it is showing the value 0xff. In fact all registers are showing only the values 0x00 or 0xff and no other values upon reading. The screenshot of code is attached. Please let me know the possible debug points to resolve this issue.