STM32CubeMX (MCUs)

Ask questions on STM32CubeMX. Discuss code generation and configuration challenges, among other topics.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.15.0 released

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

Resolved! I cant seem to make a pwm work.

I have a project where I want to add a simple PWM. I'm using the stm32h series. I have a scope on PA3, and I set up my timer2 for PWM on channel 4. I did this all in the IOC file as I want to understand how to create the PWM I need. I see it added my...

ulao by Associate III
  • 1759 Views
  • 7 replies
  • 1 kudos

STM32F769I EVAL CAN problems

Hello,we are trying to listen to can messages with our evaluation board. We are using a PCAN-USB adapter to play a can log to our eval board.When starting the PC program it says that there is no can buffer detected. We assume that somehow our CAN Tra...

0693W00000YAt9sQAD.png
LDini.1 by Associate II
  • 1002 Views
  • 3 replies
  • 1 kudos

Unable to TX on NUCLEO-ST32G491RE FDCAN1

I am trying to get CAN working on the STM32G491RE. I happily worked with CAN on STM32F4xxx micros, but the landscape seems to have changed on the STM32G491RE.The presented code is from a minimal project for the NUCLEO-STM32G491RE board. It is in defa...

JBend.6 by Associate III
  • 811 Views
  • 0 replies
  • 0 kudos

SO8N STM32G031C6 USART not working.

I'm trying to setup an USART for a very small MCU of the STM32G0 family, the MCU it's theoretically being programmed, but the USART is not responding, I configured the MCU just like I did in other projects (of bigger MCUs), I'm not able to find what ...

0693W00000YAa9tQAD.png 0693W00000YAaAhQAL.png
fancyrat by Associate III
  • 4670 Views
  • 18 replies
  • 1 kudos

Resolved! STM32CubeMX 6.7.0 does not configure SDMMC DMA correctly

I am having an issue similar to https://community.st.com/s/question/0D53W000027iXpbSAE/spi-dma-configuration-generated-by-stm32cubemx-does-not-work but with the SDMMC peripheral rather than SPI.I have an STM32CubeMX project targeting the 32F746GDISCO...

FPlow.1 by Associate II
  • 1171 Views
  • 2 replies
  • 0 kudos

Resolved! CAN: Clock Frequency Scaling Issues to Achieve Baud Rate

Hello,I am attempting to add CAN communication to one of my co-worker's boards, who is using the STM32F303RE MCU with an external 30 MHz crystal oscillator. The CAN communication uses the APB1 Peripheral Clock, which is currently using 30 MHz as well...

0693W00000YAiO3QAL.png
KMew by Senior III
  • 1150 Views
  • 3 replies
  • 1 kudos

Resolved! Why does CubeMX for the STM32H743i_EVAL board put the cart before the horse and completely ignore the BSP code when the SDMMCx is enabled?

Creating the project with CubeMX for the STM32H743i_EVAL board and allowing it to generate the Initializing function and call for the SDMMC1 (or 2 for that matter), generates initialization code that attempts to power up the card without checking to ...