Hello,

I came across this tutorial on configuration for RS-485 serial 
communication, but I am new to this and I need some clarifications on the 
procedure. 

My beaglebone black is currently running on the latest Debian image

>
> Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l 
> GNU/Linux

 


On the website 
http://inspire.logicsupply.com/2014/09/beaglebone-rs-485-communication.html

Let's dive into the Kernel a bit to to see how RS-485 works in Linux; the 
> standard steps to put a UART into RS-485 mode are: 
>
>    1. Open the special tty file
>    2. Create a serial_rs485 struct and set the desired configuration 
>    values
>    3. Pass the configured struct to Kernel driver by using ioctl 
>    <http://man7.org/linux/man-pages/man2/ioctl.2.html> on the open serial 
>    port file descriptor
>
> I don't understand do these steps, where do I find the special tty file 
and as well as creating the serial_rs485 struct. Can someone guide me 
through this part?

Thank you.

 

-- 
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/d/optout.

Reply via email to