2015-03-16 10:05 PM
currently in my design, I have two STM32 micro communicate with USART at Baud rate of 115.2k, the trace length is around 1.5inch.
STM32F205 use HSE, external crystal resonator of 50PPM tolerance, STM32F030 use HSE, external Murata ceramic resonator(0.5% tolerance, 0.2% temperature coefficient, 0.1% aging). these two micro in same board, and share same VDD/VSS. Does tolerance of STM32F030 ceramic resonator can meet the 115.2k bps USART communication ? or what is the tolerance requirement for external clock for USART communication? Thanks. #usart-brg-jitter2015-03-18 05:26 AM
The 0.5% tolerance isn't good, you will see some jitter in the signal. You can try it but I'd suggest making sure there's a gap of two or more bit times between individual bytes (use USART TC status to make sure a byte is completely shifted out before sending the next byte top the transmitter). That gives the USART receiver time to sync to the next start bit and not detect an overrun or framing error. You might also try using two stop bits to add an inter-character gap.
You may still have to drop the baud rate if there's too much variation from the resonator. Jack Peacock2015-03-20 02:37 AM