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

uart issue esp32 and nRF52832

Hi... i am using nRF52832 ,15.2 version sdk . I want to send the data from esp32 to nRF52832 through Rx ,Tx . I have done connections rx,tx,gnd . I can able to transmit the data but i can't able to receive the data why ? i have used ble_app_uart examples , i didn't change anything , just inlcuded one data to print .

Parents Reply Children
  • Did you tried these steps ? 

    1. Connect the board to the computer using a USB cable. The board is assigned a COM port, which is visible in the Device Manager.
    2. Start a terminal emulator like PuTTY and connect to the used COM port with the following UART settings:
      • Baud rate: 115.200
      • 8 data bits
      • 1 stop bit
      • No parity
      • HW flow control: None
    3. Compile and program the application. Observe that the BSP_INDICATE_ADVERTISING state is indicated, and that the device is advertising with the device name "Nordic_UART".
    4. Observe that the text "UART Start!" is printed on the COM listener running on the computer.
    5. Connect to the device from nRF Connect. Observe that the BSP_INDICATE_CONNECTED state is indicated.
    6. Observe that the services are shown in the connected device.
    7. Select the UART RX characteristic value in nRF Connect. You can write hexadecimal ASCII values to the UART RX and get the text displayed on the COM listener.
    8. Write '30 31 32 33 34 35 36 37 38 39' (the hexadecimal value for the string "0123456789") and click 'write'. Verify that the text "0123456789" is displayed on the COM listener.
    9. For sending data from the device to nRF Connect, enter any text, for example, "Hello", on the COM listener. Observe that a notification with the corresponding ASCII values is sent to the peer on handle 0x12. For the string "Hello", the notification is '48 65 6C 6C 6F'

    If it works that means that the problem is pin configuration. 

Related