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...

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
  • 1055 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
  • 854 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
  • 4966 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
  • 1240 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
  • 1216 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 ...

Code is getting stuck at SystemClock_Config() function

Hello,I'm using STM32H747XIH6 MCU and I have developed the code on STM32 cube ide software 1.7.0 by generating the code in stm32 cube mx 6.5.0.I have written a simple code of GPIO toggle pin.Below is my code for clock configuration. I have connected ...

Aarra.1 by Senior
  • 3542 Views
  • 3 replies
  • 0 kudos