Forum Discussion
Altera_Forum
Honored Contributor
8 years agoUART encoding issues
Hi, I am using the Cyclone V SoC UART0 and I can transmit to my PC and read strings just fine. However when I am reading the UART in my baremetal application, the received characters don't match ASCI...
Altera_Forum
Honored Contributor
8 years agoSOLVED!
OK, Altera's SoCFPGA-hardwareLib-FPGA-CV-ARMCC reference design which I was using had left the UART to use FIVE BITS PER SERIAL WORD. As I was getting all the initialization messages from the UART to the terminal just fine I assumed the source had initialized the UART all fine. But now I have set LCR[1:0] to use eight bits per word and its fine!