Skip to main content
Aleks
Associate III
March 26, 2022
Solved

Is STM32H725 VTOR bit assignments is not correspond ARM7M arcitecture?

  • March 26, 2022
  • 3 replies
  • 958 views

Hi!

ST manual PM0253:

[31:9] TBLOFF Vector table base offset field. It contains bits [29:7] of the offset of the table base from the bottom of the memory map.

[8:0] - Reserved

Arm v7-M Architecture Reference Manual:

Bits[31:7] of the vector table address.

Older documentation describes this field as the vector table address offset. The description

in this manual clarifies the use of this register.

Bits[6:0] - Reserved

Is there wrong assignment description in PM0253?

This topic has been closed for replies.
Best answer by Pavel A.

For STM32H7 the vectors address must be aligned at least on 0x400

Learned in a hard way ((

See at end of this thread. @Piranha​ explains it.

Yes, on M7 VTOR is the vector table base address - including the lower zero bits - because of alignment requirement.

3 replies

Pavel A.
Pavel A.Best answer
March 27, 2022

For STM32H7 the vectors address must be aligned at least on 0x400

Learned in a hard way ((

See at end of this thread. @Piranha​ explains it.

Yes, on M7 VTOR is the vector table base address - including the lower zero bits - because of alignment requirement.

Tesla DeLorean
Guru
March 27, 2022

It depends on how the ARM IP builds​ based on the number of interrupt used by the NVIC, unused inputs are optimized away.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Aleks
AleksAuthor
Associate III
March 29, 2022

Great thanks for additional material.