Inconsistent CK_TIM18.. usage in reference manual
In the reference manual STM32H7 (version July 2018) in chapter 37.1 - figure 343 for the clock source it says "CK_TIM18 from RCC".
Problem: If I look for "CK_TIM18" in the complete manual, this name appears ONLY ONE TIME, here in this chapter 37.1 figure 343. This is not very helpful of course.
I appreciate that you have so many clocks in this controller, this really can make sense, but please try to explain it in a way that it is possible to understand this, especially for such important peripherals as timers.
From STM32H743xx.h RCC_APB2ENR definitions I see, that TIM1 and TIM8 are connected to APB2. If I look further into RCC 7.5.8 Figure 45, then there I find a naming "rcc_timy_ker_ck", which seems to be equal to "rcc_pclk2" (but NOT really clear from this drawing). Max. frequency here unfortunately NOT specified. Only I recognize max. hclk frequency of 200MHz, but this before the D2PPRE2 divisor.
If I then look further in the table 55, I find a spec for "TIM[8:1], TIM[17:12]" (this I think should better mean [TIM1-8],[TIM12-17]), there it says "max. 200 MHz". Just this Table 55 seems to have some contradiction, as e. g. USART1 also is connected to APB2, and there it says "max. 100MHz".
As I see it from the RM, it is not really clear whether it is possible to operate the APB2 with 200 MHz or not ... but as in the datasheet 3.29 it says, that all timers may be operated with 200MHz, I assume it is safe to operate APB2 with 200MHz.
... just somehow this should be clearly stated in one of the RCC figures in RM RCC chapter...
I would propose the following updates for Figure 45:
- mark the max. frequency also for all the peripherial busses there clearly.
- If this APB2 frequency is only max. 100MHz, if e. g. USART1 is switchted on, then please also mark this there clearly (maybe using some (*) footnote).
- if possible please somehow, at least in some footnote, make a connection to the "CK_TIM18" name which you use in the timer description (in the Tim2-Tim5/TIM6-7 chapter, you use "TIMxCLK from RCC", in the TIM12-TIM14/TIM15-17 chapter you use "Internal clock CK_INT", inone of these ck names are found the RCC chapter, this is quite messy to my impression...)
Further please avoid to renumber the reference manual. Some "funny guy" from May 2017 to July 2018 must have removed the chapter "5 AXI Interconnect" - I think this was included in chapter 2 now ... so now all numbers in the reference manual changed, this is EXTREMELY annoying for any code documentation ... please avoid this in future, I hope.