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

Flow Control with RTS pulled HIGH #47

Closed
connectedthings opened this issue May 9, 2019 · 2 comments
Closed

Flow Control with RTS pulled HIGH #47

connectedthings opened this issue May 9, 2019 · 2 comments
Labels

Comments

@connectedthings
Copy link

Have been running with a USB -> RS485 adapter on a Rpi for a while now without issues. This adapter supports ADDC or at least it works with that config.

Am now busy trying a RS485 Module ( TTL -> RS485 based on MAX481 chipset) directly connected to Rpi serial0 on GPIO 8 & 10, so no flow control. RTS is pulled high on the module itself and I can't get it to communicate.

Would I have to use file based flow control in this case?

@3cky
Copy link
Owner

3cky commented May 10, 2019

Since RS-485 protocol is half-duplex, any module implementing it should have RX/TX mode switching circuit, either ADDC or connected to some RPi GPIO pin. And yes, in the second case you can use mbusd file-based direction control. But make sure you have a logic level shifter between RPi and MAX481, since RPi uses 3.3V logic which is incompatible with 5V TTL.

@stale
Copy link

stale bot commented Sep 7, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 7, 2019
@stale stale bot closed this as completed Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants