I want to know that how do we calculate the maximum data transmission speed using k20D50 boards? Do we have any formula to calculate it?
You wil use the PLL output clock, so changing the crystal value will not change anything. You are limited by the maximum clock possible in this part.
Running the core/bus at 50 Mhz (K20D50) with 8Mhz crystal (TWR-FRDM) the maximum UART0, for example, baudrate is 3125000 bauds.
But that is not a practical value for RS485. You need to check the maximum speed allowed in tour RS-485 transceiver and you will need to check the capacitance in the line based on the length of the wires, number of devices connected, etc.
I think you will not have a limitation due to the K20, but due to the RS4-85 bus itself, transceiver, length of the bus and number of devices connected.
Thanks for the reply, I found out the formula for calculating baud rate is
I was wondering that can we increase the core clock by selecting the high external crystal oscillator value? How do we choose the external crystal and what is the maximum limit for external crystal which we can use in K20D50 uc?
thanks and regards,
Retrieving data ...