Hello,
SDK17.2, Keil5, nRF21540-DK,
NRF_NVMC->CONFIG = NVMC_CONFIG_WEN_Wen;
while (NRF_NVMC->READY == NVMC_READY_READY_Busy){}
NRF_UICR->REGOUT0 = (NRF_UICR->REGOUT0 & ~((uint32_t)UICR_REGOUT0_VOUT_Msk)) |
(UICR_REGOUT0_VOUT_3V3 << UICR_REGOUT0_VOUT_Pos);
NRF_NVMC->CONFIG = NVMC_CONFIG_WEN_Ren;
while (NRF_NVMC->READY == NVMC_READY_READY_Busy){}
// System reset is needed to update UICR registers.
NVIC_SystemReset();
when change DCCH to 3.3V as above codes in main first,
(1). the uart will can not work ,
(2). change pin to high voltage as follow two lines not working;
nrf_gpio_cfg_output(0x24);
nrf_gpio_pin_set(0x24);
Did I write change to 3V3 codes wrong?
Best regards
