2018-11-22 06:31 PM
Dear STM32 Members,
I try to sample 200Hz
and I need sampling time 500uS
I used to code from :
\STM32Cube_FW_L0_V1.11.0\Projects\NUCLEO-L011K4\Examples\ADC\ADC_LowPower
My STM32L011K Nucleo setting:
CPU Clock =2MHz
ADC Clock = 2MHz
Timer = 30 kHz
AdcHandle.Init.SamplingTime = ADC_SAMPLETIME_12CYCLES_5; == 6.25 uS
Is that sampling time fast enough ?
I have an array for it, how can I display it ?
Thanks guys.
2018-11-22 07:21 PM
It would give you 150 sample points per 200 Hz cycle.
Send the array to a PC, via serial, or your preferred mode of connectivity, and plot them in an app of you choice/creation.