F310 - UART 8bit mode

Hi,

I have been developing in Keil simulator with the last Cygnal driver for keil uVision.

How can i set my UART to 8-bit mode? I tried all possible combinations of SCON0 and all i got was 9-bit mode!!!

Another question that i have is how can i set my baud rate? With the simulator i can set my uart to 8-bit but i can't set my baud rate, i tried a lot of TH1 offsets and i gave always the same baud rate 255208 bds.
With the Cygnal uVision DLL i change my baud rate in mode 9-bit but never the correct one!

Thank you.

Best regards,
Mauro Farracha

Parents Reply Children
No data
More questions in this forum