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

PWM with shift phase and dead time, how to.

Hi,I am using the STM32G474 with HRTIM for the propose and also STM32CubeIDE.Is there any specific guide to make a four outputs (90 grades) PWM with dead time?The duty cycle must be changeable as well.I already read the relevant reference manual and ...

DKuro.1 by Associate III
  • 836 Views
  • 1 replies
  • 1 kudos

Resolved! STM32H533 ADC VDDA, VREF+ and input voltage range

I'm a little confused about the descriptions of the ADC VDDA, VREF+ and input voltage range.Do I understand it correctly thatVDD is the device supplyVDDA is the ADC supplyVREF+ is the ADC referenceIt says VREF+ can be supplied internally as 1.8 V, 2....

thansen by Associate III
  • 882 Views
  • 2 replies
  • 1 kudos

STM32 NRST line

Hi,We are using STM32L452 for our project.We have problem with pin NRST.We set a 30K pull-up resistor (with pull-down capacitor of 0.1uF).Sometime voltage on the NRST pin is 3.3V and sometimes it is 1.4V.In cases it is 1.4V the MCU is stuck.We think ...

Ofer by Associate III
  • 7200 Views
  • 11 replies
  • 3 kudos

STM32L073 LCD Controller

Just getting started with this uC and the ST toolset. I am trying to initialize the LCD controller but the init fails at:if (HAL_LCD_Init(&hlcd) != HAL_OK) {  Error_Handler(); }More specifically it times out at:  /*!< Wait Until the LCD Booster is re...

RSoen.1 by Associate III
  • 1666 Views
  • 6 replies
  • 1 kudos

Resolved! STM32H7 HW CS unexpected set inactive during SPI transfer

Hello,I'm using the HAL_SPI_TransmitReceive() to communicate to a NOR flash via single SPI in polling mode using HW CS. I'm on H753 Rev.V silicon using the latest HAL library.I checked out the SS output management in master mode (SSOM=1) but made str...

SPI_HWCS_12.5MHz.png SPI_HWCS_25MHz.png RM433_figure620.png SPI_HWCS_CFG2.png
regjoe by Senior II
  • 604 Views
  • 1 replies
  • 0 kudos

Resolved! STM32H563VIT6 DAC1 Output Unexpected

Driving DAC1 channel 1 with         HAL_DAC_Start(&hdac1, DAC_CHANNEL_1); ... while (1) { HAL_DAC_SetValue(&hdac1, DAC_CHANNEL_1, DAC_ALIGN_12B_R, 4095UL); HAL_Delay(100UL); HAL_DAC_SetValue(&hdac1, DAC_CHANNEL_1, DAC_ALIGN_12B_R, 0UL); HAL_D...

mccabehm_1-1738710940044.png mccabehm_2-1738711213554.png

Resolved! Trouble with ADC accuracy

I am using the ADC on a Nucleo-L412KB board.   I am setting up the ADC for  single conversion once per second. I am getting digital values which are off, as though the Vref is up around 3.4 V.  I have an LM385 voltage reference as a source and have t...

Clyde_S by Associate III
  • 8188 Views
  • 8 replies
  • 1 kudos