Linux PC USB to MCU - flow control issues

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi,

 

i've a bit of confusion on two flow control issues.  data was arriving (but also overrunning) before i added flow control.  now i can't seem to receive a byte.

 

(1) using which signal - the rts signal or the cts signal - tells the sender to begin sending?  i thought i had this down cold but i guess not; and

 

(2) should that signal be high or low to say, "start sending"?  i've seen this both ways, and have heard that some chips (allegedly the MAX232) invert this signal.

 

(3) since the data movement is all from PC to MCU, what to do with the "other" signal?  i.e., if (1) is RTS, do i need to deal with CTS? set it high?  set it low?  throw it away?  and vice-a-versa.

 

tia

 

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Assuming the PC is the DTE, then it asserts RTS, and waits for the DCE to assert CTS....    

I'll leave what assert means to your circuit.  

 

 

Jim

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
get $5 free gold/silver https://www.onegold.com/join/713...

 

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks!

TOU

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

USB RTS/CTS?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Dare to be naïve." - Buckminster Fuller

Last Edited: Wed. Sep 14, 2016 - 07:12 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0