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:

  - 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?