Skip to main content
MMn.2
Visitor II
January 27, 2022
Question

STM32H7 TCM RAM access speed

  • January 27, 2022
  • 6 replies
  • 2122 views

Reference manual says that TCM RAMs are accessible at the maximum clock speed without any latency, but to perform accesses at a CPU speed higher than 520 MHz, one must disable the ECC on this RAM through the CPUFREQ_BOOST option byte. What happens if I clock MCU at 550Mhz without the CPUFREQ_BOOST byte set?

This topic has been closed for replies.

6 replies

ST Employee
January 28, 2022

Hello @MMn.2​ 

This constraint is based on design freq limits and characterization (temperatures & Vdd range) of the STM32H7.

If you do that you may encounter some troubles, such as HardFault, NMI, BusLock,...

BR,

Bruno

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.
waclawek.jan
Super User
January 30, 2022

Hi @Bruno_ST​ ,

What is the relationship between CPUFREQ_BOOST in FLASH_OPTSR2_x and CPU_FREQ_BOOST in SYSCFG_UR18, and why are they called differently (i.e. both can't be found with a simple text search)? Btw., DS mentions only CPU_FREQ_BOOST.

JW

ST Employee
January 31, 2022

Hello @Community member​ 

Thanks for reporting, yes it is same only CPU_FREQ_BOOST should be used (like DS)

Update of the doc RM0468 have been logged into our system.

BR,

Bruno

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.
waclawek.jan
Super User
January 31, 2022

Hi @Bruno_ST​ ,

Thanks for the prompt reply.

so, is it correct to say, that FLASH_OPTSR2_x.CPU_FREQ_BOOST bit is copied upon reset by hardware into SYSCFG_UR18.CPU_FREQ_BOOST; and then in runtime, user can modify SYSCFG_UR18.CPU_FREQ_BOOST to enable/disable ECC for TCM?

JW

ST Employee
January 31, 2022

Hello @Community member​ 

Yes and no, i won't say that, SYSCFG_UR18.CPU_FREQ_BOOST is a readonly bit.

BR,

Bruno

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.
waclawek.jan
Super User
February 1, 2022

Oh, indeed. Thanks for the explanation.

JW