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

Resolved! NUCLEO-L476RG GPIO port D ?

When I generate code with CubeMX the MX_GPIO_Init code contains: /*Configure GPIO pin : PD2 */ GPIO_InitStruct.Pin = GPIO_PIN_2; GPIO_InitStruct.Mode = GPIO_MODE_ANALOG; GPIO_InitStruct.Pull = GPIO_NOPULL; HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);There...

Lama by Associate III
  • 1261 Views
  • 4 replies
  • 0 kudos

Resolved! CAN-Bus Setup for NUCLEO-F042K6

Hi,I try to get the CAN BUS communication working on my NUCLEO-F042K6 dev Board. I Used the instrucions attached in the PDF. First I used the Loop-Back Mode to test CAN communication. I have my transmitting messages in the main loop they only execute...

MBoes.1 by Associate II
  • 7243 Views
  • 6 replies
  • 1 kudos

LwIP build fails on multiple defs of sys_msleep (makefile)

CubeMx version: 5.4.0I used CubeMX to configure LwIP with FreeRTOS. I am using the Makefile toolchain. When I build the code *the linker complains* the following error -> multiple definition of `sys_msleep'My dev environment is Ubuntu 18.04, CubeMX 5...

DRatu.1 by Associate
  • 494 Views
  • 1 replies
  • 0 kudos

Resolved! USB doesn't work on windows 10

HelloIn the PC app, I work with the STM32F722RETx LQFP64 micro-controllerIn WIN7 it always works. At WIN10 does not work.After I turn off and turn on the card, the board data that the system sees (both win7 and win10) is:Status for device COM2       ...

0690X00000ARF4nQAH.png 0690X00000ARF5HQAX.png 0690X00000ARF5CQAX.png 0690X00000ARF57QAH.png
JKhal by Associate III
  • 616 Views
  • 1 replies
  • 0 kudos

Resolved! FIFO configuration for U(S)ART instances of STM32L4R5

The reference manual (RM0432) for the STM32L4R5 shows that UART4 & UART5 support two 8-byte FIFOs. I can't figure out how to configure the IRQ level thresholds. CubeMX shows levels for LPUART1 and USART1/2/3, but not UART4/5."Table 264. USART/LPUART ...

WTayl by Associate II
  • 2549 Views
  • 6 replies
  • 0 kudos

Toggle SDA Pin on STM32F767ZI

Hi there,I use a stm32 f767zi nucleo board in corporation with a security chip from microchip technology (atecc508a). To send a wake condition over i2c communication I have to set the sda pin for a certain amount of time "low". Is there any function ...