Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

RS232 sends to terminal but doesn't recieve!!

Altera_Forum
Honored Contributor II
900 Views

Hello every one 

Im using Altera FPGA DE0 board and I need your help in serial communication 

I use SOPC builder to design the hardware needed (that was a microcontroller 

with rs232 prephiral with 2 pins used to send and recive) 

 

I used Nios2 to write the code 

first I tried to hyper terminal of the PC and it works 

then I tried to receive by using "getc" function but didn't work 

 

any ideas .. I need to send and receive .. so plz help 

thanks in advance
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
193 Views

http://www.altera.com/literature/hb/nios2/n2cpu_nii51009.pdf 

 

check page 7 of this document. Maybe it will be of some help
0 Kudos
Altera_Forum
Honored Contributor II
193 Views

hey did u found a solution for the Problem ? i got the same on my NEEK

0 Kudos
Reply