- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: I2C (XPS IIC Bus Interface) how to connect ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-09-2009 02:40 AM
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
Re: I2C (XPS IIC Bus Interface) how to connect ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-09-2009 08:19 AM
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
Re: I2C (XPS IIC Bus Interface) how to connect ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-12-2012 03:52 PM
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 ?











