Hardware flow control in Teensy 3.6

Status
Not open for further replies.
I'm going to implement hardware flow control from my Teensy 3.6 to my Bluetooth module (nRF52840). I'm wondering how does the Teensy harware flow control work. Do I need to program the RTS/CTS pins to work when I want them to? Or can I simply enable them as RTS/CTS pins and they should work assuming the nRF has HWFC enabled as well? Or is there some kind of library I should implement to get this to work?

Thanks!
 
am I able to use the HWFC to set start and stop recieve instead of having start and stop bytes or are these necesarry as well?

What is or isn't necessary for your application is a much larger question.

I can tell you, when Teensy's CTS input is driven to logic high, Teensy will not transmit more bytes until it goes low. Likewise, Teensy will drive the RTS output depending on the buffer watermark levels, which you can find in the serial1.c code if you're curious to dig deeper into how it really works.

But whether that gives you everything necessary for your particular application, I do not know and can not answer.
 
What is or isn't necessary for your application is a much larger question.

I can tell you, when Teensy's CTS input is driven to logic high, Teensy will not transmit more bytes until it goes low. Likewise, Teensy will drive the RTS output depending on the buffer watermark levels, which you can find in the serial1.c code if you're curious to dig deeper into how it really works.

But whether that gives you everything necessary for your particular application, I do not know and can not answer.

My question was a badly formulated, sorry. Thanks for your answer, it cleared up my understanding.
 
Status
Not open for further replies.
Back
Top