FTDI Community

General Category => Discussion - Drivers => Topic started by: diabloi on April 02, 2021, 10:33:10 AM

Title: FT231X and Synchronous Bit Bang
Post by: diabloi on April 02, 2021, 10:33:10 AM

Good morning,
we are using an FT231X, unfortunately, I have problems using the SetBitMode, the mode 0x4 = Synchronous Bit Bang, does not work with the _NET.dll library.
Why?

Thanks for the help

Title: Re: FT231X and Synchronous Bit Bang
Post by: FTDI Community on April 02, 2021, 04:25:38 PM
Hello,

Which version of the .net library are you using? The latest can be found here:

https://ftdichip.com/software-examples/code-examples/csharp-examples/ (https://ftdichip.com/software-examples/code-examples/csharp-examples/)

Can you please confirm why you believe the function is not working?

What is the return code after calling the function?

Please note that other function GetBitMode does not actually get the bit mode.
It actually returns the pin state of the I/O pins (used in bit bang mode).
This can be deceiving with the function name.

Please refer to AN_373 Bit-Bang Modes for the FT-X Series (https://ftdichip.com/wp-content/uploads/2020/08/AN_373-Bit-Bang-Modes-for-the-FT-X-Series.pdf) which should help you.

Best Regards,
FTDI Community