uart and uarte peripheral

Hi team, 

             I want know how many UART modules on nRF52840 microcontroller? I am confused with one UART and two UARTEs.

             Which one is connected to "USB for interface MCU" connector (J2 on hardware board)?

             I have used nRF Loggers in "blinky" template of SDK 16.0. Added logger related .c and .h files along with their paths. But it did not work for that code. So, which UART is connected to nRF Loggers? Also which GPIO pins support nRF loggers?

Thanks.

  • Hi,

       I want know how many UART modules on nRF52840 microcontroller? I am confused with one UART and two UARTEs.

    The nRF52840 has 1 UART and 2 UARTE. The UART and UARTE are two different peripherals that implements the UART protocol. The difference is that the UARTE supports the EasyDMA bus, which means that you can schedule serial communication without involving the CPU. 

                 Which one is connected to "USB for interface MCU" connector (J2 on hardware board)?

    The J2 port is connected directly to the interface chip on the nRF52840 DK. The interface chip is connected to pin P0.06 and P0.8 on the onboard nRF52840. Whatever the nRF52840 sends on P0.06 and P0.08 the interface chip will output on J2, so it acts as a UART(E) to USB bridge on the board. Exactly if it's UARTE or UART that is connected to these pins depends on the application that is flashed on the nRF52840. 

     I have used nRF Loggers in "blinky" template of SDK 16.0. Added logger related .c and .h files along with their paths. But it did not work for that code. So, which UART is connected to nRF Loggers? Also which GPIO pins support nRF loggers?

    I'm not sure I understand what you've done. Can you elaborate a bit more in detail?  What changes did you do to the template example and what are you trying to achieve? Are you trying to figure out which pins you need to connect to in order to read the log output?

    regards

    Jared 

Related