Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i2c read does not work #1

Open
mambrus opened this issue Jan 20, 2018 · 2 comments
Open

i2c read does not work #1

mambrus opened this issue Jan 20, 2018 · 2 comments

Comments

@mambrus
Copy link
Owner

mambrus commented Jan 20, 2018

Reading from i2c-bus using does not work.

Debugging one of the examples (new one: pwm) getAck does not work either. This is in spite of that, by using a bus-analyzer, ACK's are indeed present (sent from the chip). ACK:s are the last bit (9:th) in each byte sent and should be logic zero as in the graph below.

@mambrus
Copy link
Owner Author

mambrus commented Jan 20, 2018

i2cpca9685_getack_fails

Analog and digital analyze in image attached. Note the "Decoded protocols" to the right where ACK is seen.

The plot belongs to the following src/examples where also an extra debug-line is added: 04516f4#diff-e1387a4ed601b9800e90b406b3f5b90eR70

@mambrus
Copy link
Owner Author

mambrus commented Jan 20, 2018

Corresponding issue in parent-project: devttys0#33

Hopefully is still alive?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant