cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX and X-CUBE-AI co-existence

ERROR
Senior

Hi,

I have a project with TouchGFX based on STM32N6570-DK.

In STM32CubeMX, once I tried to add X-CUBE-AI, I got stuck, and the error is appeared as shown below.

ERROR_0-1756988586023.png

What does it mean?

Once I removed the TouchGFX Graphic Application, the X-CUBE-AI can be enabled, but the generator removed MX_TouchGFX_Init() etc.

Are there any side effects, if I restore the TouchGFX code manually?

And I’m curious — why does this limitation exist?

Regards!

1 ACCEPTED SOLUTION

Accepted Solutions
Souhaib MAZHOUD
ST Employee

Hello @ERROR 

Actually, X-Cube-AI and touchGFX cannot be used simultaneously. The explanation has already been discussed in this thread.

KR,

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Souhaib MAZHOUD
ST Employee

Hello @ERROR 

Actually, X-Cube-AI and touchGFX cannot be used simultaneously. The explanation has already been discussed in this thread.

KR,

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

ERROR
Senior

Hi @Souhaib MAZHOUD ,

thank you!