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

HAL_I2C_Mem_Read_IT() blocks MCU!

The function is supposed to read the I2C in non-blocking mode.However - quite often - it blocks the MCU for like 2 seconds!As I need to read an I2C in time critical part of my program, this breaks everything.I investigated the function source and I f...

HTD by Senior III
  • 2176 Views
  • 1 replies
  • 3 kudos

Resolved! NEED CLARIFICATION TIMER INTERRUPT FORMULA

I have read a book on stm32, and inside the timer topic, it is stated that a formula to determine the values to be loaded to generate interrupt at specified times which as below:My question is does this formula applicable for all stm32 timers? and an...

0693W00000QKKUtQAP.jpg
WM_IR by Senior
  • 806 Views
  • 2 replies
  • 0 kudos

Resolved! Error: E31 Remote Failure Reply, when starting code in debug mode

Hello all, I am currently trying to get my STM32F411RE code working in Atollic TrueStudio. This project leverages the use of DMA and CMSIS-DSP which are all working in TrueStudio to find freqeuncy outcomes. The issues at hand is that I can upload my ...

NKupe by Associate II
  • 7534 Views
  • 5 replies
  • 1 kudos

While waiting for my STM32H750B-DK, I followed instructions in https://www.youtube.com/watch?v=12KXreXaLp0&t=29s

HiI got these Errors upon compilation:../Drivers/Components/mt25tl01g/mt25tl01g.h:29:10: fatal error: mt25tl01g_conf.h: No such file or directory  29 | #include "mt25tl01g_conf.h"   |     ^~~~~~~~~~~~~~~~~~compilation terminated.make: *** [Drivers/Co...

ksale.1 by Senior
  • 671 Views
  • 4 replies
  • 0 kudos

I tried the Arbitrary waveform generation using timer DMA-burst feature but it doesn't work, can someone help me? F446RE

I'm trying to generate an arbitrary waveform on PA_5 pin, tim2 channel1 in PMW output, using stream5 channel3 DMAI tried to do exactly what is written on the application note AN4776 using a nucleo F446RE but it doesn't work here are all my code:dma.C...

YSall.1 by Senior
  • 2365 Views
  • 20 replies
  • 0 kudos

STM32F407 SPI1 Initialize wrong

Hello,I have problems to initialize my SPI1 interface, and send a request. My Logic Analyzer Says that, after powering without a STLink. SPI_HandleTypeDef hspi;   RFM23::RFM23() {}   bool RFM23::init() { hspi.Instance = SPI1; hspi.Init.Mode = S...

0693W00000QKCjRQAX.png 0693W00000QKCjSQAX.png 0693W00000QKClhQAH.png
Sany by Associate III
  • 865 Views
  • 3 replies
  • 0 kudos

Incorrect values by ADC on STM32H750

Hello!A simple setup to run the ADC1 in continuous conversion mode runs as expected, but the measured values are incorrect as inspected via the debugger console. When connecting the ADC1 input pin to GND or 3.3V volts the measured value doesn't chang...

CBrom.1 by Associate II
  • 1125 Views
  • 2 replies
  • 0 kudos