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

Using two UART ports on the NRF52840DK at the same time

I find that the nrf52840DK offers two UART function, and when I running the nrf5_SDK/example/peripheral/uart program, there has only one UART configuration example. Can I configure the other UART like UART1 to transmit the data and use the default UART sending data to the PC.

Parents
  • Hi

    Yes, the nRF52840 (and nRF52833) have two UART instances. You can indeed use both of these in your application, and if you'd like, use one for logging and one for whatever other UART communication you desire. Please note that if you're using the DK to communicate with a computer for logging, you can also use the RTT backend for logging, leaving both of the UART instances free.

    Best regards,

    Simon

Reply
  • Hi

    Yes, the nRF52840 (and nRF52833) have two UART instances. You can indeed use both of these in your application, and if you'd like, use one for logging and one for whatever other UART communication you desire. Please note that if you're using the DK to communicate with a computer for logging, you can also use the RTT backend for logging, leaving both of the UART instances free.

    Best regards,

    Simon

Children
Related