cancel
Showing results for 
Search instead for 
Did you mean: 

How does one observe peripheral registers with CubeIDE?

Sking.21
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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".

View solution in original post

3 REPLIES 3
TDK
Guru

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
Associate III

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
Associate II

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