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: STM32N6, STM32U3, STM32WL3x, STM32G411xx and STM32C0Added the ...

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

NUCLEO-L412KB : USB-CDC Initial FAIL

I have try to use the USB-VCP (Virtual COM Port) on the STM32L412KB (32-pin) but I have an issue that the code which is generated from the CubeMX got stuck at MX_USB_DEVICE_Init() and I try to debug in the Atollic TrueStudio, it causes the hard fault...

ARats by Associate
  • 1803 Views
  • 12 replies
  • 1 kudos

Has anyone used the LwIP Raw API with RTOS?

I'm starting to get comfortable with CMSIS-RTOS (and the STM32 implementation "uniqueness's" :) ), and next phase is adding LwIP support to my project. My IP needs are fairly simple, so was originally planning on using the Raw API. I see using Cube...

willcfj by Senior
  • 2444 Views
  • 12 replies
  • 0 kudos

Free-RTOS on STM32L151C6 using STM32CubeMX [Timing issue]

Hello,i am making a simple project for STM32L151C6 using Cube. I am using as timing source the TIM2 and i just use the below code to toggle a LED:/* USER CODE END Header_StartDefaultTask */ void StartDefaultTask(void const * argument) { /* init cod...

SProg by Associate III
  • 296 Views
  • 1 replies
  • 0 kudos