cancel
Showing results for 
Search instead for 
Did you mean: 

How can start and stop ADC function without using HAL library

kalpeshpatil102
Associate III
Posted on December 28, 2016 at 04:46

hi, i working on ADC of stm32f0 by using HAL library . for reading value of ADC i have to start and stop   ADC.

but the adc start function 'HAL_ADC_Start(&hadc);' and stop function'HAL_ADC_Stop(&hadc);'

take execution time. Due to this

execution time delay is generated. So overcome this delay there are any specific

register that can set/reset . so less time for execution.

i am new in stm32f0.

thank you

please help me   

5 REPLIES 5
Khouloud GARSI
Lead II
Posted on December 28, 2016 at 11:07

Hello

Patil.Kalpesh

,

Try to use the LL (Low Layer) drivers instead of HAL.

This could solve your delay issue.

Regards,

Khouloud.

Posted on December 28, 2016 at 17:06

The Reference Manual is where you'd want to look for a complete description of registers and bits, it's important to review to provide some context for what the code does, or can be done.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on December 28, 2016 at 16:51

thank you

Posted on December 29, 2016 at 13:11

thank you . my problem is solved .

Hi kalpeshpatil

Could you tell me how you solved this problem because I'm facing a similar issue?