This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF21540 UICR programming

Hi,

I want to automatically load the value of POUTA_UICR into TX_GAIN at startup. The program code writes the setting value according to the steps on page 14 of the manual. It has been confirmed that the UICR Program state has been entered, and the VDD voltage value is 3.5V, but the values read by CONFREG2 and CONFREG3 are both 0. Can someone help me?

Best regards,

Stanley

Parents
  • Can you try to read those values in your application code? It seems that the segger might be having some read/display issues accessing these registers.

    If it is the same issue that you read 0 after write in your application, then i can try to replicate the problem.

  • I have solved this problem, but there are still some things I don't understand. I can use the example in \examples\peripheral\spi of SDK17 to read and write CONFREG0 and CONFIGREG1, but I cannot read and write CONFREG2 and CONFREG3. When the spi_event_handler is cancelled, everything is fine. Do you know the reason?

Reply
  • I have solved this problem, but there are still some things I don't understand. I can use the example in \examples\peripheral\spi of SDK17 to read and write CONFREG0 and CONFIGREG1, but I cannot read and write CONFREG2 and CONFREG3. When the spi_event_handler is cancelled, everything is fine. Do you know the reason?

Children
Related