how to configure two I2C devices using the driver from the SDK

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
6 posts / 0 new
Last post
lisir
Offline
Last seen: 3 years 2 months ago
Joined: 2018-09-21 03:07
how to configure two I2C devices using the driver from the SDK

we now use two I2C devices in our DA14583 project, the devices have different slave address, so i don`t know how to use the I2C dirver from the SDK to configure my devices,like how to use the function 'i2c_eeprom_init()' to initilize the I2C interface. And i also want to know the two devices can use the same IOs(SDA,SCL in the two devices tied with just two IOs) or they can use different IOs(SDA,SCL in the two devices tied with four IOs).

Device: 
CYibin
Offline
Last seen: 1 year 10 months ago
Staff
Joined: 2017-12-14 02:48
Hi lisir,

Hi lisir,

For better suport, could you pls move your question to Dialog CN Forum and describe your question again in Chinese?

https://support.dialog-semiconductor.com/forums/dialog-smartbond-bluetooth-low-energy-–-software-dialog-“smartbond”系列低功耗蓝牙—软件

Br

CYibin

lisir
Offline
Last seen: 3 years 2 months ago
Joined: 2018-09-21 03:07
已经在中文论坛发了,谢谢您提醒

已经在中文论坛发了,谢谢您提醒

CYibin
Offline
Last seen: 1 year 10 months ago
Staff
Joined: 2017-12-14 02:48
Hi lisir,

Hi lisir,

Thank you for your cooperation that repost your question from EN forum to CN forum, I've replied your question. Below is the link:

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-–-software-dialog-“smartbond”系列低功耗蓝牙—软件-83

Br

CYibin

ravikiran4
Offline
Last seen: 1 year 8 months ago
Joined: 2020-08-05 09:45
I am also facing the same

I am also facing the same doubt, and I don't know Chinese. How can I have a proper solution for my doubt?

Thank you for your support.

jwpearce
Offline
Last seen: 1 year 9 months ago
Joined: 2016-10-13 18:51
Yes, I think that this is a

Yes, I think that this is a question that English-speaking people would also like to have answered.