2019-06-02 05:28 PM
I posted the list below as a reply in: https://community.st.com/s/question/0D50X0000A7WOCGSQ4/where-can-i-find-the-adc-input-impedance-of-stm32h743-in-differential-and-singleended-configurations
but the thread seems buried and I think these items should be addressed.
Bumping this up because the current situation has some serious problems.
Issue #1: BOOST bit definition missing in ADC_CR
From reading stm32h743xx.h, bit 9 of ADC_CR should be BOOST1 and bit 8 should be BOOST0
Issue #2: Radc not specified in data sheet
Issue #3: Very convoluted to determine how to drive and configure ADC slow channels
Table 185 calls out the minimum sampling time for a few source impedances (RAIN). Since this is sampling time, this should correspond to tS. However, none of the RAIN values in Table 185 match the RAIN values in Table 184 on the top of page 279!
Looking at the fs data for the direct and fast channels in Table 184 on page 278, I am able to confirm that fs is defined calculated as: fs = fADC / tCONV
This says that for a 14 bit conversion, with an fADC of 36MHz, the sampling time has to be 1us - (0.5 + 14/2)/36MHz = 792ns. Since fADC is 36MHz, this is 28.5 clock cycles. From the reference manual, ADC_SMPR1, the closest sample time selection is 32.5 clock cycles. If I look up 792 ohms for RAIN in Table 185 of the datasheet, there is no entry for 14 bits.
If we used an fADC of 10MHz, the sampling time has to be 1us - (0.5 +14/2)/36MHz = 250ns. Since fADC is 10MHz, this is 2.5 clock cycles. From the reference manual, ADC_SMPR1, this matches one of the sample time selection values. So, maybe this works?