Forum Discussion
Altera_Forum
Honored Contributor
18 years agoDE2-70 RS232 and VGA Question
Hello,
I'm currently working on my Senior Project and I'm having many problems :mad: ... For starters I need to interface a CDMA Modem via Serial (RS232) and have the DE2-70 throw out AT commands that the Cell Modem can understand and send out the SMS message... I verified all the commands with HyperTerminal and everything works great... I just need to come up with some VHDL code that can talk to the RS232 port and send AT commands to the Modem... I am a complete n00b with VHDL, but I am familiar with Quartus software... If anyone can help get me started on some VHDL code for the RS232 port I would be most grateful... Later down the line I would like to display just the text comming off of the RS232 port to a VGA monitor... Again, not a clue where to start... I did some searching on this fourm, but haven't found an exact answer to my problem... Thanks in advance....13 Replies
- Altera_Forum
Honored Contributor
You can go through UART core documentation, from there you can get information on ready made APIs available with Altera UART core. Through API you can easily read or write data on UART
- Altera_Forum
Honored Contributor
Hi
Any chance you could post up some sample code to read the Rx data from the RS232port on the DE boards please? I have a DE1 and am having trouble reading the data. I am effectively trying to eavesdrop on an rs232 line. Cheers in advance, hiru - Altera_Forum
Honored Contributor
You can generate a system using SOPC builder; you can have system with NIOS II processor and simple UART core which can be interfaced to RS-232 port. And then you can easily write C program to process your data coming on RS-232 port. Also later on you can add one vga controller using video components available in newer version of SOPC builder.