@archana-kadam I looke dagain at you request. What I cannot understand is, why you do not simple set the respberry Pi to 115200 baud.
Besides that, you can free UART0 from the REPL and reconfigure it to any speed you like, e.g. for 9600 baud:
import uos
from machine import UART
uos.dupterm(None)
uart0 = UART(0, 9600)
Be aware, that after the "uos.dupterm(None)", the REPL and print etc. is on telnet only.