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

Resolved! USBFS not enumerating as VCP

Hello, I m using an STM32F249I DISC1 board. I'm trying to start-off with a basic USB VCP loopback functionality. I generated the code for USBFS as a CDC Device (VCP) using CubeMx. I set the clock to 168MHz (so that USBFS is clocked at 48 MHz). I ha...

PShri.1 by Associate
  • 654 Views
  • 1 replies
  • 0 kudos

STM32H745 SDMMC block reads returning empty

Hello, I am working on trying to get the SDMMC1 on the stm32h745 to function properly. Currently I have this for my current initialization of the SDMMC and it does not return any errors. hsd1.Instance = SDMMC1;hsd1.Init.ClockEdge = SDMMC_CLOCK_EDGE_R...

Matt__ by Associate II
  • 2404 Views
  • 12 replies
  • 0 kudos

Resolved! Flash erase operation fail CMSIS STM32L4

Hello,I am trying to implement a flash erase function, which is based on the reference manual. I am using the STM32L476RG nucleo board. From there the instructions are: To erase a page (2 Kbyte), follow the procedure below: Check that no Flash memory...

Resolved! How to config SDIO with FATFS?

Hi all,I config the SDIO & FATFS by cubeMx for my STM32F429BI board.When I config the SDIO to SDIO_BUS_WIDE_1B, everything is work well; Even the generated MX_SDIO_SD_Init() is NOT calling the HAL_SD_Init() function. (Why don't need HAL_SD_Init() , i...

Junde by Senior III
  • 2171 Views
  • 2 replies
  • 1 kudos

PWM with external trigger

Hello Team,I have an STM32F469NIHX and I am trying to implement a use case where I want Timer8_ch1  to be a slave to an external signal that I apply on pin D2 (PG7), which is not a source of timer at all. Upon reading the DS, I understood that I cann...

Jansunil by Associate II
  • 675 Views
  • 1 replies
  • 0 kudos

Resolved! TIM1 output compare mode on STM32G070

Hi All, I am trying to generate variable frequency using TIM1 on STM32G070. I use TIM1 in output compare mode and PC8 as an output for channel 1. Pre-scaler is set to 0 and ARR to divider for whatever frequency I want. When checking registers I see C...

vladov by Associate
  • 1310 Views
  • 2 replies
  • 2 kudos