STM32 gotchas
284. In 'H5, DAC kernel clock must be HCLK or SYSCLK, limiting system performance when ADC is to be used, too

In the 'H5 family, the Invalid DAC output voltage for several DAC kernel clocks erratum (present in all current 'H5 errata, for 'H503, 'H523/533, 'H562/563/573) prescribes, that for DAC, the kernel clock has to be either SYSCLK (the highest frequency in the mcu clock tree, usually output from PLL) or HCLK (AHB bus frequency, identical to SYSCLK or divided down from that clock).

As user ebrombaugh1 pointed out, in 'H5, DAC and ADC share this kernel clock, but ADC's kernel clock limited to a maximum of 125MHz.

This means, that if both DAC and ADC are to be used in a 'H5, its maximum AHB clock frequency is 125MHz (half of the otherwise allowed maximum of 250MHz), significantly limiting the overall system performance.

Above was not the correct conclusion. I was contacted by tinkerer42, who offered the following detailed and concise explanation:

The ADC's *internal* clock ("f_adc_ker_ck") is limited to 125MHz (*really 75MHz, see below), but the ADC's clock *input* ("f_adc_ker_ck_input") is limited to 250MHz (i.e. practically unlimited, since 250MHz is the highest frequency of the MCU). as long as you suitably prescale the 250MHz input with the ADC's clock prescaler, down to a value low enough for the ADC, you're good and the ADC should work fine - no need to reduce HCLK / SYSCLK.

Source of data: STM32H523xx Datasheet, Table 20.: Maximum allowed clock frequencies.

(*) the practical limit of the ADC's clock is actually 75MHz, not 125MHz, see the (3) note on the table near f_adc_ker_ck.

Independently, in the thread cited above, ebrombaugh1 reported the same conclusion.