This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to run blinky example on nRF5340 DK in High Voltage mode?

Hi,

On nRF5340 development board I followed the instructions in this link and ran the blinky example successfully: Getting Started Guide — Zephyr Project Documentation (nordicsemi.com)

Now I want to run this blinky example in high voltage mode of the nRF5340 board, but failed. the LED do not blink. how should I do it? do you have some suggestion?

This is my steps:

1. switch the dev board to Li-Po.

2. use "TRACE" and J-Link to connect the board to PC (via SWCLK and SWDIO). 

3. run the command: nrfjprog -f nrf53 --memwr 0x00FF8010 --val 0xFFFFFFFD

    to write the register.

4.  erase the board and flash blinky program into the board.

by the way, how to use "west" to erase the board?

Thanks,

Carl

Parents
  • Sorry, I read your post again and see that you set the voltage to 3.3V using nrfjprog. However, you should not erase the board after writing that register. Erase the chip, write the VREGHVOUT register, then flash blinky.

    Also, you don't mention that you have connected a battery to the LiPo header? The LiPo switch is for running the DK from a LiPo battery. If you don't have a battery, you can set the switch to the USB position and power the nRF chip from the other USB port, nRF_USB

Reply
  • Sorry, I read your post again and see that you set the voltage to 3.3V using nrfjprog. However, you should not erase the board after writing that register. Erase the chip, write the VREGHVOUT register, then flash blinky.

    Also, you don't mention that you have connected a battery to the LiPo header? The LiPo switch is for running the DK from a LiPo battery. If you don't have a battery, you can set the switch to the USB position and power the nRF chip from the other USB port, nRF_USB

Children
Related