You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using pyftdi to bitbang on the FT230x CBUS pins. I want to check if CBUS functions are set to GPIO, and if not, set them to GPIO in EEPROM so I can use the cbus gpio APIs. I ran into a number of issues along with some inaccuracies with the APIs:
Doing:
` ftdi = Ftdi()
ftdi.open_from_url("ftdi://ftdi:ft-x:/1")
if ftdi.has_cbus:
print("Found CBUS enabled FTDI 230x")
eeprom.commit always returns false even if one of the above options is changed. e.g. if I write DRIVE0 with eeprom.set_property and commit, eeprom.commit still returns False. This is an issue since I need to be able to tell if settings were changed or not so I can avoid doing a lengthy reset. Some kind of get_property API would be incredibly useful here.
eeprom.sync() doesn't seem to apply the EEPROM changes, only after a device reset do the settings take place.
The text was updated successfully, but these errors were encountered:
Using pyftdi to bitbang on the FT230x CBUS pins. I want to check if CBUS functions are set to GPIO, and if not, set them to GPIO in EEPROM so I can use the cbus gpio APIs. I ran into a number of issues along with some inaccuracies with the APIs:
Doing:
` ftdi = Ftdi()
ftdi.open_from_url("ftdi://ftdi:ft-x:/1")
if ftdi.has_cbus:
print("Found CBUS enabled FTDI 230x")
The text was updated successfully, but these errors were encountered: