nrf5340 Gpio forwarder availibility

Hi,

I have a project on a custom board with Nrf5340 coming up which is using a lot og GPIO's

Doing some tests on the nrf5340 I saw I cannot use some gpios because they were defined as ` gpio_fwd: nrf-gpio-forwarder`

These are gpio1.0, gpio1.1, gpio0.11 and gpio0.10.

Assuming my network core is only doing BLE, the only changes to it are through the child_image/hci_ipc.conf and are:

CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=4000000
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
CONFIG_BT_BUF_ACL_RX_SIZE=502
CONFIG_BT_BUF_ACL_TX_SIZE=502
CONFIG_BT_CTLR_PHY_2M=y
CONFIG_BT_AUTO_PHY_UPDATE=yCONFIG_BT_MAX_CONN=1

Can I disable the gpio forwarder and use these pins?

Thanks!

Parents
  • Hi,

    The GPIOs which are forwarded to the netcore are used for debug logging over UART. You can disable the logging on the netcore by adding CONFIG_SERIAL=n to your child_image/hci_ipc.conf file. The GPIO forwarding from the appcore can be disabled by either disabling the GPIO forwarder device in a DT overlay:

    &gpio_fwd {
        status = "disabled";
    };

    Or by deleting the UART group:

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

    Best regards,

    Vidar

Reply
  • Hi,

    The GPIOs which are forwarded to the netcore are used for debug logging over UART. You can disable the logging on the netcore by adding CONFIG_SERIAL=n to your child_image/hci_ipc.conf file. The GPIO forwarding from the appcore can be disabled by either disabling the GPIO forwarder device in a DT overlay:

    &gpio_fwd {
        status = "disabled";
    };

    Or by deleting the UART group:

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

    Best regards,

    Vidar

Children
Related