Hello

On the BeagleBone Black I'm using UART4 for my application.

When I check the UART4 TxD output with the Oscilloscope I'm getting 
confusing results. Maybe I'm sending the data over UART wrongly, hopefully 
somebody can help me.

At the beginning  I do: stty -F /dev/ttyO4 raw

afterwards I expect the logic to be standard. With 1 HIGH and 0 LOW
<https://lh6.googleusercontent.com/-kVVWwvqvDZU/Uo3cXvsKTeI/AAAAAAAAAHI/LIRoQi5X8rE/s1600/digital.jpg>




But when I do it on BBB for 1 (HIGH) i get  
root@beaglebone:~# echo 1 > /dev/ttyO4

<https://lh4.googleusercontent.com/-v5trXmTEYWc/Uo3dyjCIm1I/AAAAAAAAAHc/uXEREeIlp94/s1600/1.PNG>





root@beaglebone:~# echo 0 > /dev/ttyO4
<https://lh6.googleusercontent.com/-XVItYlMGpXc/Uo3d39j5QuI/AAAAAAAAAHk/_2WowMoJLfY/s1600/0.PNG>
root@beaglebone:~# echo 110 > /dev/ttyO4
<https://lh6.googleusercontent.com/-kFFTV--jfFY/Uo3f6OBo0GI/AAAAAAAAAHw/LUBluujJ5qk/s1600/110.PNG>

root@beaglebone:~# echo 010 > /dev/ttyO4
<https://lh5.googleusercontent.com/-zfLETd-m_b0/Uo3gvu3FA3I/AAAAAAAAAH8/tbWsiQc0CSs/s1600/010.PNG>
root@beaglebone:~# echo 11111111 > /dev/ttyO4
<https://lh6.googleusercontent.com/-UlcQo23t8NE/Uo3g5MYUzLI/AAAAAAAAAIE/gVRypKgZnLE/s1600/11111111.PNG>










Is it possible to have a normal digital logic as the output of UART? If 
yes, how to do so.










-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to