Re: [Ftdi-usb-sio-devel] Resetting the FTDI
Brought to you by:
bryder
From: Bill R. <bil...@gm...> - 2010-11-11 20:08:46
|
On Fri, Nov 12, 2010 at 8:34 AM, Chris Stankevitz <chr...@ya... > wrote: > > Is it possible for a userland program that is communicating with FTDI using > open/close/ioctl/tcsetattr type calls to issue an FTDI reset or purge? > > When the port is opened the driver issues a FTDI_SIO_RESET but it doesn't purge it You'd have to change the driver (the ftdi_open function in drivers/usb/serial/ftdi_sio.c) and sent it three resets. The two purges and the normal one. > My application does not use libftdi (currently). I am trying to get low > latency comms with an FT245RL (only full speed) and I suspected libftdi > wasn't up to the task (but that was when I knew relatively little about this > process. I should try again). My goal is to get a message to the FT245RL > and back to the host within each 1ms full speed frame. > I see. That will be quite tricky I suspect. |