STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.13.0 released

We are pleased to announce to you that the release 6.13.0 of STM32CubeMX is available.What is new in 6.13.0:Added support for the following series, microcontrollers and microprocessors:STM32U3, STM32WL3x, STM32G411xx and STM32C0Added the support for ...

Proposed code generation optimization

It would be best if functions intended to be used to check status from within interrupt handlers are optimal. STM32CubeMX generates many utility functions which check whether a single bit is equal to that bit. It would probably be more efficient to...

BCoch by Senior
  • 427 Views
  • 6 replies
  • 0 kudos

Resolved! How to enable CAN on STM32F042F4P6 CubeMX?

I was searching for smaller and cheaper MCU with CAN network. I have chosen the STM32F042F4P6 trough CubeMX but now when I try to enable CAN in CubeMX I cannot because it's grayed. What am I doing wrong?

tdarlic by Associate II
  • 405 Views
  • 1 replies
  • 0 kudos

NUCLEO-L073RZ + SX1272MB2DAS LoRa and I-CUBE-LRWAN

Hello all,I have a NUCLEO-L073RZ with SX1272MB2DAS LoRa RF Expansion board and I’m not being able to run the firmware “End_Node�? provided in I-CUBE-LRWAN (1.2.0).The problem comes when “SystemClock_Config�? is called in main:void SystemClock_Config(...

Why the TCP Thread halts the other thread?

Dear friend,I've got two threads running on a STM32F107RCt6 MCU; One is a Modbus TCP Server thread with the stack size of 256 words and the other is a Modbus RTU thread with the same stack size.When there is no client connected to the Modbus tcp ser...

Mujtaba by Senior
  • 346 Views
  • 1 replies
  • 0 kudos

Resolved! SPI Receives junk

Hey everyone,I've got an SPI line setup on my stm32f722ze.Cache is not enabled. It worked and I'm not sure whether the code was changed, but it receives junk now. The DMA is triggered which shows that when I send data, it is receiving it, but not the...

0690X000006ClvoQAC.jpg 0690X000006ClvtQAC.jpg
con3 by Senior
  • 748 Views
  • 4 replies
  • 0 kudos

Bug: Atollic with CubeMX 5.0.0 non-responsive

Just upgraded to STCubeMX v5 which appeared to successfully open a project I just started. After agreeing to the annoying "Project has been changed, do you want to save" pop-up, Atollic became non-responsive. Is this a known bug? You have coded a rac...

0690X000006CSCcQAO.png

CubeMx bug ? Code generated does not link with c++

HelloAn F4 project with a timer in output compare mode generates in main.c a call to   HAL_TIM_MspPostInit(&htim1);This function is implemented in stm32f4xx_hal_msp.c but is declared in main.c file.If I change main.c to main.cpp. It does not link....

JulienD by Senior
  • 299 Views
  • 2 replies
  • 0 kudos