Updates:
Status: Fixed
Comment #4 on issue 151 by robhamerling: Incorrect USART initialisation
with low clockspeed and high baudrate
http://code.google.com/p/jallib/issues/detail?id=151
I decided to go for the second proposal.
- Device files of PICs with BAUDCTL register have gotten an alias BAUDCON
and the individual bits of BAUDCTL a similar alias.
- In the library usart_common.jal BAUDCTL is replaced by BAUDCON.
Tests show this works fine both for PICs with BAUDCON and PICs with BAUDCTL.
Note: The title of this issue doesn't address the real problem! Although
the shortcoming of usart_common.jal became apparent with the combination of
high baudrate and low Fosc, the real problem was that due to different
register namings the use of the Enhanced USART was limited to only the few
PICs listed in comment 1.
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.