AnsweredAssumed Answered

UART:Receiving junk characters

Question asked by Vishvapathi Karnan on Jul 18, 2013
Latest reply on Oct 20, 2014 by Saurabh Patel
Branched to a new discussion

I have a I.MX SABRE SDB and chose to use UART3.

 

I tried to test the UART using the sample code"mxc_uart_test.c". when i execute the binary i am getting the following


Usage: mxc_uart_test <UART device name, opens UART2 if no dev name is specified>
/dev/ttymxc2 opened                                                            
Attributes set                                                                 
Test: IOCTL Set                  

Data Written=Test                             

              
Data Read back= T{�*hˇ

i executed the code with ./test /dev/ttymxc2

Only the first character is correct. Other characters are just junk

 

Any help would be appreciated

Outcomes