Skip to main content
Sking.21
Associate II
September 20, 2020
Solved

How does one observe peripheral registers with CubeIDE?

  • September 20, 2020
  • 3 replies
  • 5210 views

Remedial register view help needed.

I need to see DMA and UART registers, not having much luck.

ron239955_stm1 referred to the i/o registers window, how is this done?

From Debug Perspective, Registers View, I see only General Registers.

I notice that the "Debug views" reference from Help menu does not appear to correspond to the Registers View, so maybe this part of CubeIDE is still under construction(?)

Using STM32CubeIDE 1.4.2

This topic has been closed for replies.
Best answer by TDK

In the "SFRs" view. (Window -> Show View -> SFRs).

Note that viewing some registers can mess with the program logic. For example, reading USART_DR will clear the RXNE bit.

3 replies

TDK
TDKBest answer
September 20, 2020

In the "SFRs" view. (Window -> Show View -> SFRs).

Note that viewing some registers can mess with the program logic. For example, reading USART_DR will clear the RXNE bit.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Sking.21
Sking.21Author
Associate II
September 20, 2020

Aha. That helps.

I am using an F7 chip but SFR window showed F401 which no doubt explains why the register lables didn't correspond to the chip.

./.settings/com.st.stm32cube.ide.mcu.sfrview.prefs

referenced svd_file_path=<long path>/STM32F401.svd

Hmm.

removed the file completely and restarted... now at least the USARTs and UARTs correspond.

This is progress, thanks!

Khalilfayache
Visitor II
November 20, 2021

in STM32IDEcube to visualize the registers and modify them like in eclipse  i/o registers window you find in debug perspective SFRs.