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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

Unable to Read and Write to I2C EEPROM

Posted on February 23, 2017 at 21:43I am using atmega AT24C256 EEPROM and STM32F0 discovery module. I am struggling to read/Write to the memory. Here is the example I trying to use:-&sharpdefine I2C1_DEVICE_ADDRESS   0x50           /* A0 = A1 = A2 =...

anuj by Associate II
  • 5929 Views
  • 13 replies
  • 0 kudos

CubeMX on MacOS using far too much RAM

Posted on May 29, 2017 at 22:20CubeMX V4.21.0 on MacOS 10.12.5.4.21.0 was available, so I downloaded it. Opened my current project, checked to see if my pet peeves had been fixed yet - nope. Went for lunch.Came back from lunch and Cube has 3.7GB of ...

BUG in STM32CubeMX STM32L4 OPAMP ADC PROBLEM

Posted on June 08, 2016 at 16:48Hi, setting the ADC1_IN8 or ADC_IN15 as OPAMP x Output Differential  or OPAMP x Output Single-ended in STM32CubeMx v 4.15 with NUCLEO-L476RG doesn't generate the correct GPIO setup. The OPAMP output pins are configur...

Resolved! Trigger input capture every 8 rising edges

Posted on January 16, 2018 at 16:42Hey everyone,I'm using the stm32f722ze and CubeMx and have gotten my input capture working. Essentially, when every rising edge is detected, the timer triggers a DMA event and stores the GPIO pins value to memory. ...

con3 by Senior
  • 712 Views
  • 3 replies
  • 0 kudos

CUBE Bug? hall sensor TRGO MasterSlave selection

Posted on January 18, 2018 at 05:36I am trying to configure the timers for a BLDC applications, so that the hall sensor change triggers another timer.In cube, If you configure a timer as XOR ON/ Hall Sensor Mode, you can't configure it as a Master T...

0690X00000609ECQAY.png
usama2 by Associate II
  • 456 Views
  • 0 replies
  • 0 kudos

Resolved! CubeMX problem (bug?)

Posted on March 08, 2017 at 14:33Hi,I'm having problems with STM32 CubeMX (v4.19.0) during the setup of the ADC2 peripheral (may be a bug...).Even if the number of conversion is ONE, I have two different ranks both pointing to the same ADC channel (...

flavio23 by Associate III
  • 2034 Views
  • 7 replies
  • 0 kudos

Cannot change USART1 interrupt priority in CubeMX

Posted on March 13, 2017 at 07:27In CubeMX 4.19.0 I have USART1 Asynchronous and FREERTOS enabled. USART1 global interrupt is enabled. In NVIC configuration dialog I have:USART1 global interrupt: On, Preemption priority 5, Sub priority 0, Uses FREER...

Resolved! CubeMX ADC Init bug

Posted on November 29, 2017 at 08:52Hello there,Here is my CubeMX version:The libs versions:So I am using STM32L4. The bug is within ADC initialization procedure created by CubeMX. This is how to trace the bug:Locate this function:HAL_StatusTypeDef ...

0690X000006091bQAA.png 0690X000006090OQAQ.png