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

Resolved! Why does the CubeMX-generated USB HID device send the wrong data when both endpoint and PMA address are changed?

This is a cross-post from https://stackoverflow.com/questions/59856541/stm32f3-cubemx-generated-usb-hid-device-sends-wrong-data-when-both-endpoint-andI'm debugging a problem with a composite device that I'm creating, and have recreated the issue in f...

CDew.1 by Associate III
  • 1353 Views
  • 1 replies
  • 0 kudos

Resolved! STM32F4DISC ADC in continous mode

Hi i have configured adc in continuos mode as you can se in MX_ADC1_Init(); but it only reads on first time when goes in the while(1) and never reads new value.void MX_ADC1_Init(void) { ADC_ChannelConfTypeDef sConfig = {0};   /** Configure the gl...

Mku1 by Associate III
  • 646 Views
  • 1 replies
  • 0 kudos

Cant Setup Timer Interrupt with HAL and STM32CubeMX.

Im using an STM32L452RE dev. board. and Im trying to set an interrupt once after some time. I have the following subroutines.#define MICROSECOND_TICK_COUNT 80 //clock = 80 MHZ i.e. 1e-6/(1/80e6)=80 TIM_HandleTypeDef myTimer;   void setupTimer(void){ ...

VChav.19 by Associate II
  • 1795 Views
  • 6 replies
  • 0 kudos