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! Can DMA be used by an I2C slave to reply to an I2C bus read?

I'm using STM32CubeMX (5.0.0) and Atollic TrueSTUDIO (9.2.0) to implement I2C slave functionality on an STM32F3 series microcontroller. I am able to get the DMA to work accepting bytes from an I2C write command, but can't seem to get the DMA to prov...

BCoch by Senior
  • 678 Views
  • 2 replies
  • 0 kudos

Need Help with QSPI for STM32H7 Nucleo

Hi,i am trying to build up a QSPI connection with the STM32H7 Nucleo Board. But i am still struggling. I generated the project und did the setup with CubeMX. The Problem is that i can't send anything. I am measuring the CS and CLK with my oscilliscop...

MZogh by Associate II
  • 1188 Views
  • 4 replies
  • 0 kudos

Resolved! Bug in Code Generation for SM32F072 for ADC

ADC channel selection is generated like this:LL_ADC_REG_SetSequencerChannels(ADC1, LL_ADC_CHANNEL_0);LL_ADC_REG_SetSequencerChannels(ADC1, LL_ADC_CHANNEL_1);LL_ADC_REG_SetSequencerChannels(ADC1, LL_ADC_CHANNEL_TEMPSENSOR);and it is incorrect: there m...

DKara.11 by Associate
  • 714 Views
  • 2 replies
  • 0 kudos

Error (compile time) when generating LWIP from CubeMX 5.0?

Well, the generated LWIP/ethernetif.c contains the following (after the header):Expression SWIPdatas is undefined on line 13, column 8 in ethernetif_h7.ftl. The problematic instruction: ---------- ==> list SWIPdatas as SWIP [on line 13, column 1 in e...

MTeun by Associate II
  • 560 Views
  • 2 replies
  • 1 kudos

Why is MX_xxxx_Init()(HAL drivers) getting stuck in infinity loop if LL_RCC driver is used, instead of its HAL counterpart?

Mcu: STM32F446RET6STM32CubeMX 5.0.0 (STM32Cube V1.0)So, yeah i figured out that if i use LL_RCC_DRIVER and then any periephal which only does have HAL_driver implemented by ST, it will get stuck in infinity loop in the corresponding init function.ie....

JoniS by Senior
  • 506 Views
  • 3 replies
  • 0 kudos

CubeMX more GPIO View and FATFS

Dear ST support,1. The following attached the issue of some pins being overwritten by the last pin configuration, I also didn't find the hide feature in the configuration pop-up.how i can solve this issue ?2. what is the correct configuration for 1-b...

Resolved! Problems with STM32F091RC-Nucleo demo

We are having trouble getting the SPI_FullDuplex_ComPolling demo working with TrueSTUDIO. It works in uVision, have not tried IAR yet.When we import the project we get the following message for the Build Configuration:   • "Orphaned configuration. No...

Justin1 by Senior
  • 616 Views
  • 2 replies
  • 0 kudos

SPI DMA HELP! what is going on ?????

any help would be very much appreciated.for the past few weeks I have been trying to get SPI & DMA working with HALwhat an up hill struggle !still only scratching the surface of it and this coding is not for the faint hearted or people that give up e...

JHERI by Senior
  • 1487 Views
  • 7 replies
  • 0 kudos