Using IO to Control battery switch

Hi,

Here is my hardware.

VBAT is 3.6-4.2V, UWB_EN is Pin28.By using nrf_gpio_cfg_output(UWB_EN ) to init this IO.

Is there any problem?Because when I using nrf_gpio_pin_clear(DC_EN_PIN), there will be a 4.2v(highest) voltage on pin28.

Related