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! Why is the ADC w/DMA in STM32G4 not working?

I am initialising the ADC2 w/DMA via STM32CubeMX. Scan conv. = enabledcontinuous conv. = enabledDMA cont. requests = enabledoverrun behaviour = data preservednumber of conversions = 2 (channel 1 and channel 2)sequence of program (specific to DMA):1 -...

snjy1697 by Associate II
  • 1672 Views
  • 4 replies
  • 0 kudos

Hey everyone, for an IoT project I'm using an NUCLEO-L011K4. I need to use SPI to communicate with a RFM95 LoRa chip. For this I'm using Keil uvision, CubeMX and the HAL SPI library. I however can't manage to make it work. Can anyone help?

I think the issue lies within SPI not working correctly. I'm using the following function to transmit data using SPI.void RFM_Write(unsigned char RFM_Address, unsigned char RFM_Data) { uint8_t spiData[2]; spiData[0] = RFM_Address | 0x80; spiData[...

BKas.1 by Associate
  • 565 Views
  • 1 replies
  • 0 kudos

C++ main.cpp generation

Dear ST,Do we have a functionality to generate main.cpp from CubeMX? HAL supports C++ and it is possible to make project C++ by renaming main.c to main.cpp, but after regeneration you just get new main.c without your code, so again need to merge it m...