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! STM32F401Re issue with ADC

Hey folks.What I do is this: I get 14 ADC measurements on different channels, than use DMA to store them into an array. When this is ready an interrupt flag is raised, I make a copy of that array and send it via UART. There is a timer to control the ...

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
  • 1036 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...

USB PTP API documentation

Hello,I'm trying to do a proof of concept using the STM32429I-EVAL1, which basically sends a PTP command to a camera. All the USB host library documentation only covers MTP, but there is nothing about PTP. I understand that this board offers out of t...