-
Notifications
You must be signed in to change notification settings - Fork 1.2k
MSPM0: add i2c target implementation #4605
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
Conversation
|
Just dropping in to say thanks for writing this; since there was a comment about not yet testing on MSPM0L1306, which I'm using, I tried it out on an LP-MSPM0L1306 and it worked after making basic pin-revisions:
|
Perfect, thank you. I have added the example for the l130 and changed it accordingly. |
i509VCB
left a comment
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.
Need to rebase on main to get the ci janitor to run and resolve conflicts.
…citly in examples
e4915af to
fd35ddf
Compare


Implement the i2c target interface from https://github.com/embassy-rs/embassy/tree/main/embassy-rp for mspm0.
In the interface we define a listen function that is used to receive the commands from the i2c controller asynchronously so that the user can handle them accordingly.
Currently the implementation heavily favors async because of the easier implementation with interrupts.
The example was tested on the dev. board: MSPM0G3507
Sadly my MSPM0L1306 board is broken at the moment, but the example should work exactly the same. So if needed I can add the example to the L1306 , but someone else would need to test it.