2018-12-30 10:01 AM
ADC channel selection is generated like this:
LL_ADC_REG_SetSequencerChannels(ADC1, LL_ADC_CHANNEL_0);
LL_ADC_REG_SetSequencerChannels(ADC1, LL_ADC_CHANNEL_1);
LL_ADC_REG_SetSequencerChannels(ADC1, LL_ADC_CHANNEL_TEMPSENSOR);
and it is incorrect: there must be a call of LL_ADC_REG_SetSequencerChAdd();
Solved! Go to Solution.
2019-01-02 02:22 AM
Hello @Community memberarasev ,
This issue is fixed, please use the latest version of STM32CubeMX v5.0 and check the call of LL_ADC_REG_SetSequencerChAdd() instead of LL_ADC_REG_SetSequencerChannels.
Kind Regards,
Imen
2018-12-30 11:26 AM
If the HAL and LL source code could be on Github or similar and people could submit their fixes (and their priority depending on their track records) would relieve the community site from bug reports...
2019-01-02 02:22 AM
Hello @Community memberarasev ,
This issue is fixed, please use the latest version of STM32CubeMX v5.0 and check the call of LL_ADC_REG_SetSequencerChAdd() instead of LL_ADC_REG_SetSequencerChannels.
Kind Regards,
Imen