Help Understanding/Navigating STM32H7 RM, DS, and ADC Getting started
Hello,
I am working with:
- NUCLEO-H745ZI-Q => STM32H745ZI-QZIT6U => 144-LQFP
- RM0399 Rev 4
- DS12923 Rev 2
- AN 5354 (Getting started with the STM32H7 Series MCU 16-bit ADC)
According to DS12923 Rev Table 96 note 3 is that Table 96 values:
"These values are valid for UFBGA176+25 and one ADC. Refer to Getting started with the STM32H7 Series MCU 16-bit ADC (AN5354) for values of other packages and multiple ADCs operation.
but:
According to AN5354 Tables, 14, 15 and 18 LQFP144 Direct and Fast Channels at 16 bit resolution have max data rates of 1.2, 1, 0.7, MSps for single, dual and triple ADC respectively. No mention of Slow Channel max data rates? I am currently using slow channels since fast/direct channels are limited.
According to RM0399 Rev 4 section 26.4.13 the sampling time values may be selected as SMP=N*ADC clock cycles. If I attempt the "arithmetic", unless I am not following something correctly of course, I cannot seem to back out the values of Table 96 DS12923 Rev 2. For example:
fADC=10MHz SMP=1.5 Max MSps = 1. How?
Table 12 suggest that for LQFP144 Maximum ADC frequency is 12MHz. So I am trying to calculate allowable sample time i.e. SMP= N*ADC but I cannot seem to sanity check my values even with the given values of the STM provided table.
I have been learning about the ADC and I believe I am overrunning the ADC because I have the wrong clock and SMP set. I also think I accidentally stumbled on AUTDLY which is making things "work". Please consider seeing my schizophrenic post where this all started.
