Tool/software:
Hello Team,
We are using AM62X processor for our project development. As per TRM we can use baud rate from 0.3 kbps to 3.6884 Mbps.
Default Baud rate for UART setting is 115200, We want to change it to higher baud rate.
but as per TRM section 12.2.4.4.8.1.2 the baud rate examples go directly from 1.843 Mbps to 3.0 Mbps.
there is no intermediate value like 2Mbps or 2.5Mbps.
let us know how to set standard baud rate 2000000 or 2500000 to UART2.
We are using IOCTLS to set baud rate.
"ioctl(fd, FIOBAUDRATE, B3000000)"
Observation: IOCTL returns success, however with this IOCTL only Read is success but failed for write.
let me know using IOCTL is the correct way or not?
if there is any other way like changing in DTSI file please guide us.