Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHere is a version of your code that I modified somewhat and it works quite well. I'm using HyperTerm at 9600 8-N-2 to display the xmitted chars. Note the order in which 'plain_text' is read. For valid printing chars to be displayed you cannot send 0xDEADBEEF but rather its ASCII equivalent. There are some additional little changes, for example, tbyte = plain_text[(byteN*8)-1 -: 8] and the state machine runs at 4-KHz. No changes to uart.v except for some cosmetics.
rgs