Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using RS485 ports for communication #79

Open
sonelu opened this issue Aug 4, 2019 · 0 comments
Open

Using RS485 ports for communication #79

sonelu opened this issue Aug 4, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@sonelu
Copy link

sonelu commented Aug 4, 2019

Hi all.

I am using a SC16IS762 SPI>UART chip to create the busses for Dynamixel and then 74LVC2G241 buffers to covert to semi duplex. The control of the buffers are done using the ~RTS pin of the SC16IS762 and for this to work properly the chip needs to be put in RS485 mode.

Despite my efforts I could not find a way to automatically configure the /dev/ttySC0 and /dev/ttySC1 with RS485 settings automatically at boot time. I have to specifically activate the RS485 settings after the port is open.

As a result, I use a modified version of ROBOTIS-Framework, a not very nice solution.

I would be interested to post pull requests to update the robotis_controller.cpp and robot.cpp so that we can have an additional parameter in the .robot file in the [port info] section to indicate if the port needs RS485 enabled and then do the initialisation in robotis_controller.cpp after the setting of the baud rate.

@kaym9n kaym9n added the enhancement New feature or request label Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants