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

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
  • 1905 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
  • 13710 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
  • 2467 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
  • 617 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
  • 1851 Views
  • 12 replies
  • 0 kudos

Resolved! Nucleo-F767ZI SPI config

Hello,I am practicing with nucleof767ZI. I have stuck with the SPI, here i am trying to send some dummy data and read it through an analyzer. What I get is MOSI always low and SCK is always high. I find no change or pulses in clock line. As of now no...

Sesha by Associate
  • 1068 Views
  • 2 replies
  • 0 kudos

Can't program STM32F301K8U7

I can't download rom file when using STM32F301K8U7.The programmer can connect the MCU and recognize it. But there always are errors when modifying the flash. All reading data are 0xFF, even after I erasing the total chip.The programmer I tested are ...

LW.2 by Associate
  • 551 Views
  • 0 replies
  • 0 kudos