[MinnowBoard] [Serial communication Problem][SOLVED]
Hofemeier, Ulf
ulf.hofemeier at intel.com
Mon Nov 14 17:05:12 UTC 2016
Hi Mathieu,
Glad you hear it's working for you now.
Thanks,
Ulf
-----Original Message-----
From: elinux-MinnowBoard [mailto:elinux-minnowboard-bounces at lists.elinux.org] On Behalf Of Mathieu COTEROT
Sent: Monday, November 14, 2016 12:30 AM
To: elinux-minnowboard at lists.elinux.org
Subject: Re: [MinnowBoard] [Serial communication Problem][SOLVED]
Hi Ulf,
I test today the cable and everything works correctly now.
So my error was to try to process the raw data from UART port instead of used a converter to a serial protocol.
This topic could be closed.
Thanks for you help.
Regards
Mathieu
On 11/09/2016 05:47 PM, Mathieu COTEROT wrote:
> Hi Ulf,
>
> Thanks to this answer.
> I indeed tried to connect directly the serial communication without
> converter, and after reading some documentation on internet about UART
> and serial protocol, I get the same conclusion.
> I will buy the converter and give you a feedback.
> Tests will be on Linux, so if i'm right, I will not need to install
> drivers.
>
>
> Regards,
>
> Mathieu
>
> On 11/09/2016 05:34 PM, Hofemeier, Ulf wrote:
>> Hi Mathieu,
>>
>> To get serial output from the MinnowBoard MAX UART on a Windows host,
>> I would use the following cable.
>> https://www.amazon.com/FTDI-TTL-232R-3V3-SERIAL-CONVERTER-CABLE/dp/B0
>> 0DDF8TV6/ref=sr_1_10?ie=UTF8&qid=1478709033&sr=8-10&keywords=ftdi+usb
>> +to+ttl
>>
>> FTDI drivers for Windows are available here:
>> http://www.ftdichip.com/Drivers/VCP.htm
>>
>> The terminal settings you have configured in Putty look correct.
>>
>> Thanks,
>> Ulf
>>
>> -----Original Message-----
>> From: elinux-MinnowBoard
>> [mailto:elinux-minnowboard-bounces at lists.elinux.org] On Behalf Of
>> Mat0382
>> Sent: Wednesday, November 09, 2016 2:39 AM
>> To: elinux-minnowboard at lists.elinux.org
>> Subject: [MinnowBoard] [Serial communication Problem]
>>
>> 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-t
>> p2491.html Sent from the MinnowBoard mailing list archive at
>> Nabble.com.
>> _______________________________________________
>> elinux-MinnowBoard mailing list
>> elinux-MinnowBoard at lists.elinux.org
>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>> _______________________________________________
>> elinux-MinnowBoard mailing list
>> elinux-MinnowBoard at lists.elinux.org
>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>
_______________________________________________
elinux-MinnowBoard mailing list
elinux-MinnowBoard at lists.elinux.org
http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
More information about the elinux-MinnowBoard
mailing list