[MinnowBoard] [Serial communication Problem]

Mathieu COTEROT mcoterot at implantrack.com
Wed Nov 9 10:10:05 UTC 2016


Hi everybody,


I'm looking for a tutorial which describe how to implement a serial 
communication between the Minnowboard and a PC (OS is Linux Mint on both).
I'm beginner in serial documentation so I tried to follow any 
documentation I found on the minnowboard wiki and internet but I'm 
facing a problem that I'm not able solve still now.

I currently have already wired the UART0 (GN, RxD, TxD) on the 
minnowboard to a RS232/USB converter (this one is plugged to a PC.)

By this way, I'm using the port /dev/ttyS0 (I also tried on /dev/ttyS4 
and ttyS5 by changing the connection but result is the same) on the 
minnowboard and the port /dev/ttyUSB0 on the PC.
I open putty on each side (PC/minnowboard), with the following 
configuration :

  * *Baud rate:* 115200
  * *Hardware Flow Control:* No
  * *Bits:* 8
  * *Stop:* 1


But the behaviour of the communication is weird. I can send data through 
the /dev/ttyS0 port on the minnowboard (I electrically check with a 
voltmeter) but port /dev/ttyUSB0 display nothing on putty.
AND, I can send data by /dev/ttyUSB0 port. These data are received on 
the /dev/ttyS0 port (elctrical check with a Voltmeter), and putty 
display data, but not the good one.
For exemple :
     'a' become '0'
     'z' become '!'
     'e' become 'M'
     'r' become '#'
     't' become ''
     'y' become 'C'

Problem is the same on Linux terminal if I used echo and cat command.


I made several check of the port configuration and wired connection but 
everything seems to be ok.
I think, I miss something but currently I'm not able to see what.

Does anybody can help me on this point ?

Thanks by advance

Mathieu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20161109/add86b34/attachment.html>


More information about the elinux-MinnowBoard mailing list