I'm sorry, i still can't get what you need as you said, "i have a question regarding the possible convert of the baud rate."
Do you .... :
a. You have recorded data with 19200 and now you want to transmit it with 9600.
b. You have saved data with wrong baud rate, and now you want to convert it to get the correct value.
c. .....(please explain it clearly)
the answers:
a. no problem. You can do that.
b. you have lost your data. Incoming data = 9600 bps but receiver is configured as 19200 bps. At a glance, we will think every bit will be recorded twice, so there is no data lost. we will think : 0101 1011 will be recorded 0011 0011 and 1100 1111, so just convert it.
But, on every data frame contains 10-bit, Start bit, 8 bit data, stop bit.
So the start bit of first frame will be supposed and saved as data and any next bits will be supposed as stop bit and start bit of second frame.
If incoming data = 19200 and receiver is configured as 9600 bps, the saved data maybe only contains odd or even bit of each real data and the last 4 bit are missing.
c. ....