Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Bug in serial port com

Altera_Forum
Honored Contributor II
1,080 Views

When transferring (using Hyperterminal) 2 identical characters, the second character may get its MSB flipped. For example, sending "FF" may be received as "0x46 0xC6". 

Has anybody seen this and know of a solution? 

I'm using Stratix ver of NIOS board. 

 

 

Thanks.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
398 Views

There is a problem with your design.. I often working with standard UART and Fifoed_UART and there is no such problem for me more than 4 years..

0 Kudos
Altera_Forum
Honored Contributor II
398 Views

It might be that you baud rate is slightly out, and that the wrong bit gets sampled - in theory this should generate a receive framing error, but those aren't always reported to apps. 

The byte will be sent LSB first, so you should be able to work out what is being mis-sampled. Remember the async byte pattern is 10 bits long (a zero before the byte and a one after it).
0 Kudos
Reply