Skip to main content
Junde
Senior III
March 23, 2023
Solved

How to config the MPU of stm32h743iit6?

  • March 23, 2023
  • 4 replies
  • 2476 views

Hi,

I want to extend SDRAM by FMC at stm32h743iit6. When configuring the MPU, there was some error as below, what are the wrong parameters?0693W00000aJZk1QAG.png 

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

Hello @Junde​,

That's the point, if you are not executing from SDRAM, you may don't need to configure the MPU since the default configuration of SDRAM FMC is device memory XN. After all, it depends on your implementation.

I hope my answer has helped you. When your question is answered please close this topic by marking as Best the reply that answered you, it will help others find that answer faster.

Thanks for your contribution. 

4 replies

ST Technical Moderator
March 24, 2023

Hello @Junde​,

Thank you for your contribution on ST Community.

What is the purpose of using MPU? I couldn't get your point to extend SDRAM!

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
Junde
JundeAuthor
Senior III
March 28, 2023

I don't need the MPU this time, but cubeMx recommends I use it since I config it.

I want to use the SDRAM for the LTDC frame buffer.

After I disable the MPU, all is working well.

Thanks.

FBLBest answer
ST Technical Moderator
March 29, 2023

Hello @Junde​,

That's the point, if you are not executing from SDRAM, you may don't need to configure the MPU since the default configuration of SDRAM FMC is device memory XN. After all, it depends on your implementation.

I hope my answer has helped you. When your question is answered please close this topic by marking as Best the reply that answered you, it will help others find that answer faster.

Thanks for your contribution. 

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
Junde
JundeAuthor
Senior III
March 30, 2023

Of cause your answer is helpful, thanks @F.Belaid​ for your good reply.

Have a good day.