Well, interesting. Now I am trying to take in the character at 9600 and resend at 115200. When I do this code below, my results are not what I want!

For example when I send the number 1, I receive an "a", send 2, I get an "f"
3 a "g", ect till I send 6, the sequence jumps to "n", "o".. Really strange.

I don't know if it is a timing issue or not???? Puzzled.

It was mentioned above that I could change the baud rate on the fly, How is that done? Could the issue be I have different baud rates on different pins, seems it should not matter. I'm lost..

ScottC

DEFINE OSC 20 ' 20MHz oscillator
DEFINE HSER_TXSTA 24h
DEFINE HSER_BAUD 115200 '115200 Baud Out
DEFINE HSER_SPBRG 11
DEFINE DEBUGIN_REG PORTB ' 9600,8,N,1 Serial In
DEFINE DEBUGIN_BIT 7
DEFINE DEBUG_BAUD 9600
DEFINE DEBUGIN_MODE 1
B7 VAR BYTE

'**********************************************

TRISA = 0
TRISB = %00000001
TRISC = 0

'********************************* READ SERIAL PORT

loop: While PORTB.7 = 1 'Wait for start bit
Wend

DebugIn [B7] ' B0 = input character
Pause 500

print: HSerout [B7]

GoTo loop ' Forever