Allocate gpio pins for UART on the nRF5340

Hello !

I need for allocate gpio pins for 3rd UART e.g for RX/TX/RTS/CTS on the nRF5340.

Are all pins are equal and I can select any free ones or some limitation exists ?

How I can configure under Zephyr if those pins will be controlled by network core ?

How to configure usage of other peripherals on network core only ?

I mean GPIOTE, RADIO, RTC, TIMER, PPI .

Can west build system create report what peripheral controller from app core or network core ?

Source samples are quite complicate and not so easy to identify what in use and where.

Regards,

Eugene

Parents
  • Hi Eugene,

    Are all pins are equal and I can select any free ones or some limitation exists ?

    See nRF5340 Pin Assignements.

    How I can configure under Zephyr if those pins will be controlled by network core ?

    See nordic,nrf-gpio-forwarder.

    How to configure usage of other peripherals on network core only ?

    From nRF5340 Peripherals:

    "The application core peripherals are found in Instantiation, and the network core peripherals are found in Instantiation. The application core peripherals are accessible from the network core, but the network core peripherals are not accessible from the application core. For further details, see Memory."

    Can west build system create report what peripheral controller from app core or network core ?

    I do not understand this question. Can you elaborate?

    Regards,
    Sigurd Hellesvik

Reply
  • Hi Eugene,

    Are all pins are equal and I can select any free ones or some limitation exists ?

    See nRF5340 Pin Assignements.

    How I can configure under Zephyr if those pins will be controlled by network core ?

    See nordic,nrf-gpio-forwarder.

    How to configure usage of other peripherals on network core only ?

    From nRF5340 Peripherals:

    "The application core peripherals are found in Instantiation, and the network core peripherals are found in Instantiation. The application core peripherals are accessible from the network core, but the network core peripherals are not accessible from the application core. For further details, see Memory."

    Can west build system create report what peripheral controller from app core or network core ?

    I do not understand this question. Can you elaborate?

    Regards,
    Sigurd Hellesvik

Children