cancel
Showing results for 
Search instead for 
Did you mean: 

PollForConversion function is supposed to convert analog values. But, after conversion I get only few values i.e maximum minimum and mid values. Could anyone help me in this regard.

RPOOJ
Associate
 
1 REPLY 1

Hello @RPOOJ​ 

Thanks for the feedback.

I test it with using STM32F401RETx then i had no problem.

How to reproduce:

----------------------------

  1. Open CubeMX the select board :STM32F401RETx
  2. Select ADC: IN0 ==> * Go to Parameter Setting: Enable Continuous Conversion Mode, *Go to Rank: Sampling Time: 480 Cycles
  3. Activate RCC==> High Speed Clock (HSE): Crystal/Ceramic Resonator0690X00000983L0QAI.png
  4. Generate code
  5. In the main.c file : create a variable to store values from ADC0690X00000983MIQAY.png
  6. Start ADC0690X00000983OEQAY.png
  7. Compile
  8. Download and debug0690X00000983PMQAY.png

Regards,

Nesrine