Click here to Skip to main content
15,881,882 members

PIC24 UART # 3 Refuses 5th Byte

C-P-User-3 asked:

Open original thread
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 ?
Tags: PIC

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900