STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeIDE only running code from one project

Hello all, I am currently working with the STM32CubeIDE. I wrote a program that didn't end up working but concluded the code was fine after reviewing it. I tried copy and pasting the code into a different project within the IDE, and it works just fin...

dj-b by Associate
  • 473 Views
  • 3 replies
  • 2 kudos

Resolved! Problem with pdm2pcm library in vs code

Hi,I am struggling to make PDM2PCM library work. My projects build without issues, but when I upload them to the board , program executes until it reaches PDM_Filter_setConfig function (tested with breakpoints). After that, it goes to infinite loop c...

baator025 by Associate III
  • 624 Views
  • 2 replies
  • 1 kudos

Resolved! stm32f469 discovery USB HOST CDC

Moved from the Motor Control forum as this has nothing to do with motor control. i am using stm32f469 discovery with architecture um1932, in MX i configured for Host only host CDC class for full speed (FS) my clock configuration is also correct (48m...

Resolved! Help Understanding BSP_COM for Communication

Code formatting applied - please see here for future reference.Hello everyone,I'm currently working on an STM32 project using the NUCLEO-G431KB board. I've come across the BSP_COM API in the STM32Cube firmware, which seems to be an abstraction layer ...

jin96 by Associate
  • 937 Views
  • 2 replies
  • 3 kudos

Resolved! Understand SD Card detect pin initialization

Hello,I would like to understand the code to carry out my software integration :  /* Configure SD pin detect */ __SD_DETECT_GPIO_CLK_ENABLE(); __HAL_RCC_PWR_CLK_ENABLE(); And This refers to lines of code that I am lost, for the first line ...

DYann.1 by Senior II
  • 2405 Views
  • 36 replies
  • 7 kudos

STM32 HAL I2C

Good morning, I'm having trouble understanding how to solve a problem.there is already a software developed in keil 4, but we need to change some things but now we will use keil 5 with the hal library, so far ok without problems.my first problem was ...

Switching between USB CAD state machines

Hi, what is the correct way to switch between CAD state machines? For example, between DRP to SNK and vice versa.Motivation: When the battery is bellow the defined SOC, switch from the DRP state machine to the SNK only and stop toggling between SRC a...

kumen by Associate II
  • 733 Views
  • 4 replies
  • 0 kudos