06-09-2009 02:40 AM
As I mentioned in my previous reply. You need not worry about the IOBUFs in your system.
XPS will do all this automatically. Just check your ucf once you add XPS IIC.
03-12-2012 03:52 PM
I am facing the similar problem here. In my EDK project, I have imported the iic core and routed its SCL and SDA signals to external IO pins in the VHDCI connector on a Spartan 6 FPGA. I also had to supply master clock (50Mhz), Vdd enable and reset signals to the other pins of the VHDCI connector as it is required for the VMODCAM that I am trying to communicate with, through I2C. But when I try to use the lower level or Upper level APIs of I2C core to communicate it can't write/read (send/receive) any databytes to the camera module using the I2C bus. The camera's device address on the I2C bus is 0x78.
For example if I try the following:
ByteCount = XIic_Send(IicBaseAddress, TempSensorAddress,
TemperaturePtr, 2, XIIC_REPEATED_START);
The ByteCount returns with 0.
Any idea what might have gone wrong ?