I am testing UART between PCA10040(nrf52832) and Raspberry Pi 4. I connect TX/RX/GND 3 lines between RPI4 and PCA10040.
On host RPI4 side, my test app send 1 byte to 32 byte text data on every 100ms. The text dada ends with 0x0a.
On client side, I use RF5_SDK_17.1/examples/ble_central_and_peripheral/experimental/ble_app_interactive example.
I add received byte verifying code in cli_uart_read(), nrt_cli_uart.c
Byte send test is success on 1 byte to 25 byte.
When receiving 26 bytes text, the example's uart_event_handler() is called with NRF_DRV_UART_EVT_ERROR.
After that, receiving byte become garbage.
Same test with nRF5_SDK_17.1/examples/peripheral/uart was success, 1 bytes to 128 bytes.
If you know a way to fix this garbage data, please let me know.
Thanks,