Skip to main content
Senior III
July 28, 2023
Solved

BUG: CubeMX allow to set priority for DebugMonitor_IRQn but programing manual NOT

  • July 28, 2023
  • 2 replies
  • 1392 views

In document programmin manual, PM0253,  SHPR1-3 registers allow to set priority for following handlers:

KamilDuljas_0-1690530311011.png

but Debug monitor writes to reserved field PRI_12:

KamilDuljas_1-1690530383485.png

The same ambigious is in Cortex M4 and perhaps in all

 

 
This topic has been closed for replies.
Best answer by KDJEM.1

Hello @Kamil Duljas ,

The PM0253 is aligned with Arm Cortex-M7 Devices Generic User Guide r1p2 description, but we got confirmation, you can use PRI_12 to set of the priority of debug monitor for Cortex-M7, Cortex-M4, Cortex-M3 and Cortex-M33.

Thank you for your contribution in STCommunity.

Kaouthar

2 replies

KDJEM.1
KDJEM.1Best answer
Technical Moderator
September 13, 2023

Hello @Kamil Duljas ,

The PM0253 is aligned with Arm Cortex-M7 Devices Generic User Guide r1p2 description, but we got confirmation, you can use PRI_12 to set of the priority of debug monitor for Cortex-M7, Cortex-M4, Cortex-M3 and Cortex-M33.

Thank you for your contribution in STCommunity.

Kaouthar

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.
Tesla DeLorean
Guru
September 13, 2023
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..