The first unit we purchased suddenly began to fail initialization. We thought we had damaged it and purchased another one.
Now, the second unit is starting to behave the same way, but it is more erratic.
If you run the main.c example code provided, it works about half the time; sometimes a little more, sometimes less. Otherwise, it fails initialization and bails. It has never initialized 100% of the time on either board, but it wasn't like this...
The companion main.py code does not run at all. You can run it 100 times and it doesn't initialize once. Once the board initializes it works OK, with just an occasional failed read, although even that seems like it shouldn't happen at all.
- What differences between your C code and Python code should I be looking for?
- What would account for the erratic performance of the boards at init time?
- What would account for the failed reads?
Since I am integrating this into a python application, I'd prefer to use your Python libraries rather than trying to integrate C code into the app.
The first unit we purchased suddenly began to fail initialization. We thought we had damaged it and purchased another one.
Now, the second unit is starting to behave the same way, but it is more erratic.
If you run the main.c example code provided, it works about half the time; sometimes a little more, sometimes less. Otherwise, it fails initialization and bails. It has never initialized 100% of the time on either board, but it wasn't like this...
The companion main.py code does not run at all. You can run it 100 times and it doesn't initialize once. Once the board initializes it works OK, with just an occasional failed read, although even that seems like it shouldn't happen at all.
Since I am integrating this into a python application, I'd prefer to use your Python libraries rather than trying to integrate C code into the app.