Tool/software: TI-RTOS
Hello,
I have a question regarding the UART baud-rate on a Sitara AM572x device. The table 24-149 & 24-150 inside the reference manual ‘spruhz6j.pdf’ shows the possible UART settings. My problem is, that I need to communicate with an encoder device, which supports only a baud-rate of 2.5[Mbps]. According to the tables the Sitara seems to support only 1.843[Mbps], 3.0[Mbps] and 3.6884[Mbps].
Carlo once created a post for us, which is slightly connected to this question:
https://e2e.ti.com/support/arm/sitara_arm/f/791/p/697553/2571837#2571837
I applied the formula from Rahul for the baud-rate of 2.5[Mbps] via using the two available oversampling rates 13 & 16, but the results also show me that 2.5[Mbps] may not be possible:
UART divider = Module clk /(overSamplingRate * baudrate)
UART divider = 48,000,000/(13*2,500,000) = 1.477 // Value too far away from an integer value
UART divider = 48,000,000/(16*2,500,000) = 1.2 // Value too far away from an integer value
The clock divider register, that holds just integer values, would create a deviation of the intended baud-rate in both cases.
Is there any chance that we can select 2.5[Mbps] as a UART baud-rate?
Thanks,
Andreas