Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHi,
Take a look at http://www.opencores.org/projects.cgi/web/uart16550/overview (http://www.opencores.org/projects.cgi/web/uart16550/overview). This UART includes two 16byte FIFO memories (for Rx/Tx), you will have to make some modifications/optimizations to embed it into your NIOS-II system. We use this UART (verilog version) to communicate with a SIM/SAM module at >512kbps (the electrical interface is far away from being RS232 compatible). We also use it to communicate with a PC at 115,2kbps (using a MAX3232 compatible chip as we include two ports in the same connector). 115,2kbps is the higher speed I used (1,5M long 3-wire cable) for testing purposes since it is the highest speed that my PCMCIA can handle. At this speed no errors appeared due to signal degradation (no errors detected in programs, signal quality supervised using a 5GHz digital sampling scope). Once again, proper PCB layout is the key for high speed comms.