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

STM32G431KB DAC DMA not working

Trying to get a basic sample DAC1 with DMA, triggered by TIM2 working. This should be trivial, works fine on SMT32F3. I'm using a Nucleo-32 SMT32G431.Using Cube IDE. The only non IDE-generated code in main is: /* USER CODE BEGIN 2 */   static uint...

PBieg.1 by Associate II
  • 10187 Views
  • 23 replies
  • 4 kudos

Resolved! STM32H523 hardware development problem

Greetings. I am a beginner and an electronic student and I am currently getting my hands on STM32H523. I have created a mcu board in Altium Designer just to control LEDs by GPIO, hopefully to understand more about STM32. I have the PCB fabricated, an...

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
  • 330 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
  • 1828 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
  • 291 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
  • 322 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
  • 301 Views
  • 6 replies
  • 0 kudos