SW_TX_UART uses software to simulate UART Tx(Not RX). There is no requirement to sample transmitted data from outside and it uses GPIO Write to send data out. So Over Sampling is not used in SW_TX_UART.
In case of SW_TX_UART for IMO 24MHz, as per its datasheet, the error could be:
Assume baud rate is set as 115200,
Divider can be calculated out: (int)(24000000+(115200/2))/115200 = (int)208.
So, actual baud rate could be: 24000000/208 = 115384.6 +/- 2%. The result is similar with the second table(Over Sampling = 16) you showed in the thread.
1 of 1 people found this helpful
If you are using the WCO in your system, you could use it to trim the IMO, which might drop the accuracy of the IMO from 2% to 0.2%.