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

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Messages - mattmcguinness

Pages: [1]
1
Discussion - Software / Issues using FT260 to communicate over I2C
« on: April 27, 2022, 03:13:40 PM »
Hi everyone,

I'm currently trying to use an FT260S as a USB-I2C master to communicate with a couple of slaves. I'm trying to write the program in C# using the LibFT260 library and I'm using the AN438 code as an example but when the code tries to init and get the status I get errors.

Initialising the master gives an INCORRECT_CHIP_MODE
Getting the status gives an IO_ERROR - It returns 0 which I believe is busy?

Opening the device by VID is fine and when I call GetChipVersion(), I get "39846400" which looks like a valid version number.

Question 1 - Are these error codes documented anywhere?
Question 2 - What am I doing wrong? Is the chip wired up incorrectly? I have pull up resistors on the pins required for I2C comms is there anything else?

Thanks in advance

Pages: [1]