Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

I2C receiving/transmitting system design

Status
Not open for further replies.

cichylis

Newbie level 2
Newbie level 2
Joined
Mar 19, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,298
Hello,
I would like to receive nad transmit I2C protocol packets for this purpose I need to design digital circuits. Could you give me any clues how should I start?
 

Hi,

I am not clear about your question. Do u want to design a I2C Master or Slave?
 

First of all go through some document to understand the I2C protocol/waveforms and details of the signals and how they are working? You may refer NXP's LPC9xx series microcontroller user guide/data sheet for understanding, how an 8 bit controller incorporated I2C interface?
I had developed I2C interface design for simple Tx/Rx purpose, inspired from the LPC9xx controllers. It is capable for point to point communication. You can find the files attached. Its just a hobby project and please don't expect a strong professional touch. Also the test bench is very basic!
Its not fully up and tested yet, the receiver have some minor problems. But the transmitter is working. You can look at it for reference.
 

    cichylis

    Points: 2
    Helpful Answer Positive Rating
I2C is a simple two line protocol, in idle state all the line should be tied to high logical level trough a pull-up resistor. One line is used to trasmit and receive data and the other line for clock sinchronization between the master and the slave.
The data port has to be bidirectional bcz after transmission you've to wait the ACK from the slave then switch the direction from out to input and after receipt it you can continue into the data sending.
Because I2C was a Philips protocol take a look at the link below:
**broken link removed**

Bye
Powermos
 

    cichylis

    Points: 2
    Helpful Answer Positive Rating
thanks for reply...
the idea of the project is to receive form and transmit to fpga I2C packets.
Predominantly I m interested in schematic design as I have no much experience in vhdl or verilog. FPGA(slave) is responsible for receiving data and passing it further bidirectional. So my intention is to design within FPGA receiver/transmitter for each direction of data flow. I have problem with designing schematic cicruit that firstly would be just recognize (only from one side of fpga),using addresses of the devices if fpga should write or rather read from master. Could you help me with this or maybe recommend some articles, documentation or so...
Thanks for response
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top