UART:Receiving junk characters

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

UART:Receiving junk characters

1,240件の閲覧回数
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

ラベル(2)
0 件の賞賛
返信
1 返信

1,025件の閲覧回数
saurabh206
Senior Contributor III

Hi,

Is there any findings on your issue?

'

0 件の賞賛
返信