STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Issue with Linker Script in STM32CubeMX 6.12.1

Important Notice for STM32CubeMX Users Current Release: STM32CubeMX 6.12.1 Purpose: This release primarily addresses issues related to STM32MPUs. Problem: Issues introduced with the generated code for Makefile and CMake projects. Recommendation: For ...

SemerCHERNI_15-1729258098740.png SemerCHERNI_16-1729258098742.png SemerCHERNI_17-1729258098750.png SemerCHERNI_18-1729258098751.png

STM32CubeMX 6.12.1 released (updated)

Hello community, We are pleased to announce you that the minor release STM32CubeMX V6.12.1 is now available for download on st.com. Main issues fixed in this minor release: ADC init code error. When ADC is configured in multimode, an issue with the ...

STM32CubeMX 6.12.0 released

We are pleased to announce you that the official release of STM32CubeMX V6.12.0 is available. What is new in STM32CubeMX V6.12.0?New MCUs/MPUs series : STM32WB0 ,STM32MP25XX and STM32C071XXAdd support new CPNs STM32G4: Add support STM32G4 'Z’ and STM...

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
  • 1556 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
  • 2109 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
  • 245 Views
  • 1 replies
  • 0 kudos

CAN receiving HAL_CAN_ERROR_PARAM error????????

I have trying for two weeks but cant solve an error can you help me about the receive error.It is in stm32f4xx_hal_can.c at line 1136. The conditions given below;if ((hcan->State == HAL_CAN_STATE_READY) ||   (hcan->State == HAL_CAN_STATE_LISTEN...

gkema by Associate II
  • 415 Views
  • 1 replies
  • 0 kudos

How to stop properly Timer PWM generation (CH + CHN) ?

Hello!I work on 10KHz dual PWM (CH, CHN) generation with dead time implemented.In error handle I want to stop the timer, and now I do it like this:if(HAL_TIM_PWM_Stop(&htim8, TIM_CHANNEL_2) != HAL_OK) { //Error_Handler(); } //Stop channel xN if...

0690X00000BuYvHQAV.jpg 0690X00000BuYuxQAF.jpg 0690X00000BuYvbQAF.jpg 0690X00000BuYvWQAV.jpg
SFeje by Associate II
  • 4503 Views
  • 4 replies
  • 0 kudos

Hard fault occur during first byte receive

I am trying to receive 16bit data(at once) through SPI and transmit 8 bit data through USART.clock frequency 16MHz. All initialization done using STM32CubeMX. and build was successful .but after writing following codes , control enters in Hard Fault ...

barmy by Associate II
  • 586 Views
  • 4 replies
  • 0 kudos