EmbDev.net

Forum: FPGA, VHDL & Verilog VHDL buses comunication


von Lukas (Guest)


Rate this post
useful
not useful
Hello.

I want to ask that is there someone who is good in vhdl or which know 
some good sites about vhdl sources. I want to implement to fpga some 
buses. I have 5 specified sensor which comunicate trought OneWire, I2C 
and SPI. I try a lot of codes but were very complex for me to 
understand. So if there is someone who can help me please write me back. 
thanks a lot

Lukas

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
Lukas wrote:
> I try a lot of codes
Huh, funny strategy.

> but were very complex for me to understand.
First you must understand how the bus is working: SPI for example are 
simple coupled shift registers. The I2C is also clk synced, but a little 
more tricky at transacting the bus (START, STOP, CLOCK STRETCHING). And 
at the one-wire you must have a more sophisticated FSM to control the 
interactions and the protocol.

> I have 5 specified sensor which comunicate trought OneWire, I2C and SPI.
And what will happen with the data you aquired?
What sensors do you have?

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.