UART:Receiving junk characters

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

UART:Receiving junk characters

1,415 次查看
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,200 次查看
saurabh206
Senior Contributor III

Hi,

Is there any findings on your issue?

'

0 项奖励
回复