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

LSE false enabled, PC14 wrong reading

We discovered spurious Errors (every half a year) on reading out the GPIO Pin PC14 on a STM32F427ZIT6.The Pinis not connected on the PCB itself.Is configured as Input with PullUpAnd reads in perfectly the High state from the PullUp in 99.99% of the c...

Resolved! Hardfault on ADC voltage change

Hello,I have a strange problem on an STM32G071. I get ADC values every 25 ms from ADC1 channel 0 to 3 without DMA as speed is no issue. Strangely when one of the canels reaches about 1.2 V the CPU sometimes goes in a hard fault lock. There is a poten...

STM32F767 - Problems with the SPI communication

Hi,I started now programming the STM32F767ZI MCU and do not have any experience with 32bit uController.I have to programm a project, which includes a SPI communication to an external ADC. It must be programmed with the LL library and I'd like to do t...

0693W000001qeYBQAY.png 0693W000001qeYLQAY.png
mof182 by Associate II
  • 2266 Views
  • 9 replies
  • 0 kudos

How to reset I2C on STM32F4407 without resetting the MCU

HelloI have trouble with handling an I2C error on my STM32F407. My I2C bus usually works fine but it sometimes hangs, with both clock and data lines are high, but the I2C communication does not start. The SR2.BUSY bit remains high and sometimes when ...

Nils B by Associate II
  • 15430 Views
  • 18 replies
  • 1 kudos

Resolved! Behavior of floating point divide by zero

Hi, everyone.I have found a bug in my code resulting division by zero (float).We get hard fault if we try to divide an integer number by zero. So how does this process work for float numbers? I have tried this code and result is very strange. MCU han...

SCAN.1 by Associate II
  • 2953 Views
  • 2 replies
  • 0 kudos

Compiler optimization for speed on STM32H747HI-DISCO

Compiler optimization for speed on STM32H747HI-DISCO board destroys accessing external flash in memory mapped mode. Works fine without optimization but I get a hardfault as soon as I try to access memory from 0x90000000 after memory mapped mode is...

ALevc.1 by Associate III
  • 717 Views
  • 2 replies
  • 0 kudos

1us timer TIM6 not working as expected (different frequency)

Hi allEDIT: I am using the STM32F407 discorvery board. Apologies for not mentioning this in the original post. Just when I thought I understood the timers, I noticed a fundamental understanding problem on my side. I am trying to create a 1us timer us...

AAnth.1 by Senior
  • 2150 Views
  • 12 replies
  • 0 kudos