Did you put pullup resistors to the sda and scl pins?
Are the FN0 and FN1 configured for pull low drive mode?
Yes i am using pull up resistors of value 10K each on these lines.
Here is some details from the Datasheet:
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.
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.
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)
PS: Forgot to call I2C_Start() ???
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?
I already gave you the latest suggestion: create a support case.