需要为stm32f407设置FLASH_ACR LATENCY吗?

huangapple go评论52阅读模式
英文:

Is it nesessary to set FLASH_ACR LATENCY for stm32f407?

问题

我使用stm32f407来读取内部闪存。在rm手册中,它说在读取闪存时需要将延迟设置为5WS,时钟频率为168MHz,重置后延迟为0WS。但我阅读了ST的演示和其他互联网上的代码,它们都没有设置延迟。为什么它们不设置延迟,或者rm手册是不正确的呢?谢谢。

英文:

I use stm32f407 to read internal flash.In rm book,it says need to set latency 5WS with 168MHz when reading flash, after reset latency is 0WS.But I read ST demo, and other code on Internet.None of them set the latency.Why dont they set latency or rm book is not true?
Thank you.

答案1

得分: 1

After reset the clock speed is 16MHz. At this speed wait states are not required.

If you want to increase the clock speed you must enable the wait states first.

英文:

After reset the clock speed is 16MHz. At this speed wait states are not required.

If you want to increase the clock speed you must enable the wait states first.

huangapple
  • 本文由 发表于 2023年4月20日 08:50:36
  • 转载请务必保留本文链接:https://go.coder-hub.com/76059799.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定