Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: PIC
The chip in question is PIC24FJ256GB210
 
We have an embedded system with two of your microprocessors.
 
The two microprocessors use UART #3 to communicate.
 
I place 4 bytes into UART #3. The 5th byte will not go in.
 
My local hardware expert says that if I turn off flow control that the bytes will go out no matter what.
 
Is this true ? I've never heard that one before. I thought it was a hardware signal on the other side; i.e., a read signal has to occur on the other side; after which the FIFO buffer re-rigs the innards and the guy on the first side can start stuffing again (well, one for one under these circumstances; but whatever; a read on the other side will let me write on this one; I thought).
 
His definition of "turn off flow control" is for me to not use PPS (Peripheral Pin Select) to map either the RTS (Request to Send) or CTS (Clear To Send) pins to their corresponding physical pin on the board.
 
I did that.
 
Result: no change; that is to say, the 4-Byte FIFO buffer fills up.
 
Will disabling CTS and RTS let me push bytes in with abandon ?
Posted 11-Feb-13 14:59pm
Comments
Sergey Alexandrovich Kryukov at 11-Feb-13 20:22pm
   
And and after all that some still talk about "magic number" (http://en.wikipedia.org/wiki/Magic_number_%28programming%29)! :-)
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 11 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100