Hi People,
I've been some problems with HSEROUT. I have a 16F628 receiving a string from PC via RS485 half-duplex (using HSERIN without problems).
When a PIC receive the string, it has to send another string to PC like this:
A00000000000000F,
But always its missing the last 2 bytes (0F). If I remove 2 bytes from the string, the problem still occurs...
May I have to clear some register associated with the USART before use HSEROUT or only when using HSERIN?
I have read the datashet lots, melabs achive and I dont know what is happening....
Any tip will be usefull...
Thanks,
Sérgio
Bookmarks