[MinnowBoard] [Serial communication Problem]

Mat0382 mcoterot at implantrack.com
Wed Nov 9 10:38:56 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



--
View this message in context: http://minnowboard.57273.x6.nabble.com/Serial-communication-Problem-tp2491.html
Sent from the MinnowBoard mailing list archive at Nabble.com.


More information about the elinux-MinnowBoard mailing list