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! STM32F050C4 device.

How can I have more info about this device? Datasheet, examples and so on..Why I can't find it on the CubeMX (neither in Keil device list) also installing the F0 v1.0.0 package?Which device I've to set in Keil?Thanks in advance,Antonio

How do I change the initialization order to avoid a race condition (ISR vs. FreeRTOS init) during initialization?

CubeMX generates the main.c like this:int main(void){... MX_GPIO_Init(); MX_RTC_Init(); MX_NVIC_Init(); MX_FREERTOS_Init();...}We observe a sporadic crash during boot which we traced to an GPIO interrupt whose ISR calls into the FreeRTOS API (xQueueS...

Resolved! USB CDC not working with STM32CubeMX5.2.1 and stm32l151

I would like to migrate an older projekt based on stm32l151.I created a new config with STM32CubeMX5.2.1 with firmware package STM32Cube FW_L1 V1.9.0. I used USB CDC to create a virtual COM. But I don't get any device listed on my Host PC.I compared ...

Tulan by Associate
  • 846 Views
  • 1 replies
  • 0 kudos

Re-org files and folder structure, which is generated by CubeMx.

Hi,I would like to Re-org files and folder structure, which is generated by CubeMx.Re-org means a totally different files and folder structure.Can it be done?Can you please share a detailed example for such a template? Would be better if your example...

AFink by Associate III
  • 1738 Views
  • 0 replies
  • 0 kudos

STM32F4 CAN Rx Interrupt not servicing

void HAL_CAN_MspInit(CAN_HandleTypeDef* hcan) { GPIO_InitTypeDef GPIO_InitStruct = {0}; if(hcan->Instance==CAN1) { /* USER CODE BEGIN CAN1_MspInit 0 */   /* USER CODE END CAN1_MspInit 0 */ /* Peripheral clock enable */ __HAL_RCC_CAN...

RPann by Associate
  • 786 Views
  • 1 replies
  • 0 kudos