There is a function in the api called
ftdi_set_baudrate(ftdi_context,baudrate)
I am not sure if it is as simple as calling this function with a 3000000 for 3MHz or if there is some other calculation involved.
Does ftdi_set_baudrate(ftdi_context,3000000) == 3MHz MPSSE SPI mode?
I am trying to sample a 1.5 MHz signal on the "Data Input (DI)" pin of both channels(A & B).
Thanks Siva
From: sivaramreddy@xxxxxxxxxxx To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx Subject: MPSSE baudrate Date: Thu, 31 Dec 2009 06:50:05 -0500
Hello,
I am a beginner to using FTDI chips and want to use FT4232H for sampling a 1.5 MHz line. I am hoping that if I could run MPSSE SPI at a baud rate of > 3Mhz or 6 Mhz, will give me a reliable sample.
I am struggling to understand how the baud rate interacts with MPSSE. I have been through the examples in the libftdi source and the mailing list, but am not having much luck. Any documentation that I can find on baudrate seems to be correlated with BitBang mode or UART mode.
Can anyone please guide me to where I can find more information on how the baudrate interacts with MPSSE SPI?
Thanks Siva
Hotmail: Trusted email with powerful SPAM protection. Sign up now.
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
Hotmail: Powerful Free email with security by Microsoft. Get it now.
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|