Problems with CubeMx's X-CUBE-AI code generation for the H7
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:
- System_Core->RCC->HSE: changed from "Crystal/Ceramic Resonator" to "BYPASS Clock Source".
- Clock_Configuration->HSE_Input_Frequency: changed from 16 to 8.
- System_Core->CORTEX_M7->CPU_I_Cache and CPU_D_Cache are FORCED to "Enabled" and cannot be disabled.
- 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
