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

Uart application

Hello all,

I am working on nrf52832 Board and i want to use it as translator to send and receive the data , please tel which pins i need to select as UART(rx,tx) pins ? How to configure the same?

Parents Reply
  • Yes, you can select other pins. This can be configured in the PCA10040.h file. Or you can change it directly in main in the app_uart_comm_params_t instance.

    const app_uart_comm_params_t comm_params =
    {
        .rx_pin_no    = RX_PIN_NUMBER,
        .tx_pin_no    = TX_PIN_NUMBER,
        .rts_pin_no   = RTS_PIN_NUMBER,
        .cts_pin_no   = CTS_PIN_NUMBER,
        .flow_control = APP_UART_FLOW_CONTROL_DISABLED,
        .use_parity   = false,
        .baud_rate    = UART_BAUDRATE_BAUDRATE_Baud115200
    };
    
Children
No Data
Related