Hi, I made a PCB board nrf51822.
Because of my mistake, Rx, Tx pin was not cross connected to MCU.
So i want to change Rx <-> Tx pin.
In the example of ble_app_uart_s130_pca10028,
I change the below source code.
const app_uart_comm_params_t comm_params =
{
RX_PIN_NUMBER,
TX_PIN_NUMBER,
RTS_PIN_NUMBER,
CTS_PIN_NUMBER,
APP_UART_FLOW_CONTROL_ENABLED,
false,
UART_BAUDRATE_BAUDRATE_Baud38400
};
to
const app_uart_comm_params_t comm_params =
{
9,
11,
RTS_PIN_NUMBER,
CTS_PIN_NUMBER,
APP_UART_FLOW_CONTROL_ENABLED,
false,
UART_BAUDRATE_BAUDRATE_Baud38400
};
And upload the firmware on nrf51822,
The UART program in nRF Toolbox app is not work.
The error message is Error 6:The connection has timed out unexpectedly
Why this error is occur?
When i change the Tx, Rx pin physically(jumpper line) on the MCU,
ble_app_uart_s130_pca10028( not change tx, rx) work very well.