General Category > Discussion - Software

USBHostHID2.c problem. Packets out of order and hangs at random

<< < (2/2)

FTDI Community:
Hello,

You need something connected to the UART with CTS / RTS flow control signals.
Or set it to UART_FLOW_NONE.
At some point it writes enough to the UART to be waiting for a flow control event.

// set flow control
uart_iocb.ioctl_code = VOS_IOCTL_UART_SET_FLOW_CONTROL;
uart_iocb.set.param = UART_FLOW_RTS_CTS;
vos_dev_ioctl(hUART, &uart_iocb);

Best Regards,
FTDI Community

Navigation

[0] Message Index

[*] Previous page

Go to full version