Altera_Forum
Honored Contributor
18 years agoUART problems in Cyclone board
I've implemented a variable baud UART for my project into a custom Cyclone Ep1C board. The board has a 32-bit custom processor on it and the FPGA interfaces to the processor driving its address and data and control signals. The board has a built-in debug monitor that can be used for debugging.
All of this is working. The monitor runs and I can access the CPU registers, program the onchip UART,etc. The UART I had implemented in this board is for another project. Just testing the UART core using this board. I set the Baud rates, data etc using the registers implemented in the FPGA. The problem is when the data is transmitted. The baud is set to 19200 , no parity, no flow control and 8-bits and start bit. The Hyperterminal program is also set with the same settings. When I write the hex value for 'A' in the register and transmit..the received info on hyperterminal shows junk characters. I've managed to capture the computers serial output when typing 'A' in the hyperterminal and compared it with the UART o/p. Both the timings and data patterns match. But still junk is shown in the other FPGA UART terminal. Can anyone shed some info on this? I've even tested it with other UART cores available from opencores..still same result.