Oct-30-2020, 08:02 AM
Hello. I am trying to get modbus working on my Raspberry PI but I cannot fully understand how to implement flow control. I have found and read these two articles:
https://ethertubes.com/raspberry-pi-rts-...w-control/
https://github.com/mholling/rpirtscts
But still I am confused about RTS/CTS flow control. Does it happen automatically on the raspberry PI? if I set the GPIO 16,17 pin modes to RTS/CTS as per this guide: https://ethertubes.com/raspberry-pi-rts-...w-control/
Would that mean that I enable the automatic flow control? I can now connect RTS pin to direction pin of RS485 IC and that should work? Or I still need to toggle these pins in program.
Could someone help me understand
https://ethertubes.com/raspberry-pi-rts-...w-control/
https://github.com/mholling/rpirtscts
But still I am confused about RTS/CTS flow control. Does it happen automatically on the raspberry PI? if I set the GPIO 16,17 pin modes to RTS/CTS as per this guide: https://ethertubes.com/raspberry-pi-rts-...w-control/
Would that mean that I enable the automatic flow control? I can now connect RTS pin to direction pin of RS485 IC and that should work? Or I still need to toggle these pins in program.
Could someone help me understand