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! STM32 L412 Timer interrupt not working

I am using STM32L412 microcontroller and doing baremetal programming for timer interrupt. I am using Timer 6 and base clock of 4MHZ is used as HCLK. However my interrupt is not firing below mentioning my code. count variable is also not updatingint m...

SSaiy.1 by Associate III
  • 2239 Views
  • 14 replies
  • 0 kudos

Restart without Register RCC->CSR bits set (STM32F417ZGT6)

Hi there,we have an application which already tracks register RCC->CSR on startup and writes the content to the log files.From time to time, due to (intentionally unfiltered) electrical disturbances in the electronic or external EM pulses, we see the...

Ingmar by Associate II
  • 464 Views
  • 0 replies
  • 0 kudos

I want to write a program for the STM32F303VC board that uses SPI interface to make a comunication between the MCU and the L3GD20 gyroscope and read the values of the 3 axis.

The results are always the same: x=-6.145, y=-6.149, z=-6.149 , even if I move my board. What's wrong?#include <stm32f30x.h>void GPIO_Config();void SPI_Config();uint8_t L3GD20_Read(uint8_t reg);void L3GD20_Write(uint8_t reg, uint8_t data);void L3GD20...

FPalo.1 by Associate II
  • 566 Views
  • 1 replies
  • 1 kudos

Problems with folder .c and .h configuration

Hello everybody,I'm a newbie in stm32 IDE. I come from microchip 8bit PIC world :)For a small personal project I would like to use a SIM800 GSM module with an STM32F303.in order to make my code clear I would have liked to break it down into several p...

JJoao.1 by Associate III
  • 575 Views
  • 2 replies
  • 0 kudos

Resolved! Analog Watchdog to trigger on offset adc value

I am applying 4 offset to 4 adc channels and calculating the analog watchdog high threshold based on a threshold above the highest adc channel. The purpose of the adc offsets is to equalize the channels readings, such that the adc watchdog high thres...

KLW by Associate
  • 1134 Views
  • 3 replies
  • 0 kudos

How to use SWV logging without SWO pin?

Hi all,I have custom hardware in the G4 series (491RE) and want to log some data. I don't have any communication method accessible now. Only I can access SWDCLK and SWDIO pins. SWO pin used for another purpose. is there any method where I can get SW...

Roshan by Associate III
  • 2172 Views
  • 3 replies
  • 1 kudos