NCS v2.7.0 radio_test example for nrf5340 toggle_dcdc_state

Greetings,

Is the command toggle_dcdc_state supported in the radio_test sample when compiled for the nRF5340? (https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/peripheral/radio_test/README.html#user_interface)

I see an error when I try to use it:

radio_test:~$ toggle_dcdc_state
toggle_dcdc_state: command not found
radio_test:~$

If it is not supported, what is the default state of the DC/DC converter?

Thanks,

Bob

Parents Reply Children
  • FYI, it appears that the radio_test example defaults to enabling the DC-DC converters.

    After erasing the part through nRF Connect for Desktop / Programmer utility

    PS H:\> nrfjprog --memrd 0x50004704
    0x50004704: 00000000 |....|
    PS H:\> nrfjprog --memrd 0x50004904
    0x50004904: 00000000 |....|
    PS H:\> nrfjprog --memrd 0x50004B00
    0x50004B00: 00000000 |....|

    Then, after flashing a default build of radio_test:

    PS H:\> nrfjprog --memrd 0x50004704
    0x50004704: 00000001 |....|
    PS H:\> nrfjprog --memrd 0x50004904
    0x50004904: 00000001 |....|
    PS H:\> nrfjprog --memrd 0x50004B00
    0x50004B00: 00000001 |....|
    PS H:\>

  • This is due to the fact that your are building for a board that has DCDC enabled I belive. 

    If you build for a board that has DCDC disabled it should be off. 

    You can add some configs in the prj.conf.

    CONFIG_BOARD_ENABLE_DCDC_APP=n
    CONFIG_BOARD_ENABLE_DCDC_NET=n
    CONFIG_BOARD_ENABLE_DCDC_HV=n

    and use NCS 2.6.x

    Regards,
    Jonathan

Related