Designing a I2C slave using Spartan 3E and VHDL

L

LRCR

I am designing a General IO controller with a I2C interface using a
Spartan 3E. It seems simple since I2C slave needs to detect the start
and end of a byte and reply with an acknowledge. Also, the FPGA I2C
slave will use the master clock to read in the serial Bits. The first
byte is the address and the second is the data. I am still a novice
in VHDL and this is my first I2C project. I was told to do a VHDL
generic design without buying an IP for this project. From my
explanation of the design, I hope I am not missing anything. So far
this is a Master to slave interface, but I am not sure if the reverse
is require. But I want to start with a one direction interface first
in order to get my feet wet in this type of interface. Can anyone
suggest how I can start on the VHDL design. An outline or a sample
code would be helpful
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top