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

Resolved! ADC measurement error on STM32G030KxTx

I am developing a project to take some measurements with ADC channels, however the values are wrong. When I connect any ADC channel direct to GND, it gives me a value about 60~80 (The ADCs are 12-bit precision) and this error propagates for any readi...

STM32G4 series fastest way to add 32 16bit signed integers

I have the following function to sum 32 16bit signed integers as optimally as I think is possible:int16_t sum32elements2(int16_t vals[]) { uint32_t s1 = __SADD16(*(uint32_t*)&vals[0], *(uint32_t*)&vals[2]); uint32_t s2 = __SADD16(*(uint32_t*)&val...

etheory by Senior II
  • 3569 Views
  • 21 replies
  • 1 kudos

Update ARR value when timer is enable ?

I want to update ARR new value when timer eneble(counter is counting). What can I do to update it quickly without time latency (like setting the UG bit) ? I am using stm32f0.

hazall by Associate III
  • 572 Views
  • 1 replies
  • 0 kudos

How to configure MPU for STM32F429ZI using CUBE MX?

I am currently using the STM32F429ZI. The ARM Cortex M4 CPU contains an MPU, but I am having trouble configuring it from the STM32CUBEMX application. I have seen examples of other MCUs having their MPUs configured from the CUBE MX, but this option do...

CMora.1 by Associate
  • 609 Views
  • 1 replies
  • 0 kudos

control SK9822 2020 LED's via SPI using Registers

HiI need to control some SK9822 2020 RGB LED's.I figured out that with the information on this website I can control them over SPI in transmitt only mode.The Problem I have now is, that I need to do it using Registers and can't use CubeMX for setting...

Lixx by Associate III
  • 1517 Views
  • 3 replies
  • 1 kudos

What is the startup time of PVD?

I want to use the PVD function of my STM32U5(but I think this applies to nearly all STM32s) to detect when my supply voltage goes over(!) a specific threshold. But it might already be there when I enable PVD. Since this means looking for a zero on PV...

OliM by Senior
  • 1017 Views
  • 6 replies
  • 0 kudos

Flash memory size STM32F303RET6

Good morning,I need to create a shared memory space between two applications (Bootloader and Application).I am working with STM32F303RET6 MCU.I want to do this inside flash memory and not SRAM.For that reason I found many examples and codes where fun...

RCesc.1 by Associate II
  • 1757 Views
  • 2 replies
  • 0 kudos

Resolved! Squeezing a higher resolution from U575 DAC

Hello everyone! Sorry for a dumb question - I am a piano major. I want to squeeze extra 2-3 bits of the built in DAC and so I have heard that it was possible to increase a DAC resolution by adding jitter. Could please anyone share a link to some not-...

Skfir by Senior
  • 742 Views
  • 2 replies
  • 0 kudos