9 years, 3 months ago.

Using UART with bus clock at high speeds

Can UART interfaces from KL25Z work at a baud rate of 1,382,400, when using the bus clock (24MHz)? To be more specific I'm trying to set-up UART2 to work with a HC-6 bluetooth module, and I want it to work at the best speed it can. Also, is there an error rate calculator for various combinations of baudrates ? I've seen that the datasheet says it works at high baud rates with a maximum error of 4.5%, but I would like more specific data for a diverse range of baud rates.

Question relating to:

1 Answer

9 years, 3 months ago.

The KL25Z wont accurately go much above 128k and I believe does not have a fractional setting capability.

The K20D50M does now have fractional calculations in the Serial API and does work at higher speeds. Not sure what the practical limit is, I have only tried up to 256k.