EmbDev.net

Forum: FPGA, VHDL & Verilog VHDL buses comunication


Author: Lukas (Guest)
Posted on:

Rate this post
0 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

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 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?

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.