cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7B3I-DK - Getting the SWV ITM To work

Garnett.Robert
Senior III

Hi,

 

I noticed a few people were having problems getting the SWV Console to work.  I had the same trouble with the STM32H7B3I-DK. Trace would work, but neither the ITM or the Profiler would produce anything.  I fixed it by making the clock frequency setting halsf of the SytemCoreClock frequency which was maxed out at 280 MHz.

 

Setting the Core Clock MHz to 140 did the trick:

 

2025-03-08_17-31-52.png

 

2 REPLIES 2
Semer CHERNI
ST Employee

Hello @Garnett.Robert 

First let me thank you for posting.

In fact the STM32H7B the traceportclk can take one of 4 clock sources:

  • HSI
  • CSI
  • HSE
  • PLL1 R

If the project is started from the MCU selector, the default value is HSI and if the project is started from the board selector the default value is PLL1R.

BR,
Semer.

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.

Pavel A.
Evangelist III

.