pyftdi
pyftdi copied to clipboard
SPI exchange() returns no data; driver conflict between pyftdi and pyftdiwin
Hello,
I’m using pyftdi to drive SPI on an FT4232H device. When I call slave.exchange(...), I never receive any data back on MISO—even though my scope shows the slave driving valid bytes. Curiously, if I install both pyftdi and pyftdiwin, I can read back correctly, but only after swapping the FT4232H’s USB driver in WinUSB (v6.1.7600.16385) using Zadig.
I’d like to understand:
- Why exchange() fail to capture MISO data under a “pure” pyftdi setup?
- Is there a way to avoid juggling drivers and still use one library exclusively
Kind Regards Gauri
No idea except Windows is a massive piece of 💩
If it works on pyftdiwin, I would recommend you stick with it.