I am trying to use uart communication on Raspberry pi3. it works fine on the baud rates 9600 and 19200. But it is not working on baud rate 10417. Is there any particular reason for that?? What i ave to do for making communication at baud rate 10417.

 

I disabled bluetooth. and enable uart.

My raspberry pi is connected with pic microcontroller

my simple code is

 

import serial,time

roomcontroller=serial.Serial("/dev/ttyAMA0",baudrate=10417,timeout=.05)

roomcontroller.write('1')

time.sleep(.1)

received=roomcontroller.readline()

print received

 

it shows received data for baud rate 9600 but not for 10417