2020-06-16, 13:50:37
Hi
Now i can able to make uart OK with 9600 baud rate
I changed only the formula of baud rate
ifndef USE_BRG16
#define UBRG (((OSCF / BAUDRATE) / 64) - 1)
else
#define UBRG ( (((OSCF / BAUDRATE) / 8) - 1) / 2 ) ;baudrate
endif
Thanks
R Sridhar
Now i can able to make uart OK with 9600 baud rate
I changed only the formula of baud rate
ifndef USE_BRG16
#define UBRG (((OSCF / BAUDRATE) / 64) - 1)
else
#define UBRG ( (((OSCF / BAUDRATE) / 8) - 1) / 2 ) ;baudrate
endif
Thanks
R Sridhar