I fix the problem and it is ok.
Question?How can I reach 38.4k baud
I try DEFINE HSER_BAUD 38400
DEFINE HSER_SPBRG 6
but notning.
My xt is 4Mhz and my pic16f627-04
I fix the problem and it is ok.
Question?How can I reach 38.4k baud
I try DEFINE HSER_BAUD 38400
DEFINE HSER_SPBRG 6
but notning.
My xt is 4Mhz and my pic16f627-04
Unfortunately not every oscillator speed is going to produce the correct bit
timing for all data-rates.
With a 4MHz oscillator the error rate is -6.994% for 38400bps. The datasheet
shows the calculation for finding the right combination.
Bookmarks