Skip to main content
Mmei
Visitor II
April 17, 2019
Solved

Clock source for USART3/4 IN STM32G070

  • April 17, 2019
  • 2 replies
  • 1147 views

STM32G070. It is said there are 4 USARTS in the datasheet. For USART3/4, there is no place talking about the clock source for them. Would you please tell us what's the clock source for the USART3/4?

This topic has been closed for replies.
Best answer by waclawek.jan

From RM0444, USART block diagram subchapter:

When the dual clock domain feature is disabled, the usart_ker_ck clock is the same as the usart_pclk clock.

(and from the table in USART implementation subchapter, USART3/4 don't have the dual clock domain feature).

In other words, USART3/4 are clocked from the respective APB clock.

JW

2 replies

waclawek.jan
waclawek.janBest answer
Super User
April 17, 2019

From RM0444, USART block diagram subchapter:

When the dual clock domain feature is disabled, the usart_ker_ck clock is the same as the usart_pclk clock.

(and from the table in USART implementation subchapter, USART3/4 don't have the dual clock domain feature).

In other words, USART3/4 are clocked from the respective APB clock.

JW

April 17, 2019

USART3 and USART4 both are clocked from APB clock, You can set the 18th and 19bit bit in the (RCC_APBENR) register to enable the clock for USART3 and USART4.

Hope that help you!

Best of luck!

Muhammad Moiz khan