STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Equivalent function in Azure RTOS ThreadX

I want to switch from FreeRTOS to Azure RTOS ThreadX. In FreeRTOS there is the function xQueueSendToBackFromISR() - It is used to write data to the queue from an interrupt service routine. FreeRTOS interrupt provides an interrupt safe version of queu...

MStew.1 by Associate III
  • 1037 Views
  • 1 replies
  • 0 kudos

Resolved! HAL H7xx Library ll_utils.c Warning

stm32h7xx_ll_utils.c throws a warning "no LL_RCC_CalcPLLClockFreq" function at line 930. The function exists in stm32h7xx_ll_rcc.c but has a conditional compile USE_FULL_LL_Driver.Calls to conditional compiles should be under the same conditional con...

REAL TIME CLOCK (RTC) Not working correctly.

Using HAL library set up RTC, but at times SKIPS seconds. WHY?This is the setup:static void MX_RTC_Init(void){ /* USER CODE BEGIN RTC_Init 0 */ /* USER CODE END RTC_Init 0 */ RTC_TimeTypeDef sTime = {0}; RTC_DateTypeDef sDate = {0}; /* USER CODE BEGI...

GSalz.1 by Associate II
  • 2083 Views
  • 4 replies
  • 0 kudos

Resolved! Trace Hook Macros in Azure RTOS ThreadX

Hello,I worked until now with FreeRTOS. And in FreeRTOS there are Trace Hook Macros.Is there an equivalent on Azure RTOS ThreadX?Trace hook macros on FreeRTOS are a very powerful feature that permit you to collect data on how your embedded applicatio...

MStew.1 by Associate III
  • 1357 Views
  • 2 replies
  • 1 kudos

Resolved! HAL_UART functions do not work with Azure RTOS ThreadX

Hello,I followed this guide:https://community.st.com/s/article/how-does-the-threadx-semaphore-workAnd everything works.But when I try to add a modification, a HAL_UART_Transmit - HAL_UART_Transmit(&huart2, (uint8_t *)&message, 1, 10); - in one thread...

MStew.1 by Associate III
  • 2509 Views
  • 6 replies
  • 0 kudos

Resolved! Question about the Azure RTOS ThreadX Semaphore example

Hello,in the Semaphore example(https://community.st.com/s/article/how-does-the-threadx-semaphore-work) there is this step:Open Core\Src \main.c – you can copy and paste the code below, but please notice the" USER CODE BEGIN", to properly place the co...

MStew.1 by Associate III
  • 1476 Views
  • 3 replies
  • 0 kudos