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! STM32H7 CAN FD configured as classic CAN 2.0

Hello, I am working with STM32H7. I need to configure the CAN FD to work as Classic CAN 2.0. I have found an example that configures the CAN FD as Classic CAN 2.0, but in the example the system clock is different from my system clock. I need to find...

VYoun by Associate III
  • 5944 Views
  • 7 replies
  • 0 kudos

Possible CubeMX Bug on Nucleo-L467RG : SD Card.

Hey guys,I'm pretty new to Stm32 controllers, but I might find a bug. Just want to report it, in case I am right.Im using Stm32 Workbench Eclipse, Stm32CubeMX and a Nucleo-L476RG.I tried to get a sd card working on my board. So I had a SD-Card onboar...

TNguy.9 by Associate II
  • 1419 Views
  • 7 replies
  • 0 kudos

BUG: CubeMX fails to initialize PLL2IS

STM32F437, STM32CubeIDE Version: 1.3.0Build: 5720_20200220_1053 (UTC)OS: Windows 10, v.10.0, x86_64 / win32Java version: 1.8.0_202IOC attached.In CubeMX-generated main.c, the Q register is not set:PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPH...

dac to comparator does not working interrupt

comparator does not interruptThis function handles TIM6, DAC1 and LPTIM1 interrupts (LPTIM1 interrupt through EXTI line 29). LL_EXTI_LINE_17 ? 17 ? 29 ? @file      : main.c LL_TIM_GenerateEvent_CC1(TIM6); LL_EXTI_EnableIT_0_31(LL_EXTI_LINE_17); LL_EX...

0693W000000VzD8QAK.jpg 0693W000000Vz0JQAS.jpg
Ecift.1 by Associate
  • 682 Views
  • 1 replies
  • 0 kudos

How do I include/Import STM32Cube MCU Package in CubeIDE?

I have an existing project, and I'm switching from HAL drivers to LL drivers. I noticed that my workspace is missing many of the LL drivers, despite the fact that I've downloaded the STM32Cube MCU Packages via CubeMX. So, once I've downloaded the MCU...

ASmit.4 by Associate II
  • 676 Views
  • 1 replies
  • 0 kudos

STM32CubeMX bug? STM32G474 HRTIM Timer_F tab could not be set any DMA Request Sources, on the other hand Timer_E tab got an error.

I am working with a STM32G474RE and I want to use HRTIM Timer F as PWM with DMA transfer.I used STM32CubeMX Ver.5.6.1 and CubeG4 FW V1.2.0 for generate simplest init. code, which would work only for HRTIM function for HRTIM Timer F.​here's my setup a...

0693W000000W3kGQAS.jpg 0693W000000W3kLQAS.jpg 0693W000000W3kVQAS.jpg

Resolved! EXTI Triggering itself

Hi,I am working on a custom board using the STM32F479NI.I have been able to use EXTI on the PC7 without problems.Now I need to implement it on PE2.But this time, the EXTI2_IRQHandler is being called over and over without any electrical changes on tha...

0693W000000W74EQAS.png 0693W000000W7ChQAK.png 0693W000000W74tQAC.png 0693W000000W74sQAC.png
AMass.1 by Associate II
  • 2619 Views
  • 9 replies
  • 0 kudos

[BUG] SD Driver 4Bit Mode no DMA use

Hello,i switch from 1bit mode to 4bit mode in cubeMX (latest version on linux) an the reading only works in debug mode, when i connect my board to only power it doesn't work anymore.In CubeMX under SDIO the DMA2_RX and DMA2_TX is set to stream3 and s...

GIkar by Associate III
  • 1962 Views
  • 8 replies
  • 0 kudos