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

nRF5340 - UART boot mode selection

Hello,

I want to program nRF5340 via UART.

What is the hardware related event that puts the application processor in program mode over the UART ?

All ARM microprocessors I've worked with have special pins with "boot-mode" function.
When the device reset is deasserted, the boot mode selection is determined by the logic values of these pins.
I suppose nRF5340 does the same. Or not?

I'm in the hardware design process, and need to fix this.

Regards,
Gabriele

Parents Reply
  • Gabriele said:
    I guess P18 is the one I have to replicate on my board.
    Is it correct ?

     Yes, you're correct.
     

    Gabriele said:
    For the BOOT_SERIAL_DETECT_PIN mechanism to work, is a Soft Reset equivalent to a Pin Reset ?

     For DFU purposes yes, as the bootloader is the first piece of code executed after a reset. A soft reset resets the CPU only, a pin reset resets the rest of the MCU as well.

Children
Related