Positron internal Serial Baud SFR calculator - not lowest baud error %?

Started by trastikata, Jul 28, 2023, 07:41 PM

Previous topic - Next topic

trastikata

Hello Les,

I don't know how exactly the internal serial baud generator works but I noticed, when I was checking this topic Need some help for 18f25Q10, that it doesn't calculate the combination with the lowest baud error for the selected baud rate.

For example for PIC18f25Q10 8MHz and 57.6k baud the compiler will calculate the combination of BRG16, BRGH and SPBRG having 3.55% error whereas there's a combination having 0.79% error - you can refer to my last post there.

Regards