Serial data reception occasionally loses characters

I configured HA (on Raspberry) to receive serial data from a USB port. What I see when using ‘minicom’ is that every now and then characters are lost in reception. The device connected via USB is an ST NUCLEO-L432KC development board that transmits decoded data from some wireless sensors.

The same card connected directly to a PC works perfectly without losing any characters.

I tried lowering the baud rate (from 115200 to 57600) and enabling the RTS-CTS handshake without obtaining any improvement.

This is the serial configuration:

sensor:
  - platform: serial
    serial_port: /dev/serial/by-id/usb-STMicroelectronics_STM32_STLink_066FFF535155878281032819-if02
    baudrate: 57600
    rtscts: true

Any suggestion is welcome!

Come on, does anyone have any ideas for me?

I have the same problem with an Arduino Nano, but didn’t find any solution yet. It’s only very occasionally.

I’m using Odroid N2+ by the way