cancel
Showing results for 
Search instead for 
Did you mean: 

UART1 problem

hemant
Associate II
Posted on July 06, 2009 at 06:55

UART1 problem

2 REPLIES 2
hemant
Associate II
Posted on May 17, 2011 at 13:16

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,

HEMANT

st3
Associate II
Posted on May 17, 2011 at 13:16

I think it is far more likely that your code has a bug (or bugs) that is/are causing the data corruption...