UART1 problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2009-07-05 9:55 PM
Posted on July 06, 2009 at 06:55
UART1 problem
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:16 AM
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, HEMANTOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:16 AM
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...
