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

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
  • 2624 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
  • 576 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
  • 1598 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
  • 4737 Views
  • 6 replies
  • 0 kudos

Problem of ADC internal voltage regulator in STM32H743IIT

Hello ,When I debug the ADC1, In function HAL_ADC_Init(), it was blocked in " Enable ADC internal voltage regulator " because of the failure of verification ADC voltage regulator,.Here I attached the original code:if  (HAL_IS_BIT_CLR(hadc->Instance...

CME by Associate II
  • 1228 Views
  • 2 replies
  • 2 kudos

Resolved! How to write good cellular modem driver?

Hi guys,I'm struggling with modem communication on embedded system that does few other tasks in realtime. I'm using TCP stack built in modem (Fibocom G510). This seem to be not complicated, but every time I'm doing it - I'm doing it diffrent way and ...