Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l GNU/Linux
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:
- Open the special tty file
- Create a serial_rs485 struct and set the desired configuration values
- Pass the configured struct to Kernel driver by using ioctl on the open serial port file descriptor
--
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.
When testing it with the minimal modbus library, the slave ID, function code and payload data is correct. It just seems to have problem getting pass the error check.