We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
i tried a lot of TH1 offsets and i gave always the same baud rate 255208 bds probably because your UART clock source is not T1. Do not rely on the Cygnal configure tool, it is good, but not perfect. Vrify the SFR bits generated. Erik