-
Notifications
You must be signed in to change notification settings - Fork 1k
[I2C] Review I2C SLAVE IT Rx/Tx complete callback #217
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
Comments
Is there any ETA? this to me seems a pretty critical issue, i have been extremely lucky to read this issue before starting to use this core. |
I2C is one of the fundamental libraries for an Arduino core. |
I know this is a drawback issue. In several case I2C is working but some use case are broken (mainly master/slave use case). This is an open source project, any contribution are welcome and really appreciated. IMHO, rollback is not an option as it will break other use case. |
"some user case" is a problem, I would like to start a project with F411 as master, how can i know if i will be affected? Is there any pre-analisis or patch working on or it is still all in the "todo" list?
guess now is too late, is there any particular release known as working?
Im implementing a new board and started using this core to create a variant; but i2c is a main core component, and sincerely as this project is version 1.3 and officially backed by ST i was expecting a stable product. |
+1 |
@MauroMombelli, @Testato Please, use the forum for this kind of discussion which do not help to solve this issue. |
By given their patron on a project, at my eyes they make this core "official" and they are responsible at the status of the project itself and its well being.
your github account say you are part of STMicroelectronics and list a @st.com
will do, thanks for listening my rants |
https://github.com/stm32duino/Arduino_Core_STM32/releases/tag/1.3.0
|
@MauroMombelli, @Testato @fpistm
|
@MauroMombelli, @Testato @fpistm |
Hey I2C lovers, @MauroMombelli, @Testato @fpistm I've just pushed a propose PR #306 that I've tested ok with master / slave examples. Though there may be use cases that aren't properly covered yet, so I'd be glad if any of you could run some more tests with other boards or other examples to check for possible remaining issues. Note that I used a X-NUCLEO-IKS01A1 to have proper pull-up resistors on the I2C lines. |
I tested this PR#306 on the Bluepill STM32F103C8T6 and it fixes the bug: Thanks! |
Fixed with #306 |
Refers to #216
Since #135 by @fprwi6labs (I2C IT mode)
HAL_I2C_SlaveRxCpltCallback
andHAL_I2C_SlaveTxCpltCallback
should be used instead ofHAL_I2C_ListenCpltCallback
Several issue raised around I2C and related to IT mode implementation:
http://stm32duino.com/viewtopic.php?f=29&t=3210&start=10
http://stm32duino.com/viewtopic.php?f=48&t=3612
http://stm32duino.com/viewtopic.php?f=48&t=3243&p=41486#p41486Addressed by #301Will also include #203Addressed by #305The text was updated successfully, but these errors were encountered: