unable to implement I2C protocol on CY3274

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

cross mob
Anonymous
Not applicable

Hi,

   

I am working on power line communication on CY3274 development board , and wanted to use i2c protocol to communicate with the I/O expander but unable to implement it.The problem is the chip(i.e CY8CPLC20) is unable to generate clock on SCL pin(i.e P1[7]).

   

Can anyone help me to solve this problem 

   

Regards

   

Shafi

0 Likes
3 Replies
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hi Shafi,

   

 

   

I presume you must have added an I2C Master to the PSoC Designer project. If not, you will have to create a PSoC Designer project, using CY8CPLC20 as the device, and add an I2C Master. Another possibility is that we do not have I2C pull-ups installed on the board. You can try adding pull-up resistors of 3k3 and see if you can see the clock.

   

Thanks and Regards,

   

Sampath

0 Likes
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

I can see that there is a provision for pull-ups at P1.7 and P1.5. Use jumpers at JP3 and JP4. Sorry for the mistake in the prior post.

0 Likes
Anonymous
Not applicable

Hi Sampath,

   

Firstly thanks for the reply,it means a lot,i will try it let you know

0 Likes