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

UART debugging

I setup my custom board with STM32F401RE. I am using the HSI a the moment with configuration shown in the image below. All I am doing is printing some lines using this function on the UART2:#ifdef __GNUC__ /* With GCC, small printf (option LD Linke...

0693W00000JPw2VQAT.png

ADC with DMA doesn't work on F401CC

I want to use ADC for audio conversion. I have an ADC which is triggered by timer with the freq of 8kHz. Then on EXTI the ADC-DMA channel starts. It have to transfer samples to buffer circularly and when half or full transfer complete IRQ appear, the...

IIvan.20 by Associate
  • 1214 Views
  • 3 replies
  • 0 kudos

debugging with external loader

I'm working with an external loader. I choose it from debug config and save my images to the qspi flash. However, everytime I debug my code, do I have to save images to the qspi flash again and again?

Ezgi by Senior
  • 1615 Views
  • 4 replies
  • 0 kudos

Resolved! Why is there so much latency in my interrupt?

I am working with the STM32 Nucleo-64 development board, which has an STM32L476R microcontroller. My SystemCoreClock is 16 MHz and TIM17 is clocked at 4 MHz. To my surprise, the code below only works well (the timer doesn't miss the next interrupt an...

arnold_w by Senior II
  • 8846 Views
  • 22 replies
  • 0 kudos

How to find where RXNEIE is reset to 0

Hello,I'm debuging some legacy code for an STM32L476RG MCU. USART2 is enabled, and used as an UART, with DMA for TX, and one interrupt per received character. I'm using STM32CubeIDE 1.8.0.Each time a character is received, the HAL_UART_RxCpltCallback...

wake up logic on stm32l4

I want to wake up from standby for each transition on a wkup pin. For example, on waking, read the wakup pin and set/reset the bit in pwr_cr4.  (pin high -> bit high, pin low -> bit low).  Is there a race condition ?  The reference manual is vague on...

Geoffrey1 by Associate III
  • 578 Views
  • 0 replies
  • 0 kudos