Teensy Hardware Flow Control RTS/CTS

Yes, to actually use flow control, all you do is call the functions to turn it on.

To check if RTS is working, just write a program which never reads incoming data and connect something to the pin which sends data. You could use another pin from the same Teensy with code printing to that other port, if another board isn't convenient. You'll see the RTS pin change when the input buffer starts to fill up.

To check if CTS is working, just write a program which regularly sends data. You'll see data flowing when the CTS pin is high, and if you ground the CTS pin you'll see the data stop. If your program does something like blink a LED every time is writes, a short time after the TX pin stops you'll see the program can't write more data after the transmit buffer fills.

It really is that simple to check, if you want to verify it really works or just see it in action so you can understand better how it really works.
 
Back
Top