Forum Discussion
Altera_Forum
Honored Contributor
15 years agoUrgent HELP!!! RS232 problem
Hi all, I trying to send signal through the RS232 port. I have problem in sending out the integer/character. Below is my code: void serial() { unsigned int a = 0x61626364; cha...
Altera_Forum
Honored Contributor
15 years agoWhat exactly the problem is?
Are you losing tx data? If so, this is because usleep delay is too short for your current baudrate; you'd better poll the transmitter empty in status register for transmission completion instead of using a fixed delay.