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.

Implementation 12 RS232/Rs485/RS422 Ports in FPGA

Status
Not open for further replies.

prabhukaran3

Member level 5
Member level 5
Joined
Mar 14, 2013
Messages
93
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
Karur
Activity points
2,053
Hi friends!
Looks so great to see you again... Now I am working with FPGA kits.. I hope FPGAs are almost same as micro controllers except pin configuration flexibility. I want to implement 12 RS232/422/485 ports. At any time I wil change the port configuration settings(All ports as RS-485 or 2 ports RS-232 and 6 Ports in RS-485 mode and remaining is RS-422 mode)..... Setting informations will be given by another micro controller.... Before that I need to ensure.. programmed-compiler support needed)

RS232 voltage levels +/-12V
RS485/RS422 Voltage levels +/-5V


Is it possible? If yes please specify some FPGA ICs(It should be easily
 

1) FPGAs are NOT THE "SAME AS MICROCONTROLLERS".
2) FPGAs are NOT THE "SAME AS MICROCONTROLLERS".

You need to read something.

FPGAs don't know anything about RS-232/422; those protocols are dependent on what drivers you connect to the FPGA.

You will need to implement the UART functions in the FPGA, either writing your own or using someone else's IP.

And what does "(It should be easily" supposed to mean? It looks like you passed out in the middle of writing your post.
 
No dedicated functions will be available on the FPGA. You need to assign each and every function on each pins of the FPGA. FPGA will be same as micro-controller only when you are using all the micro-controller pins as port pins. Otherwise there are more differences.

You dont want to worry about the voltage level of RS232 & RS485/RS422 when you are using Transceiver for same. You just need to control it. In RS485 mode the controlling is little bit critical considering which mode you are going to use either half duplex or full duplex.
 
FPGAs are just a collection of gates you put together yourself to make something useful happen. You build the functionality from basic logic blocks. A microcontroller is already built to do a job, the software you put in it tells it what to do. So the two are nothing like each other.

As far as I know there are no FPGAs or microcontrollers that can handle any negative voltages or voltages as high as 12V. In any case RS485 and RS422 only use positive voltages!

Brian.
 
Hi,
Very thanks for your replies... Can you suggest some useful links for me to start over. Can I find free lancers through Internet? If yes means what should I give as input... First time stepping into FPGA kits... So little bit fear...
 

Maybe you should start someplace like this (FPGA 4 fun website), which has a lot of basic circuits you can look at and implement in an FPGA. Definitely read the "FPGA Introduction" section.
 

and forget the idea that FPGA's (programmable logic in general) are like MCU's.
 

you also need to study about the logics in RS232, RS485 & RS422... for that wikipedia is enough for the understanding
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top