EmbDev.net

Forum: FPGA, VHDL & Verilog Serial ports


Author: Leiser Hartbeck (leiserhartbeck)
Posted on:

Rate this post
0 useful
not useful
Hello Sir,
I am working on a system which require 8 serial ports. Most of the FPGA 
boards have at the maximum of two serial ports. Can I implement other 
serial ports on the FPGA using the IO pins. How many serial ports can be 
implemented? What additional circuitry will I require to interface it 
with other systems.
Reagrds
Leiser

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

Rate this post
1 useful
not useful
Leiser Hartbeck wrote:
> Can I implement other serial ports on the FPGA using the IO pins.
Obviously your "serial port" is a RS232 port and in a FPGA it is an 
ordinary IO pin ...


> How many serial ports can be implemented?
That depends on the size and the pincount of your FPGA. But you wlii be 
able to pack at least fifty to hundred RX/TX ports even in the smallest 
FPGA nowadays.

> What additional circuitry will I
> require to interface it with other systems.
If your "serial port" is a RS232 port, then you will need a driver/level 
shifter like the MAX232...

Author: René D. (Company: www.dossmatik.de) (dose)
Posted on:

Rate this post
1 useful
not useful
Yes, it is possible to wirte an Uart in a hardware description language 
and put it 8 time in a design.

The question is, how is your dataflow?

After, you will have 8 latches with the received values. What is doing 
with this registers?
Do you what to calculate something or send this the anohter IN/Output 
port?

Author: Leiser Hartbeck (leiserhartbeck)
Posted on:

Rate this post
0 useful
not useful
Hello,
I have 8 differrent sensors and actuators which need to be controlled 
over RS232/485/422. The data from sensors need to be read and passed to 
either a softcore processor or a seprate processor for algorithms to 
work. The output from the processor needs to directed to actuators. How 
can this be implemented. Can I do some basic sorting and pre processing 
of data on FPGA and then transmit it forward?
Regards
Leiserhartbeck

Author: Duke Scarring (Guest)
Posted on:

Rate this post
0 useful
not useful
Leiser Hartbeck wrote:
> The data from sensors need to be read
Did the sensors alwaya send or only on request?

Duke

Author: René D. (Company: www.dossmatik.de) (dose)
Posted on:

Rate this post
0 useful
not useful
Leiser Hartbeck wrote:

. Can I do some basic sorting and pre processing
> of data on FPGA and then transmit it forward?
> Regards
> Leiserhartbeck

Yes you can proprocessing the Data.
But you have to know FPGA development need more time as software 
develoment.
If you want to try different algorithm, this is simplier to solve in 
software.

Author: Leiser Hartbeck (leiserhartbeck)
Posted on:

Rate this post
0 useful
not useful
Hello,
My major algorithms run on software and on main processor. Is there a 
place where I can get schematic diagrms of boards utilising FPGA with 
processor which I can use for designing my own board?
Regards
Leiserhartbeck

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.