Hello,

steve you are the king, your code works both 1 and 2 !

To share my experiment :

I did not use anymore the define, but i write to TXSTA and
RCSTA , i only use the autoerror clearing define, and it is ok.


The pause 100 after the change of SPBRG , is mandatory, probably the baud clock needs to get stable , without this pause the first char are lost ( maybe , 3 or 4 character at full speed simple serout like :

hserout["ABCDEFG"]

with 100ms pause, you are secure, and it is only at "initialization" not after.

Many thanks for your help, switching the baudrates has been a big moment for me !

Vincent STEINMETZ
(France , other side of sea ... )