2018-04-22 11:00 AM
Hey guys,
I am new to STM32 MCUs and i am looking for the maximum possible baud rate in synchronous USART mode for the STM32F031F4. For asynchronous mode this is clearly noted in the manual. For the synchronous mode, however, not. It is only mentioned, that the setup and hold time should be respected, which is 1/16 Bit time.. which i don't really get what that is. Can somebody explain to me what this means?
The manual is
and the 1/16 Bit time is mentioned on page 715.
Thanks in advance!
2018-04-22 02:27 PM
The maximum baudrate is the same as for the asynchronous mode. In fact, the synchronous mode *is the same* as asynchronous, except that clock is output and that the Rx'd bit is clocked in by that same clock.
Setup and hold times are important only for Rx and they mean, that the Rx signal should not change during the period of 1/16 of bit time before to 1/16 of bit time after the active clock edge.
https://community.st.com/community/stm32-community/blog/2018/03/03/using-usart-instead-of-spi
is a writeup which may or may not be interesting for you.JW
2018-04-23 12:02 AM
Thanks for the quick reply!
A pitty, i was hoping that for the syncronous mode, the maximum possible baud rate is higher than in asynchronous mode. This is at least the case for Atmel MCUs and also would make sense since a sampling of the data line is not necessary with a seperate clock line given...
Anyway, thank you very much!