[Ftdi-usb-sio-devel] Long delay between break signal and first data bytes
Brought to you by:
bryder
From: Peter K. <pet...@we...> - 2008-10-24 14:38:34
|
Hi, I am using an FTDI device on a linux system (2.6.24-21) USB Data are: FTDZIG54, TTL232R I am having some trouble to get tcsendbreak() working. I am expecting a break level for some milliseconds on the TX line followed by the data. The C code looks as follows: // int sync=0x55; tcsendbreak(handle,0) write(handle,&sync,1) ... // When I connect a scope to the tx line I can see something like: ~~~~.__,~~~~~~~~~~~~,_||||| A break signal some 500ms delay the data beeing sent I wonder how I would be able to send a break, immediately followed by my data. The problem is that other devices on the line do not expect such a long delay following the break signal. Any help regarding breaks and general serial programming for ftdi devices under linux would be very much appreciated. I have scaned the internet for some help but nothing apropriate was found regards, Peter |