2017-06-01 04:47 AM
Hi,
I'm using STM32CubeMX (STM32Cube_FW_F3_V1.8.0) to generate ADC HAL code for my custom board based on STM32F303VB.
I see that ADC HAL is not implemented. Only API is given
Is it available in new releases (if any) ?
Is there any ETA on when the complete HAL will be available for ADC?.
Any inputs will be of help.
Regards, Pj
#hal #adc #stm32cubemxSolved! Go to Solution.
2017-06-01 07:48 AM
Hi
J.Prasant
,Can I useLL for ADC while use HAL for other peripherals (CAN, GPIO, Timers) in the same project? Will they coexist happily in one project?
-> Yes, you can use LL and HAL drivers in the same project.
There is an ADC example using
HAL & LL API under the path below:
STM32Cube_FW_F3_V1.8.0\Projects\STM32F334R8-Nucleo\Examples_MIX\ADC
You may take it as a reference if you will use the two APIs.
Khouloud.
2017-06-01 05:09 AM
Hi
J.Prasant
,I'm not sure if I have correctly understood your question;but the 'stm32f3xx_hal_adc.c' file is found under the path below:
STM32Cube_FW_F3_V1.8.0\Drivers\STM32F3xx_HAL_Driver\Src
Khouloud.
2017-06-01 07:33 AM
Hi
garsi.khouloud
,Yes the adc.c file as you mentioned is there..what I wanted to say that it is blank...
All the functions are marked as __weak and the functions are empty.Can I useLL for ADC while use HAL for other peripherals (CAN, GPIO, Timers) in the same project? Will they coexist happily in one project?
Regards, Pj
2017-06-01 07:48 AM
Hi
J.Prasant
,Can I useLL for ADC while use HAL for other peripherals (CAN, GPIO, Timers) in the same project? Will they coexist happily in one project?
-> Yes, you can use LL and HAL drivers in the same project.
There is an ADC example using
HAL & LL API under the path below:
STM32Cube_FW_F3_V1.8.0\Projects\STM32F334R8-Nucleo\Examples_MIX\ADC
You may take it as a reference if you will use the two APIs.
Khouloud.
2017-06-01 08:12 AM
Hi
garsi.khouloud
,Thanks for pointing that out..
Back to school for me for overlooking this..
Regards, Pj