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

Parents
  • Hi,

    Start with our lp-UART example in NCS or UART example in nRF5SDK. Documentation for the peripheral can be found here,

    regards

    Jared 

  • Hi,

    Thanks for your reply.I tried unboxing the Dk kit with pulsating example which was preinstalled ..I was able to control the LED's.after this I copied J-Link OB-SAM3U128-V2-NordicSemi 170724.bin to check for the flashing LED example.

    Now I cannot go back to previous one.

    what I need to know is should I install Segger Embedded studio to run the IDE....I need to know which IDE  I can install so that I can run the examples by flashing.

    IDE where I can code (pre installed code if any), compile and run ..similar to an IDE.Kindly let me know

    Like this if I already have UART example I shall modify the same and flash the hex file.Kindly guide me 

    regards

    Ravi chandran

  • Hi ELfving,

    I would like to connect nRF52840 development board UART to my custom board UART.

    To achieve this I also need to know to which pin I am connecting

    In our design we would like to connecte STM UART to p0.5 and p0.06 pins.

    Now the UART output that comes when I connect putty is from same pins??

    If not,Then How do I change to P0.05 and P0.06 pins??

    which file or .h files has these pins reference so that I can change and build.

    Kindly let me know that the query.

    you said initially d52_starter.h which I could not find in the BLE_peripheral_App project.

    so would like to know name of the .h file where I can change to check the output.

    Thanks

    Ravi

  • Hi ELfving,

    My bluetooth connects when I connect with nRF connects Bluetooth App but not with nRF UART 2.0

    or any other Bluettoth terminal App....I get connect and disconnects immediately..how to get this working for any 3rd party App also??..any code changes we need to enable let me know

    Thanks

    Ravi

  • Hi Elfving,

    Any update on the 3rd party App query I had asked earlier..kindly let me know.

    Thanks

    Ravi

  • Hey Ravi,

    sravich1 said:

    which file or .h files has these pins reference so that I can change and build.

    sravich1 said:

    you said initially d52_starter.h which I could not find in the BLE_peripheral_App project.

    Yes, I see now that it is rather in /components/boards/PCA10056.h, sorry about that. Do you have issues finding the components/boards/ folder in your SDK? It should be in the root folder.

    sravich1 said:

    or any other Bluettoth terminal App....I get connect and disconnects immediately..how to get this working for any 3rd party App also??..any code changes we need to enable let me know

    Could you expand on this? What are you using to connect?

    Regards,

    Elfving

  • Hi,

    Yes, I see now that it is rather in /components/boards/PCA10056.h, sorry about that. Do you have issues finding the components/boards/ folder in your SDK? It should be in the root folder.

    I found this ..sure I will try changing pins here

    currently since I am using nRF52840 board..for UART can I use pin 8 and 6 for RX and TXD.???

    currently I am using nRF connect App where I can send and receive..I cannot do  the same using nRF UART2.0 or bluetooth terminal 3rd party App..any reason should I change anything let me know.

    Thanks for your suggestion.

    regards

    Ravi

Reply
  • Hi,

    Yes, I see now that it is rather in /components/boards/PCA10056.h, sorry about that. Do you have issues finding the components/boards/ folder in your SDK? It should be in the root folder.

    I found this ..sure I will try changing pins here

    currently since I am using nRF52840 board..for UART can I use pin 8 and 6 for RX and TXD.???

    currently I am using nRF connect App where I can send and receive..I cannot do  the same using nRF UART2.0 or bluetooth terminal 3rd party App..any reason should I change anything let me know.

    Thanks for your suggestion.

    regards

    Ravi

Children
Related