Hello everybody,
I have two nRF51822. One of them is connected to MCU (STM32 Development Board Nucleo 32) via USART with 115200 baudrate. The other one is connected to USB TLL module via USART with 115200. I am trying to send 20 bytes from MCU to nRF51 then it sends the data via BLE to other nRF51 to send over USART then I read data from PC. I need to transfer data continuously regardless of power consumption.
I am using SDK 12.3.0 and S130 softdevice. I tried ble_app_uart_c and ble_app_uart examples. There is no hardware flow control.
MIN_CONNECTION_INTERVAL MSEC_TO_UNITS(7.5, UNIT_1_25_MS)
MAX_CONNECTION_INTERVAL MSEC_TO_UNITS(20, UNIT_1_25_MS)
SLAVE_LATENCY 0
SUPERVISION_TIMEOUT MSEC_TO_UNITS(4000, UNIT_10_MS)
I achieved to send 20 bytes with 220 milisecond delay. I am trying to send data less delay time. When I reduce the delay, the connection is never established.
Maybe it isn't the right way to send data. Can you suggest me way to do it?