nRF54L15 custom board: GPIO remains floating for over a minute before going HIGH

Hi everyone,

I'm developing a custom PCB based on the nRF54L15, using the official nRF54L15 DK as a reference for the schematic and PCB layout.

I'm currently experiencing an issue with GPIO initialization that I haven't been able to identify.

Hardware and software:

  • MCU: nRF54L15 (QFAA)

  • Custom PCB based on the official nRF54L15 DK design

  • SDK: nRF Connect SDK v3.4.1

  • Zephyr: v4.4.2

  • Programming and debugging via SWD using the Nordic DK

The issue:

SWD communication works correctly, and I'm able to flash and debug the firmware without errors.

However, when configuring a GPIO as an output and running a simple toggle loop (alternating between HIGH and LOW), the pin initially remains floating instead of toggling.

After more than one minute, the pin eventually goes HIGH, but it does not toggle as expected.

Interestingly, this only happens with the GPIO selected by the firmware. Other GPIOs remain floating.

I've compared the custom board with the original nRF54L15 DK but I haven't identified the cause yet.

I've attached the PCB design files, the firmware source code, and a video showing the GPIO behaviour during testing on the voltmeter.

I've also included the schematic and PCB layout for reference.

 

nRF54LDK.pdf

pcbdesignzip.zip

#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/sys/printk.h>

int main(void)
{
    const struct device *gpio =
        DEVICE_DT_GET(DT_NODELABEL(gpio0));

    if (!device_is_ready(gpio)) {
        printk("GPIO NOT READY\n");
        return 0;
    }

    int ret = gpio_pin_configure(
        gpio, 0, GPIO_OUTPUT_INACTIVE
    );

    printk("GPIO configure result: %d\n", ret);

    if (ret != 0) {
        return 0;
    }

    while (1) {
        gpio_pin_set(gpio, 0, 0);
        k_msleep(500);

        gpio_pin_set(gpio, 0, 1);
        k_msleep(500);
    }
}

Related