FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: FT231X and Synchronous Bit Bang  (Read 9121 times)

diabloi

  • Newbie
  • *
  • Posts: 3
    • View Profile
FT231X and Synchronous Bit Bang
« 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

Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 892
    • View Profile
Re: FT231X and Synchronous Bit Bang
« Reply #1 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/

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 which should help you.

Best Regards,
FTDI Community
Logged