Hello,
In my design, I came across an issue with the Uart configuration : it seems to have different speeds between multiple devices with the same configuration.
On some of my products, I have a better result with uart with the following configuration :
{ .outputBaudrate = 9600, .inputClockFreq = 32768, .prescalar = 3, .hwRegUCBRFx = 0, .hwRegUCBRSx = 4, .oversampling = 0 },
and on other devices, lowest error rate is obtained with this configuration :
{ .outputBaudrate = 9600, .inputClockFreq = 32768, .prescalar = 3, .hwRegUCBRFx = 0, .hwRegUCBRSx = 3, .oversampling = 0 }
What I would like to do is to be able to open the uart with either one of those configurations, how can I select a baud rate when I open the Uart ?
Thanks for your help !
Clement