UART:Receiving junk characters

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UART:Receiving junk characters

602 Views
vishvapathi
Contributor V

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

Labels (2)
0 Kudos
1 Reply

387 Views
saurabh206
Senior Contributor III

Hi,

Is there any findings on your issue?

'

0 Kudos