Are there any advantages to HSerout over Serout2? I think HSerout is capable of higher baud rates correct?
I am having a problem sending data from a pic16f76 to a PC serial port. I am currently sending the data via Serout2. It seems no matter what the baud rate I can only recieve 8 bytes at a time. The data isn't streaming and it's not going as fast as I'd like. I was going to try to set up Hserout and see if that fiexes the problem. How should the registers be set up? In the PBP manual it has as an example:
DEFINE HSER_TXSTA 24h
DEFINE HSER_RCSTA 90h
But I don't understand this when looking at the data sheet. The numbers don't make sense. HSER_TXSTA is the same as setting the TXSTA register on the pic correct? What does the 'h' mean in '24h'?
Please help. Thanks.
Bookmarks