yabo国际娱乐Dialog半导体客户支持- SEND_I2C_COMMAND https://support.dialog-semiconductor.com/resource-keywords/sendi2ccommand 如何执行I2C突发写? https://support.dialog-semiconductor.com/how-perform-i2c-burst-write < 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 >你好,< / p > < p >我,而新DA14580 SDK和试图移植EEPROM I2C代码来控制我的燃料表芯片。到目前为止,我在阅读部分很成功,但在写作部分不太成功。为了通过I2C传输命令,我一直在使用SEND_I2C_COMMAND()。然而,这段代码总是在1字节数据之前附加从地址。我如何只是简单地传输一个字节在I2C w/o传输奴隶地址以及?

如果之前有人回答过这个问题,我很抱歉,但我似乎在论坛上找不到答案。谢谢你的帮助!< / p > < / 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 / da14580”“=“skos:概念”属性=“rdfs: label skos: prefLabel” datatype="">DA14580

Device: 
星期五,2015年12月25日07:31:58 +0000 kenneth.er 2465年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/how-perform-i2c-burst-write#comments
问题SEND_I2C_COMMAND ((); https://support.dialog-semiconductor.com/problem-sendi2ccommand0x08 < 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 >你好,< br / >在I2C periphral我有两个问题。< br / > 1。I2C通信中,在i2c_wait_until_eeprom_ready()中使用SEND_I2C_COMMAND(0x08)。我使用逻辑分析器来查看数据,它发送从地址(0x0d)而不是0x08。为什么会这样?SEND_I2C_COMMAND也用于发送数据,但它总是发送从地址而不是我想要发送的数据。< br / > 2。当我将从设备连接到da14580(在主模式下)时,它总是在WAIT_UNTIL_I2C_FIFO_IS_EMPTY()中失败,有时它在SEND_I2C_COMMAND(0x08)中失败。从设备有什么问题吗?或者可能是SW问题?

有人能帮我吗?非常感谢!

Keywords: 
Device: 
2015年5月28日星期四12:53:51 +0000 zhangxw211 1609年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/problem-sendi2ccommand0x08#comments