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 master mode is done.But can i get anythin in spartan?

Status
Not open for further replies.

edrin_88

Junior Member level 1
Joined
Feb 11, 2010
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
mumbai
Activity points
1,401
i hav done the master mode in i2c using VERILOG..
but how will i c the output,..?
how will i assign pins for "inout"...!?
 

You can use simulation tools to check and verify that your code is correct or not and observe your outputs as well...
For inout pins, check for tri-state buses...
 

Re: i2c master mode is done.But can i get anythin in spartan

simulation is proper.but i want to see it on hardware.the problem is that i have done only master mode.
and my SDA and SCL lines are inout.
so how will i assign in spartan 3 E?
 

Re: i2c master mode is done.But can i get anythin in spartan

Most of GPIO pins for spartan 3E is IO buses. Check for GPIO's at Spartan 3E datasheet. You need to have ucf file and assign the proper values(which GPIO you use has a ucf definition) at ucf file...

And what's your harware that communicates with FPGA.. You need to have a physical connection with your FPGA and your hardware... You need to connect your hardware's SCL and SDA to the FPGA GPIO...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top