-
Notifications
You must be signed in to change notification settings - Fork 981
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 slave: enable matching any configured slave address #1801
Conversation
I2C slave: Enable multi slave address onReceive/onRequest handling.
Hi @deltaford,
Note that OwnAddress2 is systematically set to 0
So AFAICS, this change will not help enabling multi slave address. That said, the software check against |
Hi @ABOSTM Here is also a small example
|
Ok, thanks for your detailed explanation. |
Enable handling of multiple I2C slave addresses by removing redundant AddrMatchCode check.
It's now updated and the check is removed. |
@deltaford |
Should be fixed now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I2C slave: Enable multi slave address onReceive/onRequest handling.
Currently the I2C slave onRequest/onReceive events are only triggered if matching OwnAddress1.
With this proposed change the events are triggered for any configured, enabled and matching slave address.