ITM output via SWO on S32k312

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ITM output via SWO on S32k312

769 Views
neurolyzer
Contributor II

Hi,

I am trying to configure the SWO in the S32k312. But since the S32k312 lacks an TPIU how can I configure the encoding of the output and the clock rate which usually both are done via TPIU registers

TPIU_ACPR and TPIU_SPPR

I am setting up DEMCR, ITM_TER and ITM_TPR any registers that I am missing?

2 Replies

451 Views
viktor_marhansky
Contributor I

Hello,
Did you manage to make it work in the end?

I am struggling with the same issue:
https://community.nxp.com/t5/S32K/SWV-ITM-gt-SWO-on-S32k324-not-working/td-p/1805855
Any info on this topic is much appreciated.
With regards,
Viktor

0 Kudos
Reply

426 Views
neurolyzer
Contributor II

Hi,

no i did not manage to get any output via ITM running. I solved the issue with the missing TPIU after I discovered that there is a SWO registerblock where the format of the output can be configured. Afterwards I was able to get some output through SWO when I set up the pc sampling functionality but ITM output never worked for me.

0 Kudos
Reply