pyftdi icon indicating copy to clipboard operation
pyftdi copied to clipboard

SPI exchange() returns no data; driver conflict between pyftdi and pyftdiwin

Open gaur20 opened this issue 5 months ago • 1 comments

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:

  1. Why exchange() fail to capture MISO data under a “pure” pyftdi setup?
  2. Is there a way to avoid juggling drivers and still use one library exclusively

Kind Regards Gauri

gaur20 avatar Jul 17 '25 14:07 gaur20

No idea except Windows is a massive piece of 💩

If it works on pyftdiwin, I would recommend you stick with it.

eblot avatar Jul 17 '25 14:07 eblot