STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 2381 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
  • 590 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
  • 1759 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
  • 1038 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
  • 517 Views
  • 0 replies
  • 0 kudos

STM32 timer3

Hi everyone. I wrote this code to run the stm32f0 timer3, which toggle 2 LEDs at a time, but it doesn't work. Can anyone please help me؟void TIM3_Init() { TIM_TimeBaseInitTypeDef TIM3_InitStructure; NVIC_InitTypeDef NVIC_InitStructure;   ...

Nmo.1 by Associate III
  • 555 Views
  • 2 replies
  • 0 kudos

Nextion Communication issue

HelloI have Nextion display. Ican control it with arduino library in Arduino ide good.I am learning communication nextion without itead nextion library via uart.I designed simply page in nextion. it has just a textbox named "t0".I try send a word fro...

0693W000001qeRtQAI.png
FLine.1 by Associate II
  • 1057 Views
  • 4 replies
  • 0 kudos

A very quick question regarding creating a new project.

My Windows desktop computer has failed so I'm trying to get all happening on a MacBook Pro.When a project is created I'm supposed to get a message box asking me if I want to "initialize all components in their default mode." That way all the clock, ...

JMazu.1 by Associate III
  • 948 Views
  • 3 replies
  • 0 kudos