cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMx Bug in Stm32F0 ADC HAL

YL
Associate II
Posted on November 30, 2015 at 12:57

CubeMx generates stm32f0xx_hal_adc_ex.h

In that file in the implementation of macro ADC_CHANNEL_INTERNAL_PATH

the returned value is either ADC_CCR_TSEN or ADC_CHANNEL_VREFINT.

The second is probably wrong and should be ADC_CCR_VREFEN.

#bug #stm32f0 #adc-hal
1 REPLY 1
Nesrine M_O
Lead II
Posted on November 30, 2015 at 13:45

Hi ladyzhenskyy.yur.001,

Thanks for highlighting this issue. It is a known bug, but the fix has not yet been released on the web. It will be available in one of coming releases of the STM32cubeF0 package.

Check this [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/STM32Cube_FW_F0_V1.3.0%20BUG%20reportfix&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&currentviews=9]thread.

-Syrine-