STM32 MCUs Embedded software

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! ADC DMA continous and FreeRTOS conflict

 Hello,I'm working on a NUCLEO-H743ZI2 Board.I am attempting to record ADC samples on an SD card using a FreeRTOS CMSIS-V1 program. Below are the configurations for my ADC and Timer6:ADC Configuration:Timer6 Configuration, I try to have around a 7500...

POSTstm1.png POSTstm2.png POSTstm3.png POSTstm4.png
jmF by Associate
  • 3 replies
  • 0 kudos

Resolved! HAL and concurrency.

I am wondering if HAL functions have some builtin protection mechanism or if I have to wrap them around a  semaphore/mutex take/give. For example, if two tasks call `HAL_ADC_Start(&hadc1);` or `HAL_UART_Receive_IT`, what will happen? Shall I use a se...

ubaldot by Associate III
  • 1 replies
  • 1 kudos

Get AUTOIP working on lwIP

Hello forum,I'm working in STM32CubeIDE with the STM32F107VCT6 on a custom board which successfully run a TCP Server application using Ethernet communication + FREERTOS + lwIP and I'm struggling in enabling AUTOIP feature.My custom board need to be I...

Spaghetto by Associate III
  • 7 replies
  • 7 kudos

osDelay returns too early

Hello There, I'm working on an app utilizing STM32H7A3 with CMSIS-OS2.I'm facing a problem with osDelay(). Most of the time it returns too early than the actual delay. While HAL_Delay() always works fine.I have debugged osDelay(3500) with oscilloscop...

KAgga.1 by Associate III
  • 13 replies
  • 1 kudos

Resolved! How to get a ADC resolution?

I have the following code that I call from a freertos task scheduled with a period of 100 ms.It reads the voltage applied to a pin and return the voltage value as a float.   float pinin_pv(void) { /* Return the pin voltage in the interval [0, PIN_VOL...

ubaldot by Associate III
  • 6 replies
  • 5 kudos

no FATFS in stm32u59 ?

Hello everyone,I'm currently working with a custom board that utilizes the STM32U599 microcontroller, and I'm attempting to establish communication with an SD card. The IDE I'm using presents the option of FileX alongside ThreadX; however, my applica...