你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

求助:VL53L0在使用一段时间后无法读取数据,已经有好几个模块了,返回的错误代码有-6,-7和-20,这个到底是怎么回事

[复制链接]
杏林119 提问时间:2024-4-22 17:47 / 未解决

VL53L0在使用一段时间后无法读取数据,已经有好几个模块了,返回的错误代码有-6,-7和-20,这个到底是怎么回事?如何解决?

收藏 评论1 发布时间:2024-4-22 17:47

举报

1个回答
深圳好星星 回答时间:6 天前
-6 Range error        - Device reports a ranging error interrupt status Wrong API programming (syntax error), or no target present during offset calibration, or I2C transaction corrupte

-7 Time out error

   - Aborted due to time out Device is functionally failing, or I2C transaction corrupted
-20 Control Interface Error

   - Error reported from IO functions (comm error) I2C comm error
综上,问题大概率出在I2C上,需要重点排查I2C通讯。
关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版