libftdi Archives

Subject: Re: FT2232H with 2Mbps

From: "Gerd v. Egidy" <gerd.von.egidy@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Sebastien Pernecker <pernecker@xxxxxxxxxxxxx>
Date: Tue, 26 Jan 2010 17:00:42 +0100
Hi Sebastien,

> I can't achieve to setup a FT2232H with a baud rate of 2Mbps. The
> ftdi_set_baud rate return -1. I try the example called baud_test but
> inside the .c I can't find any explanation why that don't work.

when you look at the baudrate code you'll see that it currently is a bit 
messy. I plan to rewrite the baudrate code in the near future. Currently I'm 
waiting for the logic analyzer I ordered to arrive so I can check what's 
really going on.

Did you try the 2MBps with bitbang or serial? When using bitbang with 
baud_test.c you'll actually set the chip to 2000000 / 16 = 125 000 Bps.

Kind regards,


libftdi - see for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread