cancel
Showing results for 
Search instead for 
Did you mean: 

how can we verify the rtos compliance of the HAL drivers ?

Shrikant Lahane
Associate II
Posted on February 04, 2018 at 05:59

oliverbeirne

‌

How to verify that HAL drivers use atomic read modify write operations for multiple instance support? 

Do the low-level code call STREX LDREX instructions?

Does the time-out mechanism used to follow the rules of RTOS, for instance, will the timeout mechanism in the APIs of HAL drivers cause the calling task to enter a blocked state until the timeout period expires?  

Note: Above question is in reference to the document 

UM1725 User manual Description of STM32F4 HAL and LL drivers

Please explain and if possible give the references to the standard documents.

Thank you

Best regards

#rtos #stm32f4-hal-driver #stm32-free-rtos
10 REPLIES 10
Posted on February 05, 2018 at 19:50

The 'CMSIS' layer provides protable names for these things such as osDelay.   HAL_delay (or LL_delay) is something specific...

-- pa