Skip to main content
Associate
October 12, 2023
Solved

Cannot enable SPI1 on F427

  • October 12, 2023
  • 2 replies
  • 1281 views

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?

 

This topic has been closed for replies.
Best answer by ReinhardD

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.

2 replies

Technical Moderator
October 12, 2023

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.
ReinhardDAuthorBest answer
Associate
October 12, 2023

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.