Forum Discussion
Altera_Forum
Honored Contributor
20 years agoIf you're getting an 0x04 when you expect an 0x02, that sounds like a timing problem, like the UART is picking the wrong spot to sample the bit (or maybe there's a slow edge rate on the driver/receiver?), or is set to a close but incorrect rate (SOPC builder clock rate not the same as the real system's?).
I don't see much choice for you aside from looking at the receive signal at or near the FPGA pin, and if that looks perfect, start probing some signals inside the UART with SignalTap.