⚠️ 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.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
I would suggest you to take a look at section I2C demo of the Readme file in order to find more information. The demo presents the usage of I2C interface with the external devices. It shows read/write operations on external temperature sensor and EEPROM memory. To enable the demo go to the config/default/userconfig.h file and set:
Hi mahmed106,
I’d suggest you to take a look atI2C Adapter Concepttutorial. This is the only document regarding the I2C.
Thanks, PM_Dialog
Hi mahmed106,
In addition tohttp://lpccs-docs.dialog-semiconductor.com/tutorial_da1468x_adapters_concept_part_2/index.htmlyou can also refer to the peripherals_demo project in SDK 1.0.14.1081.
Thanks,
TR_DIALOG
Peripherals demo is a good idea
Thanks :)
Can you please tell me where in Peripherals demo I2C is used, because for temperature ADC is used.
Thanks TR_Dialog for your indication.
Hi mahmed106
I would suggest you to take a look at section I2C demo of the Readme file in order to find more information. The demo presents the usage of I2C interface with the external devices. It shows read/write operations on external temperature sensor and EEPROM memory. To enable the demo go to the config/default/userconfig.h file and set:
#define CFG_DEMO_HW_I2C (1)
Thanks, PM_Dialog