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

  • Hello,

    That seems to just be a dummy values for compilation purposes. You can find them in components/boards/d52_starterkit.h.

    You should be able to change them to whatever you need to.

    Best regards,

    Elfving

  • Hi Elfving,

    Thanks for your response.In the current project with ble_App_UART_pca10056

    I am not seeing d52_started.h..is this called internally??...also there is pca_10056.h should I change here

    in d52_starter.h

    // serialization CONNECTIVITY board
    #define SER_CON_RX_PIN 22 // UART RX pin number.
    #define SER_CON_TX_PIN 23 // UART TX pin number.
    #define SER_CON_CTS_PIN 25 // UART Clear To Send pin number. Not used if HWFC is set to false.
    #define SER_CON_RTS_PIN 2 // UART Request To Send pin number. Not used if HWFC is set to false.

    is this the place to change?? if this can be accessed internally from the project.

    Also according to the development board p0.05,p0.06,p0.07,p0.08 used for UART..

    but I want to use only Tx and Rx pin in p0.06 and p0.08..will we get UART signals if I change to these values.

    let me know

    Thanks and regards

    Ravi 

  • Hello,

    sravich1 said:
    is this the place to change?? if this can be accessed internally from the project.

    I believe you could change this directly in your project as well, and that would make it easier for you.

    sravich1 said:
    but I want to use only Tx and Rx pin in p0.06 and p0.08..will we get UART signals if I change to these values.

    I don't know if I understand your issue here. Could you expand on this?

    Regards,

    Elfving

  • 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

Related