Hello,
I am using nRF51822 and an STM32 communicating over UART. I want to test UART communication without CTS and RTS so I did the configuration as shown below:
static void uart_init(void) {
uint32_t err_code;
const app_uart_comm_params_t comm_params =
{
BLE_USART_RX_PIN_NUMBER,
BLE_USART_TX_PIN_NUMBER,
BLE_USART_RTS_PIN_NUMBER,
BLE_USART_CTS_PIN_NUMBER,
APP_UART_FLOW_CONTROL_DISABLED,
false,
UART_BAUDRATE_BAUDRATE_Baud115200,
};
APP_UART_FIFO_INIT( &comm_params,
UART_RX_BUF_SIZE,
UART_TX_BUF_SIZE,
uart_event_handle,
APP_IRQ_PRIORITY_HIGH, // APP_IRQ_PRIORITY_LOW
err_code);
APP_ERROR_CHECK(err_code);
}
Can you confirm my changes especially that I got no communication between them once I disable UART flowcontrol.
regards,