Hello everyone,

I would like to ask:
--How can i clear the RCREGx buffer ?!
--Is RCREGx a writable register or a readable only ?
I'm asking because i am using a "Hserin [Str message\50\13]" command and if there are more bytes incoming after the "13" character they are saved right into the RCREGx and reappearing in the next Hsering command as the first received Bytes. And my Message array gets messed up.
After a lot of testing and playing with the PBP hyperterminal i ended up with this solution:
Code:
  RCREG1= 0
  RCREG1= 0
  Hserin [Str Message\50\13]
It seems it is working perfectly and RCREGx cleared but i would like to know if there is anything else.
There aren't many info about RCREGx in PIC's manual so any information is welcome!