STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Is there a HAL_ADC_Stop_DMA() alternative to be able to start second transfer using HAL_ADC_Start_DMA() for single conversion?

Using a STM32F413 and ADC HAL drivers.After a successfully completed single conversion initiated by HAL_ADC_Start_DMA() one apparently needs to call HAL_ADC_Stop_DMA() in order for next HAL_ADC_Start_DMA() to actually start a new transfer. There are ...

PÖste.1 by Associate II
  • 1881 Views
  • 3 replies
  • 0 kudos

Resolved! ADC gets stuck after doing a HAL_Delay

In the while loop I have this:HAL_ADC_PollForConversion(&hadc1, 1000); adcValue = HAL_ADC_GetValue(&hadc1);The ADC works okay until I execute this line, which is inside a function:HAL_GPIO_WritePin(GPIOB, GPIO_PIN_7, GPIO_PIN_SET); HAL_Delay(3000); c...

xpp07 by Senior
  • 1727 Views
  • 9 replies
  • 0 kudos

Resolved! Automatically set DBGMCU when debugging starts.

I am debugging my software on STM32L452CCU6 and it is mostly in sleep mode. By default, this disables clocks to the debug port, and the debugger (using STMCube) prints out the message "Target is not responding, retrying...". After a couple of times, ...

PWint by Associate III
  • 2873 Views
  • 10 replies
  • 0 kudos

Project/Application with drivers updated

Good morning,I have an application based on the STM32L4 device. When I started working on this application (I use Keil) I used Cube in order to setup the device according to my application. Please, look at attached picture where drivers folder in Kei...

0690X00000BviclQAB.jpg

Building a static library with debug symbols for Cortex-M7

Hi community,We are generating a static library for our Cortex-M7 (STM32H743VI), using the following command:arm-none-eabi-ar rcs libtf.a $(OBJS)How to generate the debug symbols ? (so we can debug the library files while using it in the main applica...

VBrem.1 by Associate
  • 469 Views
  • 1 replies
  • 0 kudos

Resolved! Get single JSON message sent over Serial.

Hi, This may be an easy thing to answer, but I haven't had much experience. I have a JSON message that I'm sending down to my F446RE board.I am using the HAL_UART_RxCpltCallback function, this works great, however, for this to work I need to know the...

CLH by Associate II
  • 1156 Views
  • 3 replies
  • 0 kudos

Reset generator for stm32

Hi,I have a flash corruption trouble with stm32f103 mcu. While i was reading topics, i have found that a reset generator must be used on system for avoiding flash data corruptions. My device has lots of parameters on stm32 flash, sometimes those data...

er3481 by Senior
  • 930 Views
  • 6 replies
  • 0 kudos