Can you give me a example of i2c interrupt in DA1468x?

⚠️
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.
2 posts / 0 new
Last post
xuguodong
Offline
Last seen: 10 months 2 weeks ago
Joined: 2020-06-04 13:34
Can you give me a example of i2c interrupt in DA1468x?

Hi Diaglog teams,

Can you give me to example of i2c interrupt in DA1468x?

The following example can't use i2c interrupt.

http://lpccs-docs.dialog-semiconductor.com/tutorial_da1468x_adapters_concept_part_2/i2c_adapters.html#preparing-the-i2c-adapter

 

Thanks.

Device: 
PM_Dialog
Offline
Last seen: 9 months 5 days ago
Staff
Joined: 2018-02-08 11:03
Hi There,

Hi There,

This is the only example that we have for I2C. I would recommend first checking this example as:

-              Provides a basic understanding of Adapters concept

-              Explains the different APIs and configurations of I2C peripheral Adapters

-              Gives a complete sample project demonstrating the usage of I2C peripheral Adapters

Generally, we strongly recommend the usage of the adapters for accessing hardware peripherals because not only provide access to the peripheral, but also make sure that other tasks which are currently accessing it, suspend their operation until the peripheral is once again released. So you don't have to worry if another task tries accessing the same peripheral at the same time. Also, in sleep mode all the peripheral blocks are powered down.

Thanks, PM_Dialog