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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1250 Views
  • 0 replies
  • 2 kudos

Java.lang.NullPointerException occurs during MX script.

CubeIDE 1.2.0 I have a simple script to test the command line setup. The script is loading the .ioc and creating .csv of the pinout. I get partially through the csv command where Java runs into a NullPointerException seen below2020-06-09 12:53:23,629...

PLane.1 by Associate II
  • 1313 Views
  • 2 replies
  • 0 kudos

STM32F303 CubeMX - LL_GPIO_TogglePin() - race condition?

__STATIC_INLINE void LL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint32_t PinMask) { WRITE_REG(GPIOx->ODR, READ_REG(GPIOx->ODR) ^ PinMask); }I was trying out a Nucleo F303RE board and installed CubeIDE and the HAL/LL library, then stumbled upon this.Tha...

SKled.1 by Senior II
  • 2540 Views
  • 4 replies
  • 0 kudos

Resolved! Cannot enable IGMP in STM32CubeIDE.

I am using a a very recent version of STM32CubeIDE (Version: 1.3.1) and STM32CubeMX (5.6.1.202004052303). I created a new project for the Nucleo-F207ZG board.I have enabled LWIP and then enabled UDP but the "IGMP module" has no "enabled" option. Is t...

Resolved! STM32F407 EXTI on PI10 not working

Hi guys, I want to use 10 external interrupts. 9 of them are working fine, but one of it makes trouble. I'm using CubeMX and configured the 10 pins as external interupt with falling edge detection and enabled the interrupts. The pins are: PB6, PB7, P...

user 143 by Associate III
  • 2372 Views
  • 5 replies
  • 0 kudos

Resolved! STM32F407 + Freertos + USB VCP + USART IRQ

Hello, I am triying to use the STM32F407 with Freertos ,USB VCP and USART interrupts. My problem is when I include USART interrupts with Freertos, the interrupt is always running. I did other project without the Freertos and everything is OK. I lea...

Asarm.1 by Associate
  • 1270 Views
  • 1 replies
  • 0 kudos

A note on patching internal templates during code generation

Lately I got stuck at a particular issue in STMCubeMX / STM32CubeIDE Device configuration tool, where a certain portion of the HAL library configuration was fixed and overwritten during code generation, more info here.---This above issue has been fix...

0693W000001qBrOQAU.png 0693W000001qBqaQAE.png 0693W000001qBqfQAE.png
TPeča.1 by Associate II
  • 2757 Views
  • 2 replies
  • 1 kudos

[FYI] STM32CubeMX on Raspberry Pi

FYI: To run the cube on raspberry:Download and install Oracle java 1.8.0, arm32 hard float cd /opt; tar xvf jdk-8u251-linux-arm32-vfp-hflt.tar.gzDownload and unzip STM32CubeMXunzip en.stm32cubemx_v5-6-1.zipStart installer/opt/jdk1.8.0_251/bin/java -j...

koendv by Associate II
  • 2721 Views
  • 2 replies
  • 0 kudos

Resolved! Timer not working as expected

Hi,I want to measure time between two events. The events come in as ext- interrupts. I set up a timer like this:TIM_MasterConfigTypeDef sMasterConfig = {0};   /* USER CODE BEGIN TIM6_Init 1 */   /* USER CODE END TIM6_Init 1 */ htim6.Instance = ...

SSchu.4 by Associate II
  • 3340 Views
  • 3 replies
  • 0 kudos