雷竞技电竞平台对话半导体客户支持- i2c https://support.dialog-semiconductor.com/resource-keywords/i2c EN 无代码I2C在DA14531 TINY模块上不能正常工作 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-hardware-device-reference-designs/codeless-i2c

您好,

我使用DA14531微型模块,带有无代码SDK 6.380.10.4和工厂编译的无代码\u 531\u独立\u设置\u 2.hex图像以及TI的HDC1000传感器。读取或写入传感器寄存器时会出现问题。

通过读取寄存器,命令如下所示(参见随附的控制台会话):

AT+IOCFG=9,7

AT+IOCFG=8,8

AT+I2CCFG=7100,16

AT+I2CREAD=0x40,0xFE

这里0x40是传感器I2C地址,0xFE是传感器寄存器地址。这样,应读取2字节传感器的制造商ID。但是,仅读取第一个ID字节,通过读取第二个字节,模块仅向传感器发送8个SCL脉冲(而不是9个),并挂起。请参阅随附的逻辑分析仪图像。上拉I2C电阻为4.7K,因此它们不是问题。大约3分钟后,模块自行复位,并在终端窗口中打印+就绪。I2C引脚的所有先前配置都被重置和遗忘。

通过写入senswor配置寄存器,模块构成正确数量的SCL脉冲,但不构成通信结束时的停止条件,并使SCL线保持低位。写入通过以下命令完成,请参见所附的逻辑分析仪图像:

AT+I2CWRITE=0x40,2,0

其中2是传感器寄存器地址,0是要写入的值。

我还尝试了其他传感器以及1字节和2字节寄存器的组合。任何东西都不能按预期工作。

问题:这是模块的已知问题,应该等待新的固件发布,还是有办法解决它?

Hello。我们计划在一些新产品中使用SLG46824或SLG46826设备,并且非常欢迎这些组件通过I2C进行多时间编程——只是因为与使用OTP相比,风险更低雷电竞官网登录。

上个周末我们已经建立了IP,并且模拟显示是正确的。本周将在你的套件上测试真正的硬件。

关于该组件和采购的几个问题:

这些是用胶带贴的吗?我们如何购买T&R与必要的领导磁带,以自动SMT安装的PCBA?在我们的验证之后,我们可以以完整的T&R数量购买。这是唯一一种接收导带和完整的T&R数量的方法吗?

2) SLG46824和SLG46826对于内部2k EEprom有什么区别? It appears both devices have an internal 2k EEprom but the BLOCK diagram inside the SLG46824 datasheet does not offer the "2K EEprom Emulation" block in the graphic. Is that a documentation error?

3) Any plans to offer the same features of I2C programming AND have internal ASM support? Would be nice to have which appear to be missing from these 2 devices.

Finally, in building our 3 stage reset sequencer IP and using the simulator with DLY0 and/or DLY1 - the simulator would not show us any changes to our expected delays. That is, the rise of the DLYx output followed the VDD rail when we expected some programmed delay for this rise. Not sure if this was our fault as after investing a few hours and introducing other DLYx blocks, the simulation worked fine. Not logical but that was our experience. In the end, we do not believe we did anything different but the simulation started to work (using the PROBES to monitor). Will see if we can replicate the quirk but for now, since we appear to be operational, it is not a worry.

For closure, will test on the hardware kits.

Thanks!

Device: 
Device Number: 
SLG46826 SLG46824
星期一,24 Feb 2020 16:13:57 +0000 mon2 345035年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/greenpak-and-greenfet-questions/slg46824-vs-slg46826-eeprom#comments DA14850与Si705温度传感器通信。 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-软件/da14850-通信-si705-温度 < 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 >你好,我试图从Si705读取温度。我有connectiong传感器,我已经测试它,当我读到固件版本使用pdf中描述的测量过程(https://www.silabs.com/documents/public/data-sheets/Si7050-1-3-4-5-A20.pdf < a href = " https://www.silabs.com/documents/public/data-sheets/Si7050-1-3-4-5-A20.pdf " > < / >) 16页。然而,当我试图读取温度时,我的输出结果是。

uint16_t degrees;

cmd = Temp_H;

user_i2c_set_slave_address(Si705_I2C_ADDRESS);

读取字节的代码如下:

void user_i2c_multi_byte_read(uint32_t reg_address, uint8_t *rd_data,

Uint32_t index = 0;

for(Uint32_t I = 0;

Uint32_t index = 0;我& lt;num_bytes;){

SEND_I2C_COMMAND(0x0100 &0 x3ff); // Set R/W bit to 1 (read access) MSB

if(!(++i % 24)){ //FIFO is 32 bits

WAIT_UNTIL_I2C_FIFO_IS_EMPTY(); // Wait until Tx FIFO is empty

WAIT_UNTIL_NO_MASTER_ACTIVITY(); // wait until no master activity

for (uint8_t j = 0; j < 24; j++){

//Store the FIFO contents in ram

rd_data[index++] = (0xFF & GetWord16(I2C_DATA_CMD_REG)); // Get received byte

}

reg_address += 24/(i2c_cfg_env.register_width + 1);//Calculate the next register to read out

user_i2c_send_address(reg_address); //Restart the read

}

}

WAIT_UNTIL_I2C_FIFO_IS_EMPTY(); // Wait until I2C Tx FIFO empty

WAIT_UNTIL_NO_MASTER_ACTIVITY();

while(index < num_bytes){

rd_data[index++] = (0xFF & GetWord16(I2C_DATA_CMD_REG)); // Get received byte

}

WAIT_UNTIL_I2C_FIFO_IS_EMPTY(); // Wait until Tx FIFO is empty

WAIT_UNTIL_NO_MASTER_ACTIVITY(); // wait until no master activity }

Keywords: 
Device: 
2019年9月19日星期四12:29:49+0000 kaptajnen 323663年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-软件/da14850-通信-si705-温度#注释
带有外部上拉的I2c电流 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-软件/i2c电流消耗外部上拉
论坛:
dialog smartbond蓝牙低能–软件=“隐藏摘要字段标签的字段名称正文字段类型文本”>

嗨,

我的I2C总线上有两个设备(eeprom和另一个设备),总线上连接有外部上拉-scl,sda(4.7k).添加外部上拉后,我观察到电流消耗量出现波动-约500uA连续消耗(芯片休眠时也是如此)。一旦移除外部上拉,这种现象就会消失。一个潜在原因可能是i2c线路未被停用。

我初始化i2c的代码如下所示:

GPIO_配置引脚(GPIO_端口0,GPIO_引脚6,输入,PID_I2C_SCL,false);GPIO_配置引脚(GPIO_端口0,GPIO_引脚7,输入,PID_I2C_SDA,false);I2C_eeprom_初始化();I2C_eeprom_读取数据();I2C_eeprom_释放()

我试图将scl、sda线路重新配置回gpio状态,但这对电流消耗没有帮助。

有没有一种方法可以停用i2c传输的内部上拉以帮助电流消耗?您能提供任何关于调试的额外输入吗?

关键字:
i2c字段字段名称字段设备字段类型分类术语参考字段标签上方“>
设备:
da14580 2019年5月22日星期三17:13:23 +0000 vmore 306865年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-软件/i2c电流消耗外部上拉#注释 如何使用SDK驱动配置两个I2C设备 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/how-configure-two-i2c-devices-using < 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 >我们现在使用两个I2C设备DA14583项目,设备有不同的从地址,所以我不知道如何使用来自SDK的I2C驱动程序来配置我的设备,比如如何使用函数'i2c_eeprom_init()'来初始化I2C接口。我还想知道两个设备可以使用相同的IOs(SDA,SCL在两个设备绑定两个IOs)或他们可以使用不同的IOs(SDA,SCL在两个设备绑定四个IOs)。< / 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 / ble % EF % BC % 8 c % E4%BC % A0%E6 % 9 f % E5 % 99% 84% a8%ef % BC % 8 csensor”“=”skos:概念”属性= " rdfs: label skos: prefLabel”数据类型= " " >祝福,传感器,传感器< / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords / i2c”“=“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 = "字段条目" > < divclass="field-item even"> da14583
. 2019年4月28日星期日09:56:23+0000 lisir 303410年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/how-configure-two-i2c-devices-using#comments SLG46826 IO6的出厂设置? https://support.dialog-semiconductor.com/forums/post/greenpak-and-greenfet-questions/slg46826-factory-setting-io6 < 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 = " /论坛/ greenpak-and-greenfet-questions typeof =“sioc:容器sioc:论坛”属性=“rdfs: label skos: prefLabel”数据类型= " " > GreenPAK GreenFET问题< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p > IO6连接到SDA,似乎无法计划,让“芯片是缺失或错误的”错误。

在编程尝试过程中,SDA在启动后1mS左右达到3.3V,在3.3mS左右达到0。

是否断言了IO6的出厂设置值,如果是,是否可以更改?< / 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 / slg46826”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > SLG46826 < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords / i2c”“=“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类= "字段条目" > < div class =”field-item甚至“> < a href = " / forum-post-device / da14580”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > da14580 < / > < / div > < / div > < / div > < div class =”字段field-name-field-forum-device-number field-type-text field-label-above”> < div class = "字段标签" >设备数量:< / div > < div类= "字段条目" > < div class =”field-item甚至“> SLG46826V < / div > < / div > < / div > 星期一,2019年4月8日17:56:20 +0000 lottabull 299591年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/greenpak-and-greenfet-questions/slg46826-factory-setting-io6#comments da14681自定义充电电池配置 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-软件对话框-%E2%80%9Csmartbond%E2%80%9D%E7%B3%BB%E5%88%97%E4%BD%8E%E5%8A%9F%E8%80%97%E8%93%9D%E7%89%99%E2%80%94%E8%BD%AF%E4%BB%B6-72

论坛: href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件-对话框- 9 csmartbond % E2 % % E2 % 80% 80% 9 d % E7%B3%BB % E5 % 88% 97% e4%bd % 8 8 e % E5 % % E8 % 9 f % E8 % 80% 97% 93% 9 E2 % d % E7 % 89% 99% 80% 94% e8%bd % AF % E4%BB % B6”“=“sioc:容器sioc:论坛”属性=“rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件/ /对话框“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 / > 1, pxp例子里关于充电电池配置文件custom_socf_battery_profile.h文件内的vol_chg_0_0 = 3067;/ / 120毫安的充电,这个值是怎么算出来的,有公式吗,看了嗯- b - 075 - _da1468x_state_of_charge_functionality_v1.2_0.pdf文档,需要一个硬件设备连接后才能使用,目前没有这个设备,< br / > 2, dg_configBATTERY_CHARGE_VOLTAGE和dg_configBATTERY_TYPE_CUSTOM_ADC_VOLTAGE这两个有什么区别吗?< br / > 3, vol_dis_low_0和vol_dis_high_0必须通过嗯- b - 075这个文档中应用程序测出吗,有其它方式吗?< br / > 4, flash存储布的局,看了文档DA1468x_Flash_Adapter_Tutorial_v2_1.pdf后,结合到DA14681_WRBL这个案例后,有个疑问,用户的数据是保存在NVMS_GENERIC_PART这块的,在DA14681_WRBL案例里的用户存储的最大上限空间是16 k单独定义的,而在partition_table.h里定义的空间比这个定义大,如果我这边使用,那上限可以配置到partition_table.h里那么大的或者是其它的大小吗?< br / > 5,我这边按照pxp示例增加了i2c数据读取,每隔一秒读取然后通过祝福自定义服务发送,但是发现程序有时候运行一段时间后会死机,不是每次都有,有时候很正常,有时候会连着几次死机,但是,而i2c读取写入都是用同步的方式,看到另外一个朋友提问里说用异步就没问题,这个会有影响吗?< br / > 6,程序运行后配置的是pm_mode_extended_sleep,这个配置后,就已经是低功耗下运行的是吗,后面还需要使用什么来激活模式?现< br / > 7日在可以使用usb做数据传输吗还是只能充电吗?< br / >非常感谢< / 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 / da14681”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > DA14681 < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords /电池”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " >电池< / > < / div > < div class =”field-item甚至“> < a href = " / resource-keywords / i2c”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > i2c < / > < / div > < div class = " field-itemodd">storage
Device: 
2019年1月23日星期三07:10:14+0000 Linchaoran 278809年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software-dialog-%E2%80%9Csmartbond%E2%80%9D%E7%B3%BB%E5%88%97%E4%BD%8E%E5%8A%9F%E8%80%97%E8%93%9D%E7%89%99%E2%80%94%E8%BD%AF%E4%BB%B6-72#comments 初始化I2C为从模式。 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/initialize-i2c-slave-mode < 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我需要初始化和在I2C从模式下工作,你能指导我怎么做吗?< br / >我在I2C数据和发送祝福< / p > < p >问候,< / 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 / I2C”typeof = " skos:概念”属性= " rdfs: label skos: prefLabel”数据类型= " " > i2c < / > < / div > < div class = " field-item古怪”> < a href = " / resource-keywords / i2c-bleappprofile”“=“skos:概念”属性=“rdfs: label skos: prefLabel”数据类型= " " > i2c ble_app_profile < / > < / div > < / div > < / div > < div class = "字段field-name-field-device field-type-taxonomy-term-referencefield-label-above">
Device: 
Tue, 06 Nov 2018 06:25:39 +0000 盎司 251156年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/initialize-i2c-slave-mode#comments I2C适配器异步写入:挂起事务问题 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/i2c-adapter-async-write-pending
论坛:
dialog smartbond蓝牙低能–软件=“隐藏摘要字段标签的字段名称正文字段类型文本”>

我正在使用i2c适配器(在主模式下)用于执行异步写入或读取,永远等待从回调发出OS_事件信号。
但是,我希望能够设置一个超时值,以便在总线上没有设备时不会卡住。
但在超时后,如果我尝试启动另一个异步读取或写入适配器,则会尝试设置超时值。
r挂起是因为(例如2)有未完成的挂起事务。我如何取消这些挂起事务,或者更好的是,如何正确地使用ad_i2c_async_读取或ad_i2c_async_写入超时。

关键字:
i2c
ad_i2c
设备:
2018年2月28日星期三14:38:44 +0000 rajames 155272年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/i2c-adapter-async-write-pending#comments 通用异步收发器 https://support.dialog-semiconductor.com/forums/post/greenpak-and-greenfet-questions/uart-convertor
论坛:

是否可以使用GPAK将UART转换为I2C?

关键字:
i2c
设备:
SLG46537
2018年1月31日星期三08:33:05+0000 圆金唱 144020 athttps://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/greenpak-and-greenfet-questions/uart-convertor#comments