Forum Discussion
Altera_Forum
Honored Contributor
16 years agoAny ideas why this code isn't working
Backgroung, working with Terasic DE1 kit Trying to grab serial data from Copernicus Chip, interface http://www.sparkfun.com/datasheets/G...cus_Manual.pdf by default chip should give us $GPGGA onc...
Altera_Forum
Honored Contributor
16 years agoIt seems like your treating the UART bitstream as synchronous 8 bit data stream, but it isn't. It has at least one stopbit and one startbit after 8 data bits, it uses basically a 10 bit frame.. Furthermore, it's not guaranteed, that the individual character frames are transmitted continuously. Instead, the UART receiver is expected to synchronize on each start bit a new. See http://en.wikipedia.org/wiki/uart for a brief explanation.