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

ADC STM32f0xx Hi everyone, I want to turn on LEDs whith a Potentiometer an ADC in STM32f091RC nucleo Board. I wrote this code, but it doesn't work. I am a beginner and I do not know where I have mistakes. I would be grateful if someone please help me.

#include <stdio.h> #include "diag/Trace.h" #include "stm32f0xx.h" #include "stm32f0xx_conf.h" #include "pin.h" #include "adc.h"   int main(int argc, char* argv[]) {   //(#) ADC pins (pA1) configuration --------------------------------------------...

Nmo.1 by Associate III
  • 2869 Views
  • 16 replies
  • 0 kudos

How to make multiplications faster in STM32G series

Hi,when I took two variables and perform a multiplication between them with the STM32CubeIDE, the multiplication itself its made automatically with the multiplier module in the fastest way or there is something I need to do/configure to make it faste...

DKuro.1 by Associate III
  • 4287 Views
  • 13 replies
  • 0 kudos

Proper method to know function under interrupt

Hi,​Currently, I am looking for the method to detect this function is under ISR or not.And I found that there has two snipset code,<Example 1>uint8_t isUnderInterrupt(void){ uint8_t status = THREAD_MODE; if (SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk)  {...

GChen.6 by Associate
  • 1825 Views
  • 3 replies
  • 0 kudos

Migrate STM32F765VIT6 to STM32H743VIT6 QSPI Fail

I am migrating from STM32F765VIT6 to STM32H743VIT6But I can't use QSPI with W25Q512, With F765 OK, but with H743 it returns unsupported device.void MX_QUADSPI_Init (void){  hqspi.Instance = QUADSPI;  hqspi.Init.ClockPrescaler = 2;  hqspi.Init.FifoThr...

RDos by Associate II
  • 604 Views
  • 5 replies
  • 0 kudos

Hi, I am using a STM32F7508-DK board and I would like to use the following setup: use only one project instead of building and flashing 2 separate projects, is it possible?

As I said in the description, I would like use only one project instead of using 2 projects and. I've tried to use a single linker file and split it after the build using objcopy to obtain 2 separate binaries for internal and external flash, with no ...

VPope.1 by Associate II
  • 532 Views
  • 2 replies
  • 0 kudos

STM32 F4 Timer Input capture

Dear community,I am trying to use a timer to see if there is no activity on a data line. However, it works not as expected. As you can see in the picture, the timer (yellow) gets interrupts when the signal line (pink) is changing. But no interrupt, w...

SSchu.4 by Associate II
  • 688 Views
  • 2 replies
  • 0 kudos