The baud rate of STM32 is closely related to the serial port peripheral clock. The clock of USART 1 comes from APB2, and the clock of USART 2-5 comes from APB1. In STM32, there is a baud rate register USART_BRR, as follows:
, reversing the numerator and denominator of this expression, we can get the following expression
Previous article:Printf usage of multiple serial ports under STM32
Next article:Learning and experience of STM32 USART serial port
- Popular Resources
- Popular amplifiers
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- If you urinate on a 380V high voltage wire (live electricity), will you be electrocuted? Will urine become a conductor and carry electricity, giving you an electric shock?
- Please help me find the schematic diagram, thank you very much
- msp430f5529 capture plus serial port source code
- How to drive a servo motor using the MSP430G2 LaunchPad development board
- Playing with circuits (3) - Alternative circuits for LM5050/LM5060
- sensortile.box expert mode try
- TMR sensor solution enables ultra-high-precision monitoring of electric vehicle batteries
- I'd like to share a book on compilers and a book on interpreters, both of which have high Douban ratings.
- Mobile 5G device antenna tuning revealed
- How to access the external network through the router when STM32 is plugged into the network cable?