cancel
Showing results for 
Search instead for 
Did you mean: 

My cube ide is not auto generating code for modified GPIO's of H755ZI-Q ioc file.

Faizan_001
Associate

hello, 

I have started a project where I have to use SPI, USART, and some modified labeled GPIOs in the nucleo-H755ZI-Q (nucleo-144). Whenever I configure the GPIOs in my ioc file and click generate code. My Cube IDE is not auto-generating code for my modified GPIOs. i have checked again and again there is no option for selecting the core for GPIO_output. Has anyone ever encountered such a problem? For reference, I will attach my project file. 

 

1. I have used Cube MX for generating the IOC file and then imported it into Cube IDE. It did not work.

2. I have repair reinstalled my Cube IDE. No use, did not work. 

3. I have downloaded and installed the upgraded version 1.18.1. still facing the problem.

4. I have downloaded and installed the 1.16.0 version. still facing the same problem. 

1 ACCEPTED SOLUTION

Accepted Solutions

Go to the GPIO tab on the left in an recent version of CubeMX.  v6.14.1 works.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

5 REPLIES 5
Mahmoud Ben Romdhane
ST Employee

Hello @Faizan_001 ,

 

First let me thank you for posting and welcome to the ST Community.

You request is under investigation, and I will get back to you ASAP.

 

Thanks.

Mahmoud

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.

TDK
Super User

None of your GPIO pins have been assigned a core context. Assign them here and they will be initialized in the corresponding core's code.

TDK_0-1750693499838.png

 

If you feel a post has answered your question, please click "Accept as Solution".

Can i ask which software or cube ide version you are using? Can you navigate me from where will I get this options ?

 

Hello @Faizan_001 ,

Further to your comment, you can use STM32CubeMX 1.14.1.

Just click on GPIO under System Core and you can access to the GPIO Parameter Settings.

MahmoudBenRomdhane_0-1751278563713.png

Thanks.

Mahmoud

 

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.

Go to the GPIO tab on the left in an recent version of CubeMX.  v6.14.1 works.

If you feel a post has answered your question, please click "Accept as Solution".