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

How can I change rx tx pins of BT840F?

I m using sdk16.0.0  nrf52-ble-app-uart-c-multilink example. I want to comminication arduino btw BT840F.  I try with nrf52840 there is no problem but when i use bt840f i didn't read data. 

// <o> HCI_UART_RX_PIN - UART RX pin
#ifndef HCI_UART_RX_PIN
#define HCI_UART_RX_PIN 3 //8
#endif

// <o> HCI_UART_TX_PIN - UART TX pin
#ifndef HCI_UART_TX_PIN
#define HCI_UART_TX_PIN 10 //6
#endif

 I changed pins but i am not sure the numbers. I am tring to use p03 and p10 pins of BT840F. Can you tell me what is my mistake ?

Parents
  • Hello,

     

    but when i use bt840f i didn't read data.

     What does this mean? You didn't receive the data over UART, or do you not receive the data over BLE? During what step is it lost? I am not familiar with the BT840F. Are those pins used for something else? Are you using the nRF5 SDK on the BT840F? If so, have you considered that the pins P0.09 and P0.10 are the NFC pins? Perhaps you forgot the CONFIG_NFCT_PINS_AS_GPIOS preprocessor definition. Let me know what IDE you are using if you are not sure how to add preprocessor definitions.

    On the nRF52840 DK you need to modify the board a bit to get the pinout to connect to pin P0.09 and P0.10. Perhaps there is something similar on the BT840F? Check the datasheet that the pins are routed out as you expect (make sure that pin 10 is actually connected to what you believe is pin10 on the board).

    Best regards,

    Edvin

Reply
  • Hello,

     

    but when i use bt840f i didn't read data.

     What does this mean? You didn't receive the data over UART, or do you not receive the data over BLE? During what step is it lost? I am not familiar with the BT840F. Are those pins used for something else? Are you using the nRF5 SDK on the BT840F? If so, have you considered that the pins P0.09 and P0.10 are the NFC pins? Perhaps you forgot the CONFIG_NFCT_PINS_AS_GPIOS preprocessor definition. Let me know what IDE you are using if you are not sure how to add preprocessor definitions.

    On the nRF52840 DK you need to modify the board a bit to get the pinout to connect to pin P0.09 and P0.10. Perhaps there is something similar on the BT840F? Check the datasheet that the pins are routed out as you expect (make sure that pin 10 is actually connected to what you believe is pin10 on the board).

    Best regards,

    Edvin

Children
Related