Skip to content
Discussion options

You must be logged in to vote

I don't see any reason it shouldn't work. If you are using interrupts to react to I2C messages it should be more then fast enough, probably a lot faster then the MCP23017 is anyways. We currently don't have a good I2C slave abstraction.

You could also have a look at Embassy. They do have one and and an example (that uses the an F4 but it's largely identical for an F1, that one just uses different pins and DMA channels) https://github.com/embassy-rs/embassy/blob/main/examples/stm32f4/src/bin/i2c_slave_async.rs

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ChocolateLoverRaj
Comment options

Answer selected by tmehr-enqt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants