STM32F072 Clock tree section shows how to select clock for USARTS 1-3, but not USART4. Were in the reference manual (RM0091 Rev 10) does it show how to select the clock source for USART4?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-01 7:28 PM
The USART section states that all 4 USARTs can be clocked from a common set of 4 clock sources, but doesn't reference how to specify the clock for USART4 either.
Solved! Go to Solution.
- Labels:
-
STM32F0 Series
-
UART-USART
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-01 11:27 PM
USART4 does not have a dedicated clock source switch in RCC_CFGR3, so that means that it runs always out of the APB clock (=PCLK).
Note, that RCC_CFGR3.USART3SW is available only for 'F091, so on 'F072 USART3 runs only out of the APB clock too.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-01 11:27 PM
USART4 does not have a dedicated clock source switch in RCC_CFGR3, so that means that it runs always out of the APB clock (=PCLK).
Note, that RCC_CFGR3.USART3SW is available only for 'F091, so on 'F072 USART3 runs only out of the APB clock too.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-02 5:14 AM
Thanks so much for the quick answers, and the helpful hint about the USART3 clock source. I had missed that note about it only applying to F09x devices!
