This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is it possible for the nRF52840 to dynamically configure multiple UART connection in the gpio pinmux?

I am working on an embedded design that uses the nRF52840 MCU and 2x additional processors (Processor #1, Processor #2).

The intent of the system design requires that Processor #1 and Processor #2 communicate with the nRF52840 via UART. This assignment on its own would work, given that the nRF52840 supports 2x available UART connections.

My trouble arises when I consider that I would like 3 total UART connections, including both Processors and the SEGGER J-Link connection.

Is it possible that during typical run-time, I could have 2x UART connections to both Processors - and then later dynamically re-assign to drop 1x Processor in favor for enabling the SEGGER J-Link UART connection? (I am thinking some type of secure Bluetooth command for a separate mode)

To clarify, I would have dedicated GPIO's for all 3x UART connections without the need to swap the GPIO usage to another purpose. Any GPIO being dynamically re-assigned would be either un-used or a UART connection.

Parents Reply Children
Related