Skip to main content
kalpeshpatil102
Associate III
Dec 28, 2016 3:46 AM UTC
Question

How can start and stop ADC function without using HAL library

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   

    This topic has been closed for replies.

    5 replies

    Khouloud GARSI
    ST Employee
    Dec 28, 2016 10:07 AM UTC
    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.

    kalpeshpatil102
    Associate III
    Dec 28, 2016 4:51 PM UTC
    Posted on December 28, 2016 at 16:51

    thank you

    Tesla DeLorean
    Guru
    Dec 28, 2016 4:06 PM UTC
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    kalpeshpatil102
    Associate III
    Dec 29, 2016 1:11 PM UTC
    Posted on December 29, 2016 at 13:11

    thank you . my problem is solved .

    Visitor II
    Apr 28, 2024 1:37 AM UTC

    Hi kalpeshpatil

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