Thanks Ioannis,
My setup is as follows:
DEFINE HSER_RCSTA 90h
DEFINE HSER_TXSTA 24h
INTCON = 0
DEFINE HSER_CLROERR 1
HSERIN 1000,nodata,[datareceived]
If the RX input pin has held low it would not break out from waiting.
It doesn't make sense why it's not jumping out of the wait state aas the HSERIN is reading the buffer as opposed to serin is bit banging.
Anyway if you state it does break out regardless of the pin state, I'll double check my code again tomorrow morning.
Rob.




Bookmarks