STM32硬件I2C中的错误是什么?
我来自中国,有人告诉我STM32硬件I2C有错误。因此,我始终将软件模拟I2C和两个普通的GPIO引脚使用。 我想知道这到底是什么?这是一个谣言,还是真的?我希望从国外网站上获得意见,因为您会说英语,您可能会直接获得更多信息。 谢谢。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
每个设备可能有一些硅故障。转到产品网页,寻找 errata 文档。
例如,是STM32F103的Errata,可在其。在那里,您可以看到它提到了一些与I2C硬件有关的硅故障。
Each device may have some silicon faults. Go to the product web page and look for Errata documentation.
For example, this is the errata for STM32F103, available on its product page. There, you can see that it mentions some silicon faults related to I2C hardware.
STM正在制造许多UC行,基本上,它们的I2C实现非常好。在典型用例中,唯一有一些问题的家庭是F10X,但这个家庭已经旧且NRFND。
因此,除非将10和7位地址模式混合或做类似非常不寻常的事情,否则可以毫不犹豫地使用I2C硬件。
我从未使用F3,F4,F7&从未遇到过问题。 H7家庭。
STM is manufacturing many lines of uCs and basically, their I2C implementations are pretty good. The only family having some issues in typical use cases is F10x but this family is old and NRFND.
So you can use I2C hardware without hesitation unless you mix 10 and 7 bits address mode or do similar very unusual things.
I have never encountered problems using F3, F4, F7 & H7 families.