I2C example code using GPIO

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
bemale
Level 3
Level 3
100 sign-ins 50 sign-ins 25 sign-ins

Hello,

Is there any I2C example code using GPIO? I used all of pins related I2C interface on CYW920706 for I2S audio path, so need to use GPIOs for I2C interface. think there are some example codes for this application.

Could you please help this stuff?

 

Thanks for your reply in advance. 

0 Likes
1 Solution
bemale
Level 3
Level 3
100 sign-ins 50 sign-ins 25 sign-ins

Hi SheetalJ,

Two examples you mentioned are I2C example using dedicated I2C interface not for using GPIO I asked.

I've made my code using GPIO and checked worked it.

Anyway, thanks for your attention and I'll ask you later if there is any problem in my code.

View solution in original post

0 Likes
4 Replies
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @bemale ,

Can you please let me know which device are you using? Are you using one of the cypress development boards  for programming your application?

I see in the labels you have mentioned PSoC General query while in the message it is mentioned that the device is CYW920706.

Best Regards

Ekta

0 Likes
bemale
Level 3
Level 3
100 sign-ins 50 sign-ins 25 sign-ins

Yep. CYW920706 is right. 

0 Likes
bemale
Level 3
Level 3
100 sign-ins 50 sign-ins 25 sign-ins

Hi SheetalJ,

Two examples you mentioned are I2C example using dedicated I2C interface not for using GPIO I asked.

I've made my code using GPIO and checked worked it.

Anyway, thanks for your attention and I'll ask you later if there is any problem in my code.

0 Likes