Seems to me that the internal baud rate generator is detecting a error to big for the selected baud rate (aka big deviation) of your serial configuration.

Try yo lower (or rise) the baud rate of the serial interface, that until you find a setting that make the PIC happy. if the "happy" baud rate is a "no-go" for your application then think in using other crystal, may be 20 Mhz... ;-)

73 de Pavel, CO7WT

El 16/06/13 18:06, [email protected] escribió:
Hello,
I have a PIC 16F977 with a 10 Mhz crystal.  I am trying to compile the
sample file "16f877_serial_hardware.jal".  It compiles fine if I leave
the target clock speed set at 20_000_000.  But when I change it to
10_000_000 (since I am using a 10 Mhz crystal) the compiler gives me the
following error:

Compilation started at :6/16/2013 4:05:30 PM
jal 2.4o (compiled May  8 2011)
[Error] (lib/usart_common.jal) [Line 95]  "asynchronous baudrate
deviation is too large"
Compiler CommandLine:  C:\PROGRA~2\JALPack\compiler\jalv2.exe
"C:\Program Files (x86)\JALPack\sample\16F\16f877_serial_hardware.jal"
-s "C:\PROGRA~2\JALPack\lib" -no-variable-reuse

Errors :1       Warnings :0

Can somebody tell me what to do about this?  I don't have any 20 Mhz
crystals on hand and won't be able to get one for awhile.

Thanks,
Shawn

--
You received this message because you are subscribed to the Google
Groups "jallib" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/groups/opt_out.



--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to