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

Problems with I2C line being reset #9

Open
Drakehornbridge opened this issue Apr 17, 2017 · 1 comment
Open

Problems with I2C line being reset #9

Drakehornbridge opened this issue Apr 17, 2017 · 1 comment

Comments

@Drakehornbridge
Copy link

Hello I have multiple attiny85 all on the same i2c lines as slaves each with a unique address. However there seems to be an error where the i2c line appears to keep hitting the reset condition if they don't receive thier address. While going through the library I couldn't find the part of the state machine that handled ss_state=ss_state_address_not_slected (line 236) and was curious why the twi_reset_state(); (line 235) was needed as it would only disrupt the i2c line whilst other devices are being communicated with.

I would love your thoughts and on this. Thank you.

@jpmgms
Copy link

jpmgms commented Jul 12, 2017

@Drakehornbridge have you found a solution for this problem?
Going trough the same..
@eriksl Please could you explain why bus reset is needed if address is different?
When i power on both of the attinys at the same time both SDA and SCL lines keep reseting on an infinite loop until the master tries to comunicate and then all slaves stop communicating.

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

2 participants