STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

What is the Problem with my Program? (Using Mat-Target)

@The things i use:Hardware: Stm32F446RESoftware: CubeMX V.5.4 ; Matlab R2019b ; CubeIDE V.1.1 ; Mat-TargetMy Question is: Where is the Mistake in my Programm. I defined the PA5 as a Gpio output because that´s the Output for the LD2 LED on my board wh...

Driko by Associate II
  • 1689 Views
  • 2 replies
  • 1 kudos

STM32CubeMX H7x5/H7x7 USB CDC bug

Hi there,I'm using the H7 dual core MCU's and using the M4 core for USB CDC.There is an issue with using the M4 core with USB CDC.The reference manual states at page 137 that address 0x1FF00000 - 0x1FF1FFFF is available to the M7 core as "System Memo...

Mvan .31 by Associate II
  • 944 Views
  • 1 replies
  • 2 kudos

Resolved! What is the difference between timer interrupts?

Hello when I enter NVIC settings for timer interrupt, there are different interrupts for TIM1. Such as: TIM1 break interrupt, TIM1 update interrupt, TIM1 trigger and commutation interrupts and TIM1 capture and compare interrupt. What is the differenc...

0693W000000TszLQAS.png
GunkutA by Senior
  • 5683 Views
  • 2 replies
  • 0 kudos

STM32F103 (Blue Pill), CUBE MX and PWM

I am trying to setup a PWM output with Timer 4 by using CubeMX. When starting the code it always stops at command HAL_TIM_PWM_Start(&htim4,TIM_CHANNEL_1)Attached are the setup in the main() and setup in the CubeMX.Any ideas what am I missing? MX_GPI...

0693W000000TZspQAG.png
BJerk.1 by Associate II
  • 771 Views
  • 2 replies
  • 0 kudos

Hi, I want to use a DMA to simply output array values to a whole GPIO port. I don't think I set it up correctly, as it doesn't work. I generated most of the code with CubeMX and used HAL. Should my code work ? How can I make it work ? Thanks !

Here's the context:I'm working on a STM32H743, I managed to output the array values manually to GPIOD (ie my MCU is not fried... You never know)I paid close attention to using the correct region D2 as stated here : //In my main.c:   #define BUFFER_SI...

0693W000000Tl1yQAC.png
JMarc.1 by Associate II
  • 469 Views
  • 2 replies
  • 0 kudos

Resolved! STM32CubeMX F3 USB bug

When I have enabled USB Device for stm32f3discovery, the usbd_conf.c had this lines (59..63):#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) static void PCDEx_SetConnectionState(PCD_HandleTypeDef *hpcd, uint8_t state); else void HAL_PCDEx_SetConnectionSta...