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

False detection of unexpected Start condition before Master Write #4

Open
lucullusTheOnly opened this issue Nov 24, 2017 · 0 comments

Comments

@lucullusTheOnly
Copy link
Owner

In the function USI_TWI_Start_Read_Write() there are some If-Statements under the definition of NOISE_TESTING, which should detect unexpected conditions on the I2C bus. These are unexpected Start- or Stop-Conditions and a data collision (for bus arbitration) and are detected through the corresponding bits in the USI Status Register USISR. Currently the library always detects an unexpected Start condition, when doing a Master Write. For now I've commented this out, but I would like to know, why this happens.
If anyone has an idea, please share it. Thanks

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