cancel
Showing results for 
Search instead for 
Did you mean: 

Problem on Stm32cube

askari.nima
Associate II
Posted on January 01, 2016 at 09:11

1 : when enable FreeRTOS , HAL_IncTick() function not attached in  systick_handler automaticly . there is a lot of problem to work HAL library.

2 : in stm32f4 when enable adc ''End of Conversion Selection'' do not have DISABLE option.      
2 REPLIES 2
Posted on January 07, 2016 at 16:21

Hi askari.nima,

1-The issue is already known and reported, you can resolve it by implementing the workaround mentioned in this [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/stm32f4%20usb%20cdc%20problem&currentviews=28]post.

2-There is no ''DISABLED'' option that should be added for ''end of conversion''.

-Shahrzad-

stm32cube-t
Senior III
Posted on January 25, 2016 at 19:21

For configurations using freeRTOS, the user shall systematically change the default HAL time-base (systick) to an hardware time-base.

HAL time base relative functions are weak to allow the user to select another hardware time-base.

In next CubeMX 4.13 version, under the SYS peripheral, it will be possible to select a different timing source for the HAL (tim1, tim2, rtc,...) and automatically generate the functions overloading the weak HAL time base relative functions.

This way, RTOS and HAL time-base will be completely disassociated.

Note also, that user code placed in the HAL user callbacks should use safe FreeRTOS APIs only.