STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32U5 SIMD usage (or any other trick to speedup math)

Hello,In my application i need to run double for loop for data inside SRAM. and I would love to speed up my program as much as possible.uint32_t xs = 0, yx = 0, sum =0, i = 0;for(uint32_t x = 0 ; x<600 ; x++){    for(uint32_t y = 0 ; y<600 ; y++)    ...

Linas L by Senior II
  • 1059 Views
  • 2 replies
  • 0 kudos

What if corruption of STM32 option bytes is detected?

Dear experts, A question in relation to OB behavior discussed this thread: https://community.st.com/t5/stm32-mcus-embedded-software/stm32-is-getting-stuck-frozen-and-enables-read-out-protection-at/td-p/615228Is there documentation or App note that ex...

Pavel A. by Evangelist III
  • 1234 Views
  • 2 replies
  • 1 kudos

STM32L471RGT6 ADC Calibration

Hi , Is there an automatic calibration routine for the STM32L471RGT6 ADC? If there isn't can someone point me to example code on how to read the internal reference (or some other approach) so I can write code to perform calibration. Thank you very mu...

rwils.1 by Associate III
  • 2751 Views
  • 12 replies
  • 0 kudos

Internal Temperature STM32H7 delivers wrong value

I read the messages in here about wrong temperature values including code examples, but still getting wrong values:I need to measure the internal CPU temperature sensor from the STM32H743XIH6. I activated the ADC3 using STM32CUBEMX (V. 6.9.2) and sel...

Roni by Associate II
  • 2132 Views
  • 6 replies
  • 2 kudos

STM32H7 Dual Core, GPIO is not set after power reset

Hello,I am experimenting on the STM32H45 Discovery Board (Dual Core) to use some GPIOs from different Core-Context.I initialized few Pins only for the CM7 and few dedicated pins only for the CM4. When I perform a debug session, all the mentioned pin...

Floki.1 by Associate II
  • 944 Views
  • 3 replies
  • 0 kudos

Timer_PWM

Hi people,I am looking for a help pleaseI am working on a boosting up a voltage and works in a closed control if it exceeds the Max_UC_volt the duty cycle should vary..void run_ucboost(void) { uint16_t mainsfail=1; uint16_t uctimer = 0; uint16_t ...

meena by Associate III
  • 2492 Views
  • 8 replies
  • 0 kudos

GPDMA with ADC with multiple channels

Hi,I am trying to setup GPDMA with ADC with multiple channels on the Nucleo-H563ZI. The DMA should fill a buffer of the length of number of channels in a circular fashion, such that one entry in the buffer array always contains data of the same ADC c...

JuliaK by Associate II
  • 2979 Views
  • 7 replies
  • 1 kudos

Resolved! FreeRTOS xTaskGetTickCount() erroneously skips ahead

xTaskGetTickCount() erroneously skips ahead after every 65536 ticks. So when calculating timing using values returned by xTaskGetTickCount(), there are problems! vTaskDelay() has no problems. The problem is with xTaskGetTickCount()... For example:Cod...

asvatik by Associate
  • 1702 Views
  • 2 replies
  • 1 kudos

Boot in dualcore micro

Hello everyone,I'm seeking guidance on creating a custom dual-core boot using only an external flash.Previously, I managed to accomplish this for a single-core microcontroller, with the bootloader residing in the internal flash while other code (main...

GMene.785 by Associate II
  • 1439 Views
  • 3 replies
  • 2 kudos