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

How to restart an STM32 timer halfway with a new value?

I have a timer which at each interrupt first stops itself, and then set its own next delay:HAL_TIM_Base_Stop_IT(&htim); // do stuff __HAL_TIM_SET_PRESCALER(&htim, new_p); __HAL_TIM_SET_AUTORELOAD(&htim, new_a); __HAL_TIM_CLEAR_FLAG(&htim, TIM_FLAG_UP...

HKaze.2 by Associate
  • 1693 Views
  • 2 replies
  • 0 kudos

Resolved! What is OutputDrive on the SAI Peripheral?

On the STM32 SAI peripheral, there's a member of the SAI_InitTypeDef which is:​ uint32_t OutputDrive; /*!< Specifies when SAI Block outputs are driven. This parameter can be a value of @ref SAI_Block_Outp...

APire.1 by Associate
  • 1162 Views
  • 1 replies
  • 0 kudos

STM32H735 HyperBus speed byte vs word (32bit) vs QSPI

Hello,I got my hands on a H735 Discovery Board which has an external "HyperRAM" (Infineon S70KL1281DABHI023) connected to OCTOSPI2.I need to use it in memory mapped mode, which is quite easily setup via HAL stuff (just switched to register setup to l...

LCE by Principal II
  • 4780 Views
  • 7 replies
  • 1 kudos

I2C stops working with System Clock 168M on STM32F407

Hello,I'm working on a STM32F407 board, and communicating with 6 I2C sensors which are scattered on the 3 I2C interfaces with 400K clock. Everything is fine if the system clock is set to 40MHZ. When I'm trying to change the sys clock to 168M, all I2C...

XLei.3 by Associate II
  • 1086 Views
  • 7 replies
  • 0 kudos

Using stop mode with a nucleo-stm32l031

Hi,I would like to use the nucleo-stm32l031 to some low power tests. I'll try the NUCLEO-L011K4->PWR_STOP_RTC and also the NUCLEO-L031K6->PWR_STOP_RTC. Both example don't work on my NUCLEO-L031K board.The problem is that the MCU don't go in STOP mode...

jdumaresq by Associate II
  • 1199 Views
  • 2 replies
  • 0 kudos

Best prescaler/period tradeoff to generate a clock

Hello,I need to generate a clock to trigger some sensors acquisition at a given frequency..I'm doing this using a timerI do have several choice to configure the timer prescaler & period fields.My question is : what is the best choice to limit MCU cor...

VDaanen by Associate II
  • 2093 Views
  • 7 replies
  • 0 kudos

Resolved! Stop STM32 from rerunning code when repowered

I am using an STM32H753I-EVAL2. I have the real-time clock(RTC) counting. I want it to be set to the current time. I am successfully able to do this inside of MX_RTC_Init() with:RTC_TimeTypeDef sTime = {0}; sTime.Hours = 0x11; sTime.Minutes = 0x22;...

JKing.8 by Associate III
  • 1435 Views
  • 5 replies
  • 2 kudos

Etablish an Ethernet connection with STM32F107

Hello I wan't to use the ethernet of my MCU (STM32F107VCT6) with using Lwip module. I'm using a dev board (EasyMx Pro V7). For the moment I've connect a etehernet cable between my computer and my ethernet board I've used some example of ethernet exam...

Romano1 by Associate III
  • 2009 Views
  • 7 replies
  • 1 kudos