Unable to receive data via serial line

56 views
Skip to first unread message

deepak srinivasan

unread,
Oct 3, 2015, 2:14:21 PM10/3/15
to BeagleBoard
Hi

I had recently bought a Beaglebone Black rev C and was getting started following online tutorials
I tried to setup basic serial communication with BBB through J1 serial connector

I am able to transmit data from my laptop to BBB via serial line and I can see the data coming to /dev/ttyO0 successfully
But receiving data from BBB is not working 
Only once receive worked where it showing just gibberish in terminal and after that it consistently failed to work

dmesg or syslog doesnt show any errors
I checked for basic continuity and my USB to serial converter doesnt seem to one causing issue

Can anyone help me on this issue
Thanks in advance

regards
deepak

Przemek Klosowski

unread,
Oct 3, 2015, 3:26:55 PM10/3/15
to beagl...@googlegroups.com
If you suspect your USB serial converter, a quick test is to short the RX and TX and check that whey you type in your minicom/hyperterm you see the hardware echo it back (just make sure you don't set it up for local software echoing).

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

deepak srinivasan

unread,
Oct 4, 2015, 3:49:28 AM10/4/15
to beagl...@googlegroups.com
Hi 
Thanks for your reply
I tried that and its working fine
In fact, when BBB is not powered, I am able to see that the serial line between my laptop and BBB is working perfectly as a loopback
When I power ON the board, loopback disconnects and then nothing is received on laptop (or nothing is transmitted from BBB)

Should I enable UART0 on BBB, I was thinking that ttyO0 is enabled by default and that I am able to transmit data to BBB
Currently my BBB has Debian 4.6 (linux 3.8.13-beagle70)

 

You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/63k5jMJEhGE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
regards
deepak
9962962016
Reply all
Reply to author
Forward
0 new messages