Serial Flow Control #932
Replies: 3 comments
-
Posted at 2017-05-18 by @allObjects I know that there is xon/xoff flow control, but did not see any option that you could specify pins for HW flow control - see reference Serial_setup |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-05-18 by Sacha Thanks. As far a i know the xbee modules only supprts HW flow control. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-05-22 by @gfwilliams Conveniently, it was something I added last week and which will be in 1v93! If you use one of the cutting edge Espruino builds (newer than 1v92) then it should have it. If you do:
Then Espruino will set the CTS pin to 0 whenever it is ready to receive data, and to 1 whenever it is too busy to receive. It doesn't do flow control on transmit, but I imagine that is unlikely to be your problem with xbee modules. Hope that helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-05-18 by Sacha
Dear Espruinos
I use several picos with an xbee modul to communicate to each other.
I only connected power and rx/tx. So there is no flow control used.
Maybe as a result, when i communicate faster than 2400bps i have data losses.
I would like to test it with flowcontrol. Do the pico support HW flowcontrol ?
Thanks for your advise
Sacha
Beta Was this translation helpful? Give feedback.
All reactions