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
  • 685 Views
  • 5 replies
  • 7 kudos

trying to interface stm32g4 with adxl345 . my connection with i2c is established(led on). but not getting values when debugged and checked

 if(HAL_I2C_IsDeviceReady(&hi2c1,0xA6,3,100)==HAL_OK)   {      HAL_GPIO_WritePin(GPIOA,GPIO_PIN_5,GPIO_PIN_SET);      HAL_Delay(500);      HAL_GPIO_WritePin(GPIOA,GPIO_PIN_5,GPIO_PIN_RESET);      HAL_Delay(500);   }   DATA_BUFF[0]=0x2D; //addr of POW...

ssib9 by Associate II
  • 482 Views
  • 0 replies
  • 0 kudos

Resolved! The SystemClock_Config function is not declared static type

HI,I set up STM32CubeMX to declare SystemClock_Config as static.However, SystemClock_Config is not declared static.The versions in question were STM32CubeMX 6.3 & STM32Cube FW_F4 V1.26.1.I also tried the latest version of STM32CubeMX 6.5 & STM32Cube ...

0693W00000LxeqYQAR.png
Mkim.4 by Associate
  • 1253 Views
  • 1 replies
  • 0 kudos

Resolved! STM32G474 DMA cannot write to DAC_DHRx register

Hi everyone,I am using the NUCLEO-G474RE development board with STM32G474RE MCU​The ioc file is attached, and this is main function:int main(void) { /* USER CODE BEGIN 1 */   /* USER CODE END 1 */   /* MCU Configuration-------------------------...

0693W00000Ly1LTQAZ.png
Shen by Associate II
  • 1471 Views
  • 3 replies
  • 0 kudos

FATFS middleware: invert card detect logic level

I'm using STM32CubeMX 6.5.0, MCU STM32L4A6ZGTx on NUCLEO-L4A6ZG, and an Adafruit 4682 Micro SD SPI or SDIO Card Breakout Board. On this board, the card detect line (DET) "is connected to GND internally when there's no card, but when one is inserted i...

CKugl.1 by Senior II
  • 1533 Views
  • 2 replies
  • 0 kudos