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

SystemClock_Config() runs over and over

Im using a STM32L412, I've made the config in STMcube but when I run the program (no main code, just the setup routine) it never reaches the main loop. By placing breakpoints I have deduced that  SystemClock_Config(); runs over and over again. It see...

deep_rune by Associate III
  • 1334 Views
  • 3 replies
  • 0 kudos

Flash erase is unreliable on STM32H743 (Code Provided)

Hello All,I am working with an STM32H743 and am having issues reliably erasing flash (unreliable in that it fails ~95% of the time). The code which erases flash runs from RAM (functions are allocated in RAM). I disable many of the interrupts before e...

0693W00000KaJoHQAV.png
AAgar.2 by Associate III
  • 4520 Views
  • 11 replies
  • 0 kudos

Why does the execution time of STM32F767ZIT6 (used in NUCLEO-F767ZI) not grow as expected when the amount of code to execute increases?

I measure the execution time of a function by putting the toggle of a digital output and the function call into a cycle and measuring the period of the square wave at the digital output with an oscilloscope. The execution time is half a period. To te...

Silvano by Associate II
  • 6826 Views
  • 26 replies
  • 0 kudos

Sram 10 megabytes

Hello... Tell me, is it possible that microcontrollers with sram 10 megabytes and more will appear soon?

MTS by Associate II
  • 1196 Views
  • 6 replies
  • 0 kudos

We want to use 12 PWM synchronous signals. It means, all PWM shares the same clock cycle and runs at the same time without making any clock cycle delay using HRTIM and TIM1 timers.

We want to use 10 PWM from HRTIM, 2 PWM from TIM1. However, we don't know how to synchronize these two timers. We can synchronize all PWM signals of HRTIM but could not do it with TIM1. We need one master clock and others (12 channels) as slaves. Ple...

IHoss.2 by Associate
  • 941 Views
  • 2 replies
  • 0 kudos

Resolved! Cannot get valid values using ADC1 channel 11 on PC1

Hello,I'm using a Nucleo board (NUCLEO-G070RB) with STM32F103RB MCU and I try to use channel 11 of ADC1 mapped to PC1 to get values from a humidity sensor. I noticed that the values are invalid and it's not because of the sensor. I created a sample a...

zamlox by Associate II
  • 1846 Views
  • 5 replies
  • 0 kudos

Resolved! FIFO Error on DMA with SPI_TX (STM32F411E-DISCO)

Hello Everyone, I am trying to transmit data using DMA with SPI1 but each time I end up with a FIFO Error.. I 'm using Direct mode, MINC = 1, PINC = 0, DMA2, STREAM3, CHANNEL 3 For SPI_TX. I'm trying to send "Hello, World!!" But each time the FEIF3 i...

0693W00000KadWDQAZ.png

STM32F103RET6 - Not work callback - HAL_CAN_RxCpltCallback.

Hello. I have project from 2 years ago. During testing, a problem was discovered when sending commands from the master device to the slave device through the CAN. For some reason don't call callback - HAL_CAN_RxCpltCallback (there I analyze the incom...

TViT by Associate
  • 496 Views
  • 0 replies
  • 0 kudos