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 jared,

    Looks like according to your Guide there is something called as dynamic HWFC handling..so your pin 5 and 7 needs to be disabled I think.Am I correct??..If so how do you do this in hardware kit??

    Any suggestion would be good...also the Tx is coming from STM32 for this also to work we need to disable HWFC.Kindly let me know.

    regards

    Ravi

  • Hi jared,

    Also I tried with making HWFC false in pca10056.h but connected to pin number 6 and 8.

    Then I changed in header file pin numbers to 3 and 4 for GPIO but still did not workpca10056.h

    Kindly let me know

    regards

    Ravi

  • HI jared,

    Any update on my previous message would help..Kindly let me know.

    thanks

    Ravi

  • sravich1 said:

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

    Yes, only one peripheral can drive any GPIO at a time. You need to debug your application, and see if the data is received correctly from the STM32 and if that data is sent with ble_nus_data_send() correctly. 

    regards
    Jared
  • Hi jared,

    This is the example code under ble_peripheral/ble_uart...I hope this does both sending as well as receiving..we have not changed any code...let me know where do we need to change for seeing this..

    also we want ble to be on once it is powered on..currently it is on for few seconds and ble goes off...any flag or any code where we need to enable to run ble all the time...kindly let me know.

    regards

    Ravi

Related