Skip to main content
MMn.2
Visitor II
Jan 27, 2022 2:32 PM UTC
Question

STM32H7 TCM RAM access speed

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
Jan 28, 2022 9:00 AM UTC

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
Jan 30, 2022 1:57 PM UTC

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
Jan 31, 2022 9:09 AM UTC

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
Jan 31, 2022 10:36 AM UTC

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
Jan 31, 2022 1:18 PM UTC

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
Feb 1, 2022 12:18 AM UTC

Oh, indeed. Thanks for the explanation.

JW