2009-07-05 09:55 PM
UART1 problem
2011-05-17 04:16 AM
I am using STM32F103ZET6 in my project.
I am facing the problem with UART1, which seems to work if it is the only peripheral used in the system, i.e. as per the sample code for the UART. In my project, when i try to send the data to PC just after power on, it sends correctly. But after i start other peripheral like ADC, DAC, Timers,DMA , then it sends the data, but incorrect (shows unreadable characters on the hyper terminal). I have tried in polled & interrupt mode, @ different baud rates (9600 to 57600), and tried changing the PC, but i does not seem to work. I had some info from the ST's web site stating that the Revision Z is having problem with compilers and is discomtinued, and Revision Y is the version to be used. I wonder this behaviour of the USRT is due to the fact that revision Z is used? Can some one help me solve the problem. Regards, HEMANT2011-05-17 04:16 AM
I think it is far more likely that your code has a bug (or bugs) that is/are causing the data corruption...