I2C interface source code DA14583 IoT Development Kit

⚠️
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//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
bravo24
Offline
Last seen:3年5个月前
加入:2017-05-23 21:30
I2C interface source code DA14583 IoT Development Kit

Hi MT_Dialog,

I've downloaded SDKv5.160.1.19 wrbl for "DA14583 IoT Sensor Development Kit".
As I see from Sensor Board Schematic and from some code strings commented in code this Sensor is ready to work using both SPI or I2C interfaces to connect Sensors<=>DA14583.
But it looks like I2C part of source code is missed in this SDK.

Now I need to add 2 more sensors to this board. Only one way I can do this is to use I2C interface (Sensor PCB hasn't reserved CS pins with pads available to connect additional sensors).

How can I get SDK sample with implemented I2C communication interface for this Sensor PCB module?

Best regards,
Taras

Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-08 11:34
Hi bravo24,

Hi bravo24,

The IoT uses only the spi interfaces and not I2C, there is no version of IoT reference design that uses the I2C interface in order to communicate with the sensors, but there is an example in the SDK that uses the I2C in order to communicate with an EEPROM memory (DA1458x_SDK\5.0.4\projects\target_apps\peripheral_examples\i2c\i2c_eeprom), so you can use that as a reference in order to use the I2C interface.

Thanks MT_dialog