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

I am trying to get the STM32F0 TSC touch sensing library working, but for some reason after all my initializing and configurations. I get the TSC interrupt to fire, but my counter's always seem to have the max value. I print out the value with USART.

My code is posted below. Whenever I try to swipe my finger across the touch sensor, nothing seems to be read. However, my TSC interrupt handler is  constantly firing and printing out the value from the TSC counter which for some reason is awlays the ...

RWill.2 by Associate
  • 973 Views
  • 0 replies
  • 0 kudos

Purpose of global interrupt (NVIC)

Hello! In STM32CubeMX I tried adding a input Compare direct mode to a timer for the STM32F767 part.It did not work until I checked the option under "NVIC Settings" to make the timer a global interrupt.Excuse the beginner question, but should not all ...

STM32G070RBT possible GPIO silicon bug?

Hello,We've been using STM32 for quite some time for multiple products.For a new design we would like to use the STM32G070RBT. However there is a strange behavior with GPIO PD0 and PD1:PD0 is configured as input with pullup enabled. PD1 is configured...

NFaut.1 by Associate II
  • 1375 Views
  • 5 replies
  • 0 kudos

Resolved! How to create a MDK-ARM Project with CUBEMX 5.6.0

Hello, I have recently switched computers and i have installed Keil IDE and CubeMX 5.6.0 onto the new PC, but when i create a project i get an error saying:"The code is successfully generated under........ but MDK-ARM V5.27 project generation have a ...

MikeP by Senior
  • 2950 Views
  • 7 replies
  • 0 kudos

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
  • 6144 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
  • 1461 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...