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

Don't accept slave address >= 64 (DEC) somehow. #15

Closed
EUA opened this issue Jan 26, 2019 · 2 comments
Closed

Don't accept slave address >= 64 (DEC) somehow. #15

EUA opened this issue Jan 26, 2019 · 2 comments

Comments

@EUA
Copy link

EUA commented Jan 26, 2019

For example:
Wire.begin(64);
makes device invisible to i2c scan.
but
Wire.begin(63);
is working perfect.
I don't know why...

twi.cpp : 713
if ( ( USIDR == 0 ) || ( ( USIDR >> 1 ) == slaveAddress) )
doesn't allow it somehow.
If I replace the line with
if(1)
than device seen at all addresses while i2c scan.

Please check it.
Thanks

@EUA
Copy link
Author

EUA commented Jan 26, 2019

Looks like inherited bug from TinyWireS
rambo/TinyWire#41

@EUA
Copy link
Author

EUA commented Jan 27, 2019

As I understand, quick scanning i2c bus for all address exhausting ATTiny even under using 16Mhz Internal OSC.

@EUA EUA closed this as completed Jan 27, 2019
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