How to configure NRF52840(dk) GPIO voltage to 1.8V on Zephyr

Hi,

I am using the NRF52840DK and would like to configure the GPIOs to have levels of 1,8V by using zephyr 2.4 or zephyr 3.1. By default I am getting 3 V.

Can anybody give me some advise? I did not find anything helpful in the documentation.

Regards,

Volker

Parents Reply
  • Hi Priyanka,

    with your help I am now having a clear understanding of how to configure the GPIO voltage levels based on the nrf registers.

    But I am still not able to get this working with zephyr.

    I tried to activate the High-Voltage-Mode by configuration CONFIG_BOARD_ENABLE_DCDC_HV=y.

    I also tried to activate it by nrf_power_dcdcen_vddh_set(NRF_POWER,true);

    But I am still getting nrf_power_mainregstatus_get(NRF_POWER) ==  NORMAL.

    As mentioned before I am using the NRF52840DK eval board.

    Can you please give me some advise of how to configure this with zephyr using my eval-board?

    Volker

Children
Related