case about nRF9160 uart0 uart1 uart2 uart3

Hi,

1. Please provide me with an example in which UART0, UART1, uart2, and uART3 are enabled

2. The sending and receiving rate of each UART must reach 1,000,000 baud rate

3. Each UART sends and receives a maximum of 2048 bytes

DK:PCA10090

SDK:ncs v2.0.0

Thank you for all your assistance.
Kind regards,
Peter.Min

Parents
  • Hi Peter,

    We don't have any samples that explains ONLY setting up UART, as our samples often illustrates multiple functionalities. But our nRF Connect SDK Fundamentals course regarding UART topic which you may find at our academy pages explains how the UART driver works and how to customize the UART in device tree file. This together topic 2 and topic 3 which gives you insight in how the devicetree and configuration files will allow you to enable all 4 UARTS.

    Additional resources is the central uart and peripheral uart samples that illustrates how two devices uses the NUS Client to send data back and forth between a UART connection and a BluetoothRegistered LE connection, emulating a serial port over Bluetooth LE.

    Let me know if this clarifies things for you,


    Kind regards 
    Andreas

Reply
  • Hi Peter,

    We don't have any samples that explains ONLY setting up UART, as our samples often illustrates multiple functionalities. But our nRF Connect SDK Fundamentals course regarding UART topic which you may find at our academy pages explains how the UART driver works and how to customize the UART in device tree file. This together topic 2 and topic 3 which gives you insight in how the devicetree and configuration files will allow you to enable all 4 UARTS.

    Additional resources is the central uart and peripheral uart samples that illustrates how two devices uses the NUS Client to send data back and forth between a UART connection and a BluetoothRegistered LE connection, emulating a serial port over Bluetooth LE.

    Let me know if this clarifies things for you,


    Kind regards 
    Andreas

Children
Related