2010-03-19 01:11 PM
USART in sycnchronous mode - uart in general problem possibly
2011-05-17 04:44 AM
You know how right after you click on 'send' you realize your mistake? Is it just me? You are right Clive. Right after I posted my question I had a suspicion. Yep. lowering the baud rate fixes the issue. I'm a little bummed that such a fast processor has such a limited speed but I'll just have to deal with it.
Even though I solved it myself I'll still give you the point for posting first. ;)2011-05-17 04:44 AM
Try a lower speed, UART1 is rated for 4.5Mbaud, UART2/3 are rated for 2.25Mbaud, based on 72/36 MHz clocks on the peripheral buses respectively.
Try enabling both sides of the UART USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx; -Clive2011-05-17 04:44 AM
Easy :) Not only you.
Btw. USART uses 16x oversampling of incoming data (and samples 7th, 8th and 9th sample to get the noise flag), that's why it must divide the PCLK2 clock by 16 first.