1 year ago
DA14531 uart project with TX=P0_0 and RX=P0_1
Posted byjcdr0 points 1 replyThe pad P0_0 is by default a reset input. I have found that I need to add the following line at the beginning of the function set_pad_functions() of the file user_periph_setup.c
GPIO_Disable_HW_Reset();
Modify the following lines in the file user_periph_setup.h inside the #if defined (__DA14531__)
#define UART1_TX_PORT GPIO_PORT_0
#define UART1_TX_PIN GPIO_PIN_0
#define UART1_RX_PORT GPIO_PORT_0
#define UART1_RX_PIN GPIO_PIN_1
#define UART2_TX_PORT GPIO_PORT_0
#定义UART2_TX_PIN GPIO_PIN_0
#define UART2_RX_PORT GPIO_PORT_0
#define UART2_RX_PIN GPIO_PIN_1
1 year ago
Hi Jean-Christian,
I have already replied you in the below forum thread. I think both are covering the same topic.
https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/da14531-blinky-txp00#comment-26799
Thanks, PM_Dialog