Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Receiving on UART2 sending on UART1 is 3 characters behind

Status
Not open for further replies.

razvanel

Junior Member level 2
Joined
Mar 18, 2009
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,443
uart2

Can anyone please tell me any possible reasons why this might happen? I wrote a program in C on my PIC24F to receive data from a GPS module through UART2 (using the rs232 connection of the development board) and whatever is in the U2RXREG is made equal to the U1TXREG to be sent through a Xbee module to my computer's hyperterminal program(my computer being also connected to a zigbee device to receive the data).

i always get 3 characters less...it's really bugging me..thanks guys!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top