Can registers of NRF5340 be configured in the visualized device tree?

We now need to configure the registers of NRF5340 to 3.3V. Can this be directly configured in the device tree?

Parents Reply
  • Yes, sir. I urgently need to put the NRF5340 into high-voltage mode. I want to set the value of the VREGHVOUT register to 5 using nrfutil, so that the default voltage level of the 5340 is 3.3V. Previously, I also saw that directly adding code to enable this function in the main.c of peripheral_uart might trigger the UICR hardware protection mechanism. Since UICR is quite important, I don't dare to erase it easily. So I would like to ask if there is any basis to prove that Edvin's code can be directly written in main.c. If it needs to be written before main.c, where should it be written? Should it be done in mcuboot?

Children
Related