STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

USBPD timer use

Hello. I've been using the ST USBPD code for a few years for a variety of products. The default timer seems to always be Timer 2 (32 bit). Recently I've got this working as expected with an STM32G0 using Timer 2. However, this product switched to the...

RHelv.1 by Associate III
  • 717 Views
  • 0 replies
  • 0 kudos

FATFS DMA template problem on STM32H745iit6

Hello. I am trying to access SDMMC1 peripheral via Cortex-M4 core. I access SDMMC with no problem when I configure sdmmc clock 15MHZ or lower. Also fatfs use_dma_template option is disabled. But I have to use FreeRTOS in my project. So when i enable ...

Resolved! STM32F407G-Disc1 --> Controller Area Network receiver is not working in loopback mode

Hi Everyone,                   i'm using two boards for my hobby purpose(stm32f108cxx bluepill board and stm32f407g discovery board). i tried the controller area network loopback mode in bluepill is working fine but in the stm32f407 discovery board c...

STM32 V2Link

Hello, I have been trying to program a custom board.  I am using the stm32f042k6t7 chip and I have been working on this for a few weeks now.  I've got my board double checked and even ordered another V2Link thinking it might be that connector.  I hav...

schleise by Associate
  • 928 Views
  • 2 replies
  • 0 kudos

Resolved! STM32F401 SPI CLK not working

Hi guys,I'm currently working on a project where I need to use the SPI protocol. After setting everything up in the .ioc file and generating the code. I wanted to check if the clock signal was properly working. So i hooked up my ossciloscop to the cl...

djerikos by Associate II
  • 3700 Views
  • 5 replies
  • 5 kudos

Resolved! Stop mode in STM32G0

Dear All,I'm using stm32G0 MCU for battery operated application and I2C,  UART and RTC and GPIO are using I want know What should be peripheral state before going to STOP mode mean "should be deinit before going to stop mode or leave it as it is and ...

vchau.2 by Associate III
  • 2126 Views
  • 3 replies
  • 4 kudos

DCMI Crop feature

Hi all, I recently started learning about st-controllers and I am stuck in this, any help would be greatly appreciated.I am working with stmf746, I wanted to crop the captured image with DCMI crop feature, I am configuring crop window size and offset...

lglad by Associate
  • 1706 Views
  • 3 replies
  • 1 kudos

PWM phase shift for dual active bridge

I have a dual active bridge and I am supposed to do leading and lagging phase shift to achieve that. This needs to be a precise shift to the lowest degree of 1. I am using an STM32F429. This is the logic I am using:HAL_TIM_PWM_Start(&htim3, TIM_CHANN...

Gaia by Associate
  • 698 Views
  • 0 replies
  • 0 kudos