Skip to content

Erratic initialization, python example code fails #7

Description

@janetburson

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.

  1. What differences between your C code and Python code should I be looking for?
  2. What would account for the erratic performance of the boards at init time?
  3. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions