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

Reading SPI data register after RXNE has asserted

Hello, I found a problem trying to read the Data Register of SPI over STM32L4:If I read the register after wait that RXNE is went to 0, like the follow code:// Wait until RXNE flag is reset while (!UTILITY_READ_REGISTER_BIT(SPI1->SR,SPI_SR_RXNE)); //...

ontares by Associate
  • 466 Views
  • 1 replies
  • 0 kudos

Weird printf behavior on STM32F3Discovery board

I use MXCube to create a simple project based on the STM32F3Discovery board. Only USB is enabled as a CDC device. Other settings remain untouched. The code is generated for Truestudio. In Truestudio I created the syscalls.c by New->Other->System Call...

happygeek by Associate II
  • 1115 Views
  • 1 replies
  • 0 kudos

Error with arm_fir_f32()

Hi,i'm using the arm_fir_f32() funktion to filter a real time input signal.My problem is, that the funktion return '-nan' for each input.#include "foc.h"#include "tim.h"#include "adc.h"#include "debug.h"#include "arm_math.h"/* FIR-FILTER */#define BL...

ASpie.11 by Associate
  • 907 Views
  • 3 replies
  • 0 kudos

How do I make I2C work together with DMA without HAL

I've configured I2C and I2C for reading 4 byte from a sensor. But for some reason. I currently don't have the code available here so I'd like to ask if somebody knows of an AN or has managed to receive data using DMA over I2C in master mode.Thanks fo...

CRipc by Associate
  • 343 Views
  • 0 replies
  • 0 kudos

STM32F103VET6 flash corruption

Hi,I have a board with STM32F103VET6 mcu. Sometimes when power on at startup, my mcu sometimes does not start as it should start, and it only start to work when the software is reinstalled.When the problem occured, I have checked the flash data from ...

0690X000006CNckQAG.png
er3481 by Senior
  • 451 Views
  • 2 replies
  • 0 kudos

HSI calibration step on STM32F7 and STM32F0.

When I calibrate the HSI frequency of an STM32F7 writing to HSITRIM in RCC_CR register, which is the calibration step? I mean, how much the frequency of HSI change if increasing or decreasing HSITRIM in 1?Doing the same with an STM32F0, ref. manual s...

IHugu by Associate
  • 437 Views
  • 0 replies
  • 0 kudos

i cannot use X-CUBE-MEMS1

https://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-mems1.htmli downloaded this software.i also used the gui program. but i have to read under 0.01g so gui...

khyun.8 by Associate
  • 406 Views
  • 0 replies
  • 0 kudos