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

TIM One Pulse Mode

Hi all,I'm trying to get one pulse mode working on the TIM1 of the STM32H755. The goal is taking a pulse from one pin as a trigger, starting the pulse, counting 32 clock cycles on another pin, and then resetting the output. This controllers tech tuto...

noahyonr by Associate II
  • 193 Views
  • 2 replies
  • 1 kudos

stm32h563 edata Code Generation issue

Hello,On flash option byte I need to use only one sector. Only Edata bank1 is activate. No other option bytes are required.CubeMx generate MX_FLASH_Init with Edata configuration commented. What other option byte is necessary to select to use Edata on...

BenoitS by Associate
  • 1706 Views
  • 3 replies
  • 0 kudos

STM32G474+HRTIM+PWM+DMA+SINE

Dear reader, I attempted to adapt the tutorial outlined in STM32F3348-DISCO HRTIM DMA PWM Sine Wave - STMicroelectronics Community to my STM32G474E-DPOW1 board to create a PWM signal with sinusoidally varying duty cycle using a look up table.Attached...

Oli98 by Associate III
  • 211 Views
  • 3 replies
  • 0 kudos

TIM2 and TIM8 sync issue with DMA in circular mode

I AM USING STM32F446RCT6 MICROCONTROLLER HAL_TIM_OC_Start_IT(&htim8, TIM_CHANNEL_2); HAL_TIM_PWM_Start_DMA(&htim2, TIM_CHANNEL_4, (uint32_t *)gPWMData1, gPWMData1LastIdx); // trans is generated HAL_DMA_Start_IT(&hdma_tim8_up, (uint32_t)&gPWMData2[r...

MGOEL1_0-1753871531615.bmp MGOEL1_1-1753871592244.bmp
MGOEL.1 by Associate II
  • 228 Views
  • 8 replies
  • 0 kudos

STM32U5 SPI1 in Stop Mode

I'm using an STM32U5 processor to communicate with a sensor over SPI, and I am unable to get the SPI transfer and reception to work while putting the device into STOP 0/1. The datasheet and reference manual state that this is possible with SPI1 in ST...

jcjunker by Associate II
  • 248 Views
  • 6 replies
  • 0 kudos

Doubts Regarding USB CDC in STM32F407

I am recently working on USB CDC in STM32F407 and i have the following doubts:Based on my understanding 64  bytes can be send using CDC_Transmit_FS, so can we give a array of some size which is greater than 2KBytes and DO we need to do any chunking h...

Resolved! H523 can't run HW SPI

Hello, I spend a lot of time to tried running HW SPI on H523CET6.  On the other mcu like F411 it work without any problems. In this case SPI work only when I do it in software mode://===================================================================...

0.jpg 1.jpg 2.jpg 3.jpg
wegi01 by Associate III
  • 140 Views
  • 3 replies
  • 1 kudos

Resolved! A problem about the I2C Fast mode plus of STM32H750VBT6

I configured SYSCLK to 480 MHz and set the I2C1 peripheral clock frequency to 120 MHz. For I2C1's timing settings, I selected Fast Mode Plus (1 MHz) and applied the timing register value 0x0050174F, the setting about maximum output speed of SDA and S...

PKB404 by Associate
  • 157 Views
  • 2 replies
  • 1 kudos