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

SDK17 nRF52840-DK SD140 PCA10056 - ble_app_uart . RX_PIN_NUMBER missing from pca10056.h

Hello,

I am trying the example of ble_app_uart and when i am building the example it gives me an error RX_PIN_NUMBER undeclared. When i load the pca10056.h i can see TX_PIN_NUMBER there but RX is missing.

I have added the #define RX_PIN_NUMBER 8 in the header file. Now it builds fine but when i connect the Tx, Rx, Cts, Rts of the nRF52840-DK to my RS-232 cable and run the debugger it gives me a fatal error just after initializing RTC. if i disconnect the RX pin and leave the rest connected the program runs ok with no error.

I am suspecting the RX pin is somewhere is declared and thats why it gives this error ?

Looking forward for your assistance on this.

Kind regards,

Kleanthis

Related