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

thread_cli_ftd_uart_pca10100 example: move UART port to different pins

I want to move the uart communication port from default pins to

#define RX_PIN_NUMBER 33
#define TX_PIN_NUMBER 34
#define CTS_PIN_NUMBER 35
#define RTS_PIN_NUMBER 36

I changed the defines in pca10100.h

uart_pca10100 example works fine.

thread_cli_ftd_uart_pca10100 example doesn't change as if pca10100.h had old settings

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

Probably thread_cli_ftd_uart_pca10100 doesn't use pca10100.h, is it ?

How can I set a different pins set for UART?

Best Regards

Roberto Cerati

Related