cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with CubeMx's X-CUBE-AI code generation for the H7

Fibo
Associate II

Here are the software versions I'm using:

  • STM32CubeMx - 6.3.0
  • MCU package for STM32H7 - 1.9.0
  • X-CUBE-AI - 7.0.0
  • MCU - STM32H743ZITx
  • IAR EW for ARM - 8.40.1

I run into this problem since I have added the X-CUBE-AI software pack. every time I open the X-CUBE-AI configuration window, I get the following error:

Clock and Peripheral parameters not set for best performance, automatically fix?

further inspection shows that the following configurations are modified every time I open the X-CUBE-AI configuration window:

  1. System_Core->RCC->HSE: changed from "Crystal/Ceramic Resonator" to "BYPASS Clock Source".
  2. Clock_Configuration->HSE_Input_Frequency: changed from 16 to 8.
  3. System_Core->CORTEX_M7->CPU_I_Cache and CPU_D_Cache are FORCED to "Enabled" and cannot be disabled.
  4. IAR->Project->Options->C/C++_Compiler->Language_1->Language is changed from "Auto" to "C".

This is extremely inconvenient and make experimenting with neural network very frustrating and impractical. Please fix / provide a workaround

2 REPLIES 2
DRuss.5
Associate II

I can confirm that this is happening for me as well.

My configuration:

  • STM32CubeMx - 6.3.0
  • MCU package for STM32H7 - 1.9.0
  • X-CUBE-AI - 7.0.0
  • MCU - STM32H753XIHx
  • STM32CubeIDE 1.7.0

Seeing as how this was originally posted in August and it is now November, is there any word from ST on this? I will second that this is very inconvenient for the project(s) on which I am about to start.

ldeha.1
Associate

I also have this problem. May some person deal with it to help me ?