Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
sachingorkhe
Posts: 26
Registered: ‎11-18-2007
0

Re: I2C (XPS IIC Bus Interface) how to connect ?

Ahmed,

 

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.

 

Sachin 

Expert Contributor
pumaju1808
Posts: 368
Registered: ‎08-14-2007
0

Re: I2C (XPS IIC Bus Interface) how to connect ?

hi,

 

you only need to drag XPS_IIC core to your system assembly and in the ports window connect "Scl" and "Sda" IO pins, thats all you have to do

 

Regards

Regular Visitor
pritom
Posts: 25
Registered: ‎08-06-2010
0

Re: I2C (XPS IIC Bus Interface) how to connect ?

Hi,

 

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 ?