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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 659 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1578 Views
  • 5 replies
  • 7 kudos

The option 'generate code as pair of .c/.h files per peripherals and middleware' does not seem to work (at least for Keil MDK-ARM)

When selecting this option in the Project Manager section of CubeMX, the build process in Keil generates a linker error:.\Objects\Aeolics.axf: Error: L6218E: Undefined symbol MX_GPIO_Init (referred from main.o)..\Objects\Aeolics.axf: Error: L6218E: U...

Resolved! STM32L431KBU6 - can't get past clock initialization

Hi!I'm just starting learning STM32, I got a st-link cutoff from a nucleo-board. I find programming ready boards a bit boring, so I went straight to naked MCU on breakout boards.So I got this STM32L431KBU6 chip on breakout and I can't get it to star...

0690X000008BEo0QAG.png 0690X000008BEpDQAW.png 0690X000008BEojQAG.png

STM32CubeMX / STM32CubeIDE100 - Recommendations

In the build-in CubeMX, there are some improvements possible:Unable to alter some pull-down boxes in the Clock Configuration, they disappear when trying to move the mouse to the desired selection (must use cursor and enter keys instead)When selection...

Jack3 by Senior III
  • 430 Views
  • 0 replies
  • 0 kudos

UART DMA Transmit and receive not working

I'm using Atollic True Studio V 9.0 , CubeMx v5.1.0, STM32F407VG-DISC1 board and enabled DMA for UART2. My code:int main(void) { int i = 0; HAL_Init(); for(i = 0; i<10; i++) rx_arr[i] = 0; for(i = 0; i<10; i++) tx_arr[i] = i*2;   SystemCl...

Resolved! CubeMX and LwIP : DHCP packet is sent, but something is wrong

Hello,I'm trying to get DHCP working as an initial step in using LwIP. Have generated project with CubeMX and now I'm catching the problem. Using Wireshark, I can see that DHCP Discover packet is sent, but no response is received. IT seems that somet...

bully by Senior
  • 1365 Views
  • 1 replies
  • 0 kudos

Resolved! Problem: If I set RTOS task priority to value higher than osPriorityNormal causes a Hard Fault when running on STM32F47xx. Has anyone else encountered this?

I'm running CubeMX 5.1 with FW_F4 V1.24.0 and Atollic TrueStudio 9.3.0. I have eleven RTOS tasks defined in CubeMX, but only one is actually invoked with its StartTask routine. As long as the priority on the task is osPriorityNormal(0) or lower, th...

cjwilde by Associate II
  • 1793 Views
  • 3 replies
  • 0 kudos