GPIO1.01 Pin Unresponsive on nRF5340 After Upgrading from NCS 2.4 to NCS v3.0.1

Hardware Setup:

  • Board: custom board using nrf5340dk_nrf5340_cpuapp
  • NCS Version: v3.0.1 (upgraded from v2.4 where it was working)

Problem Description:After upgrading from NCS v2.4 to v3.0.1, GPIO1.01 has become completely unresponsive to gpio_pin_set_dt() commands from the application core. The pin appears to be "stuck" at a fixed state regardless of attempts to change it programmatically.What Was Working (NCS v2.4):

  • GPIO1.01 could be controlled normally using gpio_pin_set_dt()

Current Behavior (NCS v3.0.1):

  • gpio_pin_set_dt(&lowpower, 1) angpio_pin_set_dt(&lowpower, 0) have no effect on pin state
  • Pin remains at a fixed logical state regardless of commands
Parents Reply
  • Hi all,

    Simply disabling UART in the device tree was not sufficient, because the forwarder node was still holding these pins.

    The solution was to explicitly delete the UART node under gpio_fwd as follows:

    &gpio_fwd
    { 
        /delete-node/ uart; 
    };

    This successfully released the pins, and they now work as expected.

    I post this resolution in case it helps others who face similar issues.

    Best regards,

    Ben

Children
No Data
Related