yabo国际娱乐对话半导体客户支持-基于I2C的传感器进入等待状态 https://support.dialog-semiconductor.com/resource-keywords/i2c-based-sensor-goes-wait-state I2c_slave在读字节中等待 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/i2cslave-wait-read-byte < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >亲爱的Dialog_Support, < / p > < p > 1。我的项目使用的是I2C VEML6070紫外线传感器。我参考了SDK i2c_eeprom代码来配置我的传感器。我已经根据我的传感器数据表更改了I2C_SLAVE_ADDRESS。我能够将数据写入传感器寄存器,但我不能从WAIT_FOR_RECEIVED_BYTE()中始终保存的传感器寄存器读取数据。< / p > < p > 2。只是为了确认我的代码是正确的,我已经使用了相同的代码与另一个基于加速度计传感器的I2C代码工作良好,我能够读写寄存器。< / p > < p > 3。但是对于相同的代码,我无法读取VEML6070 UV传感器数据的寄存器数据
,请帮助我,为什么代码保持等待状态?
是否有故障排除程序为什么处于等待状态?< / p > < p >感谢和问候Rohit < / p > < br / > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / i2c-based-sensor-goes-wait-state typeof =“skos:概念”属性= " rdfs: label skos: prefLabel”数据类型= " " >基于I2C传感器进入等待状态< / > < / div > < / div > < / div > < div class =”字段field-name-field-device field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >设备:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14580” typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">DA14580
2017年8月31日星期四08:00:16 +0000 Rajapurerohit 87753年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/i2cslave-wait-read-byte#comments