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

F429 I2C bug

Hi, i'm using stm32f429 to develop i2c communication, the mcu cannot generate START signal after running a few minutes but the SDA and SCL all high, I add the CR1 register to watch and find the CR1 cannot be modified after calling the bellowing: ​br...

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
  • 519 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
  • 2716 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
  • 598 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
  • 1674 Views
  • 2 replies
  • 0 kudos