2017-11-05 10:38 AM
Hey folks!
I�m trying to calculate the impedance and current draw of the ADC in an STM32F4 that�s on the Netduino. The data sheet says that the max External Input Impedance is
50K?
, but gives the following equation for calculating the actual impedance:I�ve having a hard time tracking down some of these variables, though. For instance, k is supposed to be the number of sampling periods, but I don�t know where that register is defined. I can�t find it anywhere in the firmware source. However, I have found some of the other things:
Hoping that you folks can help clear up the ADC Clock value based on the other items so I can do the calculation. Or, if there's some other value I need to know, please let me know so I can track it down.
thanks!!
#stm32f4-adc #adc2017-11-14 08:55 PM
Thank you. I'm still trying to track down all the vars to figure out the actual value, but 6k works for now.
2017-11-15 06:15 AM
Check your math. I get RAIN = 11.175 K. Did you use pico = 10 to the minus 12?
Suggestion: go on the Netduino forum and ask what the MCU clock value is.
Hal
2017-11-15 09:11 AM
Darnit. I did not convert pico.
Hal, thanks for all your help here.
MCU Clock is 168MHz.