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

I need to establish serial communication between nRF52832 to MK81(NXP) with BLE

I need to control the BLE ON/OFF state and send some data to MK81 via BLE through UART, we have estalished  the Hardware connection between the nRF52832 chip and MK81,

How to format the data to send and receive from UART between these chips, I have flashed "ble_app_uart_pca10040_s112" binary and got discoverd the BLE, But the data communication is required for me, is the example "ble_app_uart" is enough or needed to add more logic to archieve this?,  Please share your thoughts.

And please share with me if anyone having the BLE work flow of  "ble_app_uart" on nRF52832.

Thanks much.

Kind Regards,

Thiru.

Parents Reply
  • Hi,

    Thank you so much for the guide,

    i understood the concept from the guide what you have shared.

    I need to change the UART pin details as per my carear board, When i change the pin numbers in "pca10040.h" file,  BLE is not discovered.

    If i change below UART Pins what else i need to change/consider to work normal BLE operation in "ble_app_uart" example

    Current state:

    #define RX_PIN_NUMBER 8
    #define TX_PIN_NUMBER 6
    #define CTS_PIN_NUMBER 7
    #define RTS_PIN_NUMBER 5

    Changed to :

    #define RX_PIN_NUMBER 9
    #define TX_PIN_NUMBER 10
    #define CTS_PIN_NUMBER 18
    #define RTS_PIN_NUMBER 20

    Thank you for your help.

    Kind Regards,

    Thiru.

Children
Related