cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot enable SPI1 on F427

ReinhardD
Associate

Hi,

I cannot enable SPI1 interface in CubeMX with STM32F427.

I only see the message "I2S1" must be disabled":

ReinhardD_0-1697102015927.png

But I2S is not used in my project.

In Pinout view it is possible to select Pins PA4 to PA5 and PB5 for SPI1-sugnals without error messages.

Whats wrong here?

 

1 ACCEPTED SOLUTION

Accepted Solutions
ReinhardD
Associate

I tried a complete new empty project, and it was the same: SPI1 was greyed out.

Then I closed CubeMX and started it as administrator: and it works :thinking_face:

No idea, what is the difference, but I can go on now with my project.

View solution in original post

2 REPLIES 2
Souhaib MAZHOUD
ST Employee

Hello @ReinhardD 

Can you share your .ioc file if possible to reproduce your issue and which CubeMX version do you use?

Thank you

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.

ReinhardD
Associate

I tried a complete new empty project, and it was the same: SPI1 was greyed out.

Then I closed CubeMX and started it as administrator: and it works :thinking_face:

No idea, what is the difference, but I can go on now with my project.