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

redefine Uart pin error?(nrf52832 + sdk12.1)

hello,everyone.we want to use pin3 and pin4 as txd and rxd,but there has error.could you give us some help? void debug_uart_init(void) { uint32_t err_code; const app_uart_comm_params_t comm_params = { 4, 3, RTS_PIN_NUMBER, CTS_PIN_NUMBER, APP_UART_FLOW_CONTROL_DISABLED, false, UART_BAUDRATE_BAUDRATE_Baud115200//zzq };

APP_UART_FIFO_INIT( &comm_params,
                   UART_RX_BUF_SIZE,
                   UART_TX_BUF_SIZE,
                   uart_event_handle,
                    APP_IRQ_PRIORITY_LOWEST,      //  APP_IRQ_PRIORITY_LOW, zzq/9/20
                   err_code);
APP_ERROR_CHECK(err_code);

image description

image description

Parents Reply Children
No Data
Related