STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! CMSIS-RTOS2 - I2C read/write

HiI use the HAL library and CMSIS-RTOS2infinite loops should not be used in the thread, but I need to wait, for example, for the packet to be sent via I2C, because I need to write and read right after each other, and if I don't wait for the HAL_I2C_S...

PNova.2 by Associate II
  • 607 Views
  • 2 replies
  • 1 kudos

STMH7 ETH_DMAMR_SWR fails

Hey,i got a specific Problem with the STM32H7 Ethernet, sometimes when performing SET_BIT(heth->Instance->DMAMR, ETH_DMAMR_SWR);   /* Get tick */ tickstart = HAL_GetTick();   /* Wait for software reset */ uint8_t force_reset = 0; while (R...

Resolved! STM32CubeMX FreeRTOS and __weak

Posted on September 13, 2017 at 14:49When enabling the FreeRTOS idle hook STM32CubeMX generates a function with the following prototype in the freertos.c file:__weak void vApplicationIdleHook( void )However __weak isn't defined in any one of the inc...