I am using linux centos and I am using termios.h to configure the serial terminal. I fixed the baudrate as 500000bps to communicate with the target by fixing the values as
options.c_cflag = 18b5
options.ispeed = 1005
options.ospeed = 1005
But the communication is not happening. But its working fine with the baudrate 230400bps. for that the configuration is 18b3 1003 and 1003 respectively...