July 5, 2017

STM32F103C8T6 -- timers and uarts

The STM32F103 has 3 uarts. They all seem to be equally useful and I have used them at baud rates up to 115200 and they will certainly go higher. UART1 is on the fast peripheral bus and may get a faster clock, but it all seems to work out the same once you get the baud rate set.

Timers

The STM32F103 has 4 timers. Each timer has 4 channels. Some diagrams label these as "PWM" channels, which they certainly can be. They are quite versatile.

Timer 1 is "special" and is called an "advanced control timer" in the datasheets.
Timers 2,3,4 are called "general purpose timers".


Feedback? Questions? Drop me a line!

Tom's Computer Info / [email protected]