Comments (8)
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.
@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.
Hi mate, yes thats exactly what i did, reinstall the library and it worked
from adafruit_python_gpio.
@damitha1984 So you're using latest libFTDI with this library now?
from adafruit_python_gpio.
from adafruit_python_gpio.
@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.
from adafruit_python_gpio.
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)
- Could not determine platform on Jetson Nano HOT 1
- Does not work with Raspberry Pi 4 HOT 1
- Incorrect detection of Raspberry Pi version HOT 4
- Local variable 'gpio' shadows self.gpio HOT 1
- Platform.pi_version() regex fails HOT 1
- error accessing p8_7 and p8_8 on BBB HOT 3
- Expose polarity argument on BBIO_PWM_Adapter.start() HOT 1
- Adafruit_Python_GPIO not compatible with Python 3.6.1, only Python 2.7.9 HOT 2
- no module named 'Adafruit_GPIO' (even though I checked everything) HOT 1
- RE: Using Your Software and Changing It/Seth HOT 1
- self._mosi should be self._miso
- Support arm64 for platform version HOT 1
- error on windows10 X64 (ver1803)
- FTH232H.py has import ftdi1 as ftdi HOT 11
- Support for Jetson TX2 HOT 4
- Library needs support for Odroid-C2 (ubuntu) HOT 1
- Unable to read user registry using readRaw8 with Adafruit_GPIO.FT232H i2c connection HOT 3
- Single-byte data corruption from FT232H Hardware Limits HOT 7
- ez_setup.py has deprecated methods for installing setuptools
- NameError: name 'ensurepip' is not defined HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_python_gpio.