nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UART communication using nRH52840

  1. I am a newbee to nrf 52840..I saw lot of documents and got confused on where to start ..indly guide me on this
  2. we are trying nrf52840 dev kit as we are using nrf52840 in our custom board
  3. Let me know how can start for UART communciation using this dev Kit
  4. Kindly let me know the procedures
  5. Also if I plan to use custom board for this..let me know how we can program for incoming BLE msg to be sent via UART..

Kindly let me know

Thanks and regards

Ravi chandran

  • Hi,

    So you are using a second UART instance which is connected to your STM32. What pins does this second instance use? Is the board still connected to the computer through USB? Some code would definitely help ;)

    regards

    Jared 

  • HI jared,

    I am using the first instance of the code ble_peripheral/ble_App_UART/pca10056/ble_app_uart_pca10056_s113.hex 

    this is the main file from the ble_peripheral/ble_app/uart/

    I have connected to UART  pin number 6 and pin number 8

    BLE APP(Nordic App/BLE scanner) sending to --->Nordic chip-> send to STM32---not working at STM

    STM32 sending data--->coming in the UART pins--> into Nordic--->Not seen in the Nordic App

    yes board is connected laptop using USB.

    is the connection fine with these pins

    first and second instance same pins..do we need different pins??

    Rx and Tx same pins

    Kindy suggest us one instance to check at a time so that we are clear.

    Thanks

    Ravi

  • Hi jared ,

    we would like to know 

    STM32 sending data--->coming in the UART pins--> into Nordic--->Not seen in the Nordic App

    yes board is connected laptop using USB.

    is the connection fine with these pins

    first and second instance same pins..do we need different pins??

    Rx and Tx same pins(Pin no6 and pinno 8 as given in the guide.

    Any pin changes needed let me know.

    I am seeing in the laptop which is connected via USB..should this be removed??

    Kindly let me know.

    regards

    Ravi

  • If we remove how to power the board??...but do not connect to the com port???..

    --Ravi

  • also when I run the development board individually the print statement comes properly in the UART...saying UART has started...but when I integrate with STM..I do not see the print statement when I switch both the boards on...any timing issue or any pin connection error..

    --Ravi

Related