Skip to main content
Uwe Bonnes
Chief
January 2, 2019
Solved

STM32H7: Width of FLASH_ACR_LATENCY in rm0433 versus stm32h743xx.h

  • January 2, 2019
  • 6 replies
  • 1686 views

Hello and all good wishes for the new year!

While RM0433 has 4 bits reserved for FLASH_ACR_LATENCY, stm32h743xx.h only defined

#define FLASH_ACR_LATENCY_Msk               (0x7U << FLASH_ACR_LATENCY_Pos)

What counts? Is bit3 in FLASH_ACR evaluated by the STM32H743 or not?

This topic has been closed for replies.
Best answer by Imen.D

Hi @alister​ 

You are right, I raised the request internally to align the github and the RM with the Cube firmware.

So, the defined of the FLASH_ACR LATENCY will be updated to 3 bits (instead of 4 bits).

Thanks for your contribution.

Imen

6 replies

Tesla DeLorean
Guru
January 2, 2019

Will need to check my notes, but you should be able to do a write-readback check to see what gates were fabbed. ​I have parts that ran up to 533 MHz.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Khouloud GARSI
ST Employee
January 3, 2019

Hi @Uwe Bonnes​ ,

All the best for 2019 :smiling_face_with_smiling_eyes:

The header file is correct: The "FLASH_ACR -> LATENCY" bit-field is mapped on 3 bits. 

-> The reference manual will be updated accordingly.

Many thanks for your continuous valuable feedback!

Khouloud.

alister
Senior III
October 18, 2021

RM0433 Rev 7 still says FLASH_ACR LATENCY is 4 bits and every version of stm32h743xx.h on github says FLASH_ACR_LATENCY_Msk 4 bits too.

@Khouloud GARSI​ or @Imen DAHMEN​, could you confirm please?

Imen.DBest answer
ST Technical Moderator
October 21, 2021

Hi @alister​ 

You are right, I raised the request internally to align the github and the RM with the Cube firmware.

So, the defined of the FLASH_ACR LATENCY will be updated to 3 bits (instead of 4 bits).

Thanks for your contribution.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
alister
Senior III
October 21, 2021

Hi @Imen DAHMEN​ 

I have a problem in production that may depend on this.

Is this the exact correction to the STM32H7 FLASH_ACR documentation please?

Bits 31:6 reserved

Bits 5:4 WRHIGHFREQ

Bit 3 reserved

Bits 2:0 LATENCY

Thanks

Alister