Skip to main content
Nickelgrass
Senior
December 22, 2022
Solved

In which document are the DBG registers of the STM32G4xx described?

I am missing a detailed description of the DBG (DWT) registers in RM0440 chapter 47.Also in the PM0214 I could not find any details. In what document are these registers described?

Thanks

This topic has been closed for replies.
AScha.3
AScha.3Best answer
Super User
December 22, 2022

the debug is part of the Arm Cortex-M4 core, so look at arm :

https://developer.arm.com/documentation/100166/0001/Debug/Debug-configuration/Debug-register-summary?lang=en

+

>> Debug registers are described in the Armv7-M Architectural Reference Manual.

in RM :

0693W00000WLbk6QAD.png

If you feel a post has answered your question, please click on " Best Answer ".

4 replies

AScha.3
AScha.3Best answer
Super User
December 22, 2022

the debug is part of the Arm Cortex-M4 core, so look at arm :

https://developer.arm.com/documentation/100166/0001/Debug/Debug-configuration/Debug-register-summary?lang=en

+

>> Debug registers are described in the Armv7-M Architectural Reference Manual.

in RM :

0693W00000WLbk6QAD.png

If you feel a post has answered your question, please click on " Best Answer ".
Nickelgrass
Senior
December 22, 2022

Thank you.

What exact document is the screenshot from? The Armv7-M Architectural Reference Manual looks different. In my RM0440 chapter 46 is USB related.

AScha.3
Super User
December 22, 2022

screenshot from:

STM32G4-serie-manual

0693W00000WLc8PQAT.png0693W00000WLcDhQAL.pngRM0440 rev.2 .

If you feel a post has answered your question, please click on " Best Answer ".
Nickelgrass
Senior
December 22, 2022

Ah ok. I got rev3.