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

I2S clock strobing

The stm32u5xx_hal_sai.c sets up the I2S clock strobing like this:static HAL_StatusTypeDef SAI_InitI2S(SAI_HandleTypeDef *hsai, uint32_t protocol, uint32_t datasize, uint32_t nbslot) { HAL_StatusTypeDef status = HAL_OK;   hsai->Init.Protocol ...

clock setting, STM32H750

Hello,I have two different clock setting and only one of them works - but I have no idea why?The only difference is the PLLM and PLLN value: RCC_OscInitStruct.PLL.PLLM = 25; // 5 NOT OK RCC_OscInitStruct.PLL.PLLN = 432; // 160 NOT OKWould appreciate ...

pk84 by Senior
  • 3244 Views
  • 11 replies
  • 0 kudos

FW upgrade via DFU

I am trying to upgrade my uC via dfu-util however i receive an error and i do not know how could i debug it dfu-util: Error during download get_statusdfu-util 0.9Opening DFU capable USB device...ID 0483:df11Run-time device DFU version 011aClaiming US...

EPop.2 by Associate II
  • 1756 Views
  • 2 replies
  • 0 kudos

STM32G431 Break input for PWMs

I am generating two PWMs with TIM1 CH1 and CH2 .I want to stop the PWMs when Break input is present. I have configured the STM32 Break input in the STM32cubeIDE and able to stop the PWMs when Break input is HIGH(3.3v).I needed the reverse way now lik...

sshan.2 by Associate III
  • 1743 Views
  • 4 replies
  • 1 kudos

Is there any way to "pace" bytes in an I2C transmission?

Hi,I am interfacing to a TI device that requires a 100us delay between each I2C byte and I can't think of any way that doesn't involve "hacking", i.e. using timer delays, interrupts, etc. Is there a more elegant way to do it using the ST I2C implemen...

GoEk by Associate III
  • 2638 Views
  • 13 replies
  • 1 kudos