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

I2C help please.

Hi everyoneI have a STM32F401RE Board and I am trying to get the I2C to work with an MPU6050. I have seen some examples but since I can not seem to find PB11 I realized I have to use PB3 as I2C2_SDA pin and PB10 as I2C2_SCL pin. The clock on this is ...

CMcC.1 by Associate II
  • 1027 Views
  • 6 replies
  • 0 kudos

Resolved! A nother STM32G071 bare metal question on SPI

Hello,here is another bare metal question on STM32G071. I am trying to get the SPI to work. But it is not generating any clock signal or MOSI signal. Here is my init code trying to get it to work on GPIOB 6 to 8:void init_spi(SPI_TypeDef* SPI) { if(...

LPTIM repetition counter not work

Hi , I am trying to use lptim on NUCLEOL412RB.I want to use lptim repetition counter to fire a interrupt which period is 5 secs.My lptim clock source is 32k LSI.Here is my config:hlptim1.Instance = LPTIM1; hlptim1.Init.Clock.Source = LPTIM_CLOCKSOUR...

clee.10 by Associate III
  • 1349 Views
  • 5 replies
  • 0 kudos

NOR Flash memory Quad SPI initialization

Hello,i need to use this flash memory with Quad SPI. I read the STM32 user manual and some examples of random evaluation boards.I think that this first step initialization should be okstatic void MX_QUADSPI_Init(void) {   /* USER CODE BEGIN QUADSPI...

AMerc.4 by Senior
  • 1284 Views
  • 3 replies
  • 0 kudos

Resolved! Two questions on I2C flags SB and BTF in STM32F446RE

Hi, I'm stepping through the code on Nucleo-F446RE board and doing the following:LL_I2C_GenerateStartCondition(I2C1); step++; while(!LL_I2C_IsActiveFlag_SB(I2C1)); LL_I2C_TransmitData8(I2C1,BMP180_ADDRESS_WRITE); step++; while(!LL_I2C_IsActiveFlag_A...

kj.obara by Associate III
  • 2034 Views
  • 3 replies
  • 0 kudos

Newbie Needs Help Installing NuttX RTOS on STM32F446 Board

Hi all. I'm a CS major with a decent knowledge of C, C++, and Python, but my summer internship has tasked me with installing NuttX onto an STM board and I'm a bit lost. I have never used Linux before and I have never dealt with real time operating sy...

BGibs.1 by Associate
  • 970 Views
  • 1 replies
  • 0 kudos

SD (read-only) memory leaks issue

Hi, I hope you are well!I get stuck on the same issue since a few months:I stream multiple audio files (.wav), at the same time and continuously. After 24 hours of streaming, SD card files start to be corrupted (data is wrong) and when I inspect the ...

jean by Senior
  • 1089 Views
  • 8 replies
  • 0 kudos

STM32F2 RXNE flag FROM SR register clear without reason

Hello,I am using UART4 from a STM32F2. I am sending a data then my RXNE FLAG from SR register go from 0 to 1. Without doing anything (no read of the DR register and no clearing manually the flag) it go back to 0 after some time. So I am missing the d...

haye by Associate II
  • 3972 Views
  • 19 replies
  • 0 kudos