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

STOP mode and DWT

Hello everyone,stm32l series MCU going in STOP mode and dwt has been enabled before, RTC wake it up with 20 seconds. Callback is called with 20 seconds and always dw_val increments with 2 sec. What is going on the backgorund. Normally as much as I go...

Zek_De by Senior
  • 492 Views
  • 0 replies
  • 0 kudos

How to detect that console have just connected to HAL UART?

I need my code called when something connects to the HAL UART.I have a simple mini-debug that just prints something to the UART and I see it on a console connected to the STM debug COM port. I noticed that the HAL_UART_Transmit() always returns HAL_O...

HTD by Senior III
  • 2607 Views
  • 2 replies
  • 0 kudos

ADC time spends

Hi All.I am building a function using ADC with DMA.what i did in the while loop is just toggling a GPIO Pin.but it seems that the while loop will be interrupted when ADC is triggered.does it means that when ADC is triggered, while loop will be stoppe...

0693W00000Nqga7QAB.png
XZhen.2 by Associate II
  • 573 Views
  • 1 replies
  • 0 kudos

Resolved! USART line low

Hello, I'm working with an STM32G05, on a very simple custom board. I expose both USARTs to external headers.USART1 seems to be operating fine - in that I can send/receive data.However, USART2 is not.When I inspected the TX line I discovered it was l...

changing TIM1 Dead-time generator setup continuously

HI,I want to change tim1 Dead-time generator setup continuously between 10 -120first time I set Dead-time with cube mx and it worked correctly sBreakDeadTimeConfig.OffStateRunMode = TIM_OSSR_DISABLE; sBreakDeadTimeConfig.OffStateIDLEMode = TIM_OSS...

alireza by Associate
  • 1589 Views
  • 2 replies
  • 0 kudos

Resolved! Timer Interrupt on overflow only

I am capturing an RC PPM signal using an advanced timer with DMA. But now, I want to implement a failsafe in case of a lost connection using only hardware. The closest I got so far is using a separate timer (with pins connected externally) in reset m...

Mosco by Associate II
  • 4698 Views
  • 6 replies
  • 0 kudos