Problem: CY3267 kit and I2C communication

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

cross mob
Anonymous
Not applicable

I am trying to interface color sensor TCS34725 with  cypress kit to get the R,G,B values in our firmware.

   

 

   

The communication is I2C. We are using the configurable pins FN0,FN1 as SDA and SDL. I am using I2C_M digital communication block for it. But we are not able to see any waveform on SDA and SCL lines.

   

So, kindly help us resolving this issue.

0 Likes
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Did you put pullup resistors to the sda and scl pins?

   

Are the FN0 and FN1 configured for pull low drive mode?

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Yes i am using pull up resistors of value 10K each on these lines.

   

Here is some details from the Datasheet:

   

SDA_Pin

   

Selects which pin of the I2C_Port, the SDA data signal will be present. There is no need to select the

   

proper drive mode for this pin; PSoC Designer will do this automatically.

   

SCL_Pin

   

Selects which pin of the I2C_Port, the SCL Clock signal will be present. There is no need to select the

   

proper drive mode for this pin; PSoC designer will do this automatically.

   

So, i don't think we need to configure FN0 and FN1 as low drive mode. But i have tried it by configuring it to low drive mode also but still it is not working.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Out of my wits. For a test, I would use a "normal" pin to check.

   

Otherwise I would create a support case (Top of this page "Design Support"-> Create a Support Case)

   

 

   

Bob

   

PS: Forgot to call I2C_Start() ???

0 Likes
Anonymous
Not applicable

No, Did not forget.

   

Is there any other way through which i can get the values from my color sensor in firmware? Any other port pins?

   

Any suggestion?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I already gave you the latest suggestion: create a support case.

   

 

   

Bob

0 Likes