2018-09-13 11:44 PM
STM32F2: (possibly other families like F4 may be affected too - not verified)
Library: STM32Cube_FW_F2_V1.7.0
Component:
ADC Low Level Driver (file stm32f2xx_ll_adc.c)
Affected function: LL_ADC_REG_Init
register CR1 is wrongly initialized with SequencerLength which should be written into SQR1 register only. SequencerLength is additionally written by function LL_ADC_REG_SetSequencerLength in function LL_ADC_REG_Init, which is correct.
Workaround: set sequencer length to LL_ADC_REG_SEQ_SCAN_DISABLE in initialization structure used by function LL_ADC_REG_Init.
Afterward call LL_ADC_REG_SetSequencerLength with the sequencer legnth required by your application.
HAL implementation seems to be correct.
Solved! Go to Solution.
2019-12-10 2:54 AM
Hello,
Please note that the fix is available in the patch 1.24.2 of STM32CubeF4 package (already available on the web).
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2018-09-24 4:05 AM
Hi @Richy ,
Thanks for reporting this issue.
I confirm that it is valid for STM32F4 and I would like to inform you that it is tracked internally to be fixed in coming versions of Cube packages.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2019-12-10 2:54 AM
Hello,
Please note that the fix is available in the patch 1.24.2 of STM32CubeF4 package (already available on the web).
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.