It's just too bad that there's no OSCCAL or OSCTUNE on that one 
Serial com=crystal
OR manually set the USART SPBRG value and find the one that work
not something i would use...
Code:
DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
DEFINE HSER_TXSTA 20h ' Enable transmit, BRGH = 0
DEFINE HSER_SPBRG 25 ' 2400 Baud @ 4MHz, 0.17%
DEFINE HSER_CLROERR 1 ' Clear overflow automatically
Pause 500
Start:
FOR SPBRG=15 to 30
HSEROUT ["SPBRG=",#SPBRG]
PAUSE 250
NEXT
GOTO Start
you may try to use the same method but with SEROUT2.
Good luck!
PS: Use Microcode Studio serial communicator (F4), easier ....
Last edited by mister_e; - 15th April 2007 at 23:45.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks