FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5992 Discussions

Setting up RS232 protocol on DE0 board?

Altera_Forum
Honored Contributor II
1,251 Views

Hi! Total newbie here, I was wondering if anyone can help me out with setting up my TAB board to transmit messages, on a loop, from my TAB board from its Rx and Tx terminal. 

 

My whole idea is like this:  

 

1) DE0 sends looping messages via RS232 pins (Rx / Tx) 

2) Goes to a IC chip converter to convert the signals to the appropriate voltage (5v to 3.3V I believe)  

3) Goes from IC chip back to the PC via the USB/RS232 port and is displayed on the PC via Tera Term or HyperTerminal 

 

Issues im facing: Getting the codes/protocols or blueprints to set up the looping messages on RS232. 

 

Any help is appreciated, thanks in advance!
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
474 Views

I don't understand what do you mean by "DE0 send looping messages". If it's just a loop then you can simply connect Rx to Tx, if you mean DE0 gets a message from a PC terminal, then it sends the same message back out to the PC terminal, then you need an UART in your system, check out http://opencores.org/ for free implementations. After that you need some converted logic, you can get breakout boards for RS232 interfaces, there are plenty of boards which can convert TTL signals (from FPGA) to RS232. Note that most modern PCs do not come equipped with a RS232 port, so you will need an RS232 to USB converted at the PC end. Both RS232 interfaces will have to be connected through a cross over cable so Rx from FPGA goes to TX of the PC etc.

0 Kudos
JLop
Beginner
382 Views

hi I'm the newbie now, starting with FPGA DE0, I want to receive back from FPGA the byte I transmit using RS-232.

What do I have to do?

 

0 Kudos
JLop
Beginner
379 Views

hi, and how do I implement something to get back the same bite I send to the FPGA?

 

0 Kudos
Reply