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.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 594 Views
  • 5 replies
  • 6 kudos

USB Serial firmware example for STM32F303CBT6?

Is there example code for using the Virtual Port Com from CubeMX?(Determine baud, rxchar, txchar [preferably with DMA], CD, etc)I found this: https://damogranlabs.com/2018/02/stm32-usb-cdc/and it looks like a good starting point, but even though I ca...

TJohn.14 by Associate II
  • 787 Views
  • 1 replies
  • 0 kudos

USB CDC won't talk to PuTTY

Background: Quick USB stack test on Nucleo F429 with CubeMX-generated USB CDC stack.Added one line to echo input in CDC_Receive_FS (example here: https://damogranlabs.com/2018/02/stm32-usb-cdc/)Windows 10 PC sees virtual COM7 port (usual ding-****, s...

osSignalSet+FreeRTOS Problem

void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim){ /* USER CODE BEGIN Callback 0 */  if (htim->Instance == TIM1) {  osSignalSet(defaultTaskHandle, 0x0001); } /* USER CODE END Callback 0 */ if (htim->Instance == TIM4) {  HAL_IncTick(); } /* ...

km naxin by Associate II
  • 638 Views
  • 1 replies
  • 0 kudos

Resolved! USER CODE block disappeared during upgrade

Auto-genned code in v1.14 had USER CODE blocks in MX_CAN1_Init, but after upgrading to v1.15 they are no longer there.Where should I put my ConfigFilter and ActivateNotification calls now?

PLitt by Associate
  • 843 Views
  • 4 replies
  • 0 kudos

COM Port not appear in my device manager (USB CDC) STM32F446MEY

Hello,I start the development on a STM32F446MEY but I meet a problem on the USB part.I use STM32CubeMX to set my board in device mode (CDC) but when I load the program, it does not appear in my device manager while the initialization proceeds without...

ALips by Associate
  • 426 Views
  • 0 replies
  • 0 kudos