Skip to content

Unbricking a nRF53 Due To DCDC Config

Published On:
Oct 1, 2023
Last Updated:
Oct 1, 2023

Unfortunately, you can quite easily “brick” a Nordic nRF53 series microcontroller if you both:

  1. Are using the newer nRF Connect SDK (based on Zephyr), and don’t explicitly disable the DCDC converters in the proj.conf.
  2. Don’t fit the inductors required for the internal DCDC converters (also called Switch-mode Power Supplies, or SMPS), because you plan on using the LDO (low dropout linear regulator) instead.
Schematic highlighting the three inductors that can be not placed in a design in where you plan to use the LDO rather than the DCDC converters.

In this scenario, if you forget to explicitly disable the SMPS in the Zephyr prj.conf file, then the SMPS will be enabled (yes — they are enabled by default). But you don’t have the required inductors, the SMPS will not work, and the internal voltage rails required by the MCU will not do anything but stay at 0V. This unfortunately “bricks” the MCU. You can’t re-program the device with a fixed firmware binary because the MCU requires these internal voltage rails for programming.

# Disable all three internal SMPSs.
# WARNING: Do NOT remove these lines, doing so will brick the MCU,
# as it expects the inductors to be fitted
CONFIG_BOARD_ENABLE_DCDC_APP=n
CONFIG_BOARD_ENABLE_DCDC_NET=n
CONFIG_BOARD_ENABLE_DCDC_HV=n

Recovery

However, you can recover from this by providing the required power rails externally. All you need to two extra benchtop adjustable power supplies and access to the right pins. Luckily, even when not attaching inductors, the design guidance from Nordic recommends you add bulk capacitance to these pins away, giving you a good point to solder wires onto.

  • Provide 1.25V to the DECD pin
  • Provide 1.05V to the DECRF pin

The image below is a schematic of a nRF53 SoC showing which pins to apply these voltages to.

Schematic showing where to connect the two voltages up to on an nRF53 SoC.

The image below shows a photo of two wires soldered onto the bulk capacitance on these two power rails. These two wires go off to external power supplies (ground is connected via a ground test point elsewhere).

Picture of two wires soldered onto the XX and XX pins of a bricked Nordic nRF5340-QKAAD0 MCU so that the internal voltage rails can be provided by external power supplies.

Once you’ve powered these rails (along with providing power to the standard input power pins on the MCU), you should be able to connect to the device again using a programmer. At this point all you need to do is to flash it with firmware which disables the DCDC converters (or just erase the device). Then you can remove the external voltage supplies and wires and you’re back in action!