libftdi Archives

Subject: Re: ftdi.read_data

From: Rogier Wolff <R.E.Wolff@xxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 3 Jun 2015 12:40:02 +0200
On Tue, Jun 02, 2015 at 11:50:06AM +0200, d.rodomonti wrote:

> ret = ftdi.usb_open(ftdic, 0x0403, 0x6001)
> ret = ftdi.usb_reset(ftdic)
> ret = ftdi.usb_purge_buffers(ftdic)
> ret = ftdi.set_baudrate(ftdic, 115200)
> ret = ftdi.set_line_property(ftdic, ftdi.BITS_8 , ftdi.STOP_BIT_1,
> ftdi.NONE)
> ret = ftdi.setflowctrl(ftdic,ftdi.SIO_DISABLE_FLOW_CTRL)

How are you putting data into the '245? 

You are setting a baud rate and "disable flow control" which do not
really make sense for a '245 chip.

        Roger. 


-- 
** R.E.Wolff@xxxxxxxxxxxx ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread