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, Gerd -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
