Hi Folks,

I have looked and nobody seems to ever approached the Synchronous high speed issue, so here's a little challange:

I am trying to transmit a string SYNCHRONOUSLY using HSEROUT with no luck.

after reading MicroChip's docs, it seems that the SPEN,SYNC and CSRC bits must be set, so I tried:

DEFINE HSER_SPBRG 59 ' BAUD RATE = 83.333 KBAUD
DEFINE HSER_RCSTA 20h '
DEFINE HSER_TXSTA 90h ' sets CSRC and SYNC bits
DEFINE HSER_CLROERR 1 ' just in case of overflow

and then some hserout commands like this one:
HSerout [$11,$12,$13,$23,$34,$43,$81,$13,$3A]

right after that I had a LCDout command for debugging purposes.

THE PROGRAM NEVER GOT TO THE LCDOUT PART!!! nothing happend. no serial output, no clock, nothing!
so I started REM'ing out the defines one by one. the problem was the DEFINE HSER_TXSTA 90h. I have changed it to 20h just to be sure,
and of course it worked, but Asynchronously.

Am I doing something wrong or HSERout is limited to Async???

Please show me the light!

Thanks

M.M.
New York