Giter Site home page Giter Site logo

Comments (8)

dman-github avatar dman-github commented on August 27, 2024

The FTDI chip kept on locking up when I read large amounts of data, so I reverted to the FTDI D2XX driver and used the libMPSSE-SPI library.

I got the same results, until I change the Latency Timer value in Channel config to 2ms (>10 it didnt work)
FT_STATUS SPI_InitChannel (FT_HANDLE handle, ChannelConfig *config)

Now is there a way to do this from FT232H.py, then I can continue development in python.

Cheers

from adafruit_python_gpio.

mpratt14 avatar mpratt14 commented on August 27, 2024

@damitha1984 I know this is a really old issue, but I did a lot of work on the SPI methods recently, you may want to reinstall the library and try again.

It is worth noting that the FT232H and similar FTDI chips using their MPSSE engine are limited to 64 KB per command.
See #94

If it's not that it might be:

  • a problem with libFTDI
  • hardware limit of your SD card (which is expected to run at lower baud in SPI mode)

from adafruit_python_gpio.

dman-github avatar dman-github commented on August 27, 2024

Hi mate, yes thats exactly what i did, reinstall the library and it worked

from adafruit_python_gpio.

mpratt14 avatar mpratt14 commented on August 27, 2024

@damitha1984 So you're using latest libFTDI with this library now?

from adafruit_python_gpio.

dman-github avatar dman-github commented on August 27, 2024

from adafruit_python_gpio.

mpratt14 avatar mpratt14 commented on August 27, 2024

@damitha1984 Yeah I see that, but the goal is to get it to work with libFTDI and the libusbK driver with this library, otherwise, we wouldn't consider this issue "fixed"

Some of the changes made to this library might solve your problem just as well. It also depends on how the functions are used....

For example, I added a function .bulkread, that might be better for your use case

And if not, it would be nice to know more in detail about how you were using this library and exactly what you were trying to do...maybe post a few lines of your script?

from adafruit_python_gpio.

dman-github avatar dman-github commented on August 27, 2024

from adafruit_python_gpio.

ladyada avatar ladyada commented on August 27, 2024

hiya thank you for the issue. we're going to be deprecating this library in favor of our python3 Blinka library which has support for almost 200 different drivers, and a wide variety of linux computers as well as ft232h

If this issue is still occuring when you use Blinka, please re-open it there!

from adafruit_python_gpio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.