<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic To enable Trace pins in S32K312EVB-Q172 Evaluation board in S32K</title>
    <link>https://community.nxp.com/t5/S32K/To-enable-Trace-pins-in-S32K312EVB-Q172-Evaluation-board/m-p/1697174#M25684</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to employ trace configurations, we are using the S32K3X4EVB-S172 Evaluation Board.&lt;/P&gt;&lt;P&gt;We're having trouble figuring out how to enable the trace pins. We also referred to the Customer Evaluation Board for S32K3x4 MCUs Hardware User Manual.&lt;/P&gt;&lt;P&gt;Could you kindly propose a solution to the above?&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2023 04:42:53 GMT</pubDate>
    <dc:creator>KIRANSRI</dc:creator>
    <dc:date>2023-08-02T04:42:53Z</dc:date>
    <item>
      <title>To enable Trace pins in S32K312EVB-Q172 Evaluation board</title>
      <link>https://community.nxp.com/t5/S32K/To-enable-Trace-pins-in-S32K312EVB-Q172-Evaluation-board/m-p/1697174#M25684</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to employ trace configurations, we are using the S32K3X4EVB-S172 Evaluation Board.&lt;/P&gt;&lt;P&gt;We're having trouble figuring out how to enable the trace pins. We also referred to the Customer Evaluation Board for S32K3x4 MCUs Hardware User Manual.&lt;/P&gt;&lt;P&gt;Could you kindly propose a solution to the above?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 04:42:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/To-enable-Trace-pins-in-S32K312EVB-Q172-Evaluation-board/m-p/1697174#M25684</guid>
      <dc:creator>KIRANSRI</dc:creator>
      <dc:date>2023-08-02T04:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: To enable Trace pins in S32K312EVB-Q172 Evaluation board</title>
      <link>https://community.nxp.com/t5/S32K/To-enable-Trace-pins-in-S32K312EVB-Q172-Evaluation-board/m-p/1697565#M25705</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221095"&gt;@KIRANSRI&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Depends on the debugger you use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SEGGER solution is here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://wiki.segger.com/NXP_S32K3xx" target="_blank" rel="noopener"&gt;https://wiki.segger.com/NXP_S32K3xx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There are projects for the S32K344 part.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is Lauterbach script that enables the ETM and TRACE pins on S32K344:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;;this script config s32k3 GPIOs for TRACE (trace clk, d0~d3), and enable ETM trace
;application code should not change these GPIO MSCR registers

;Set SWO override needed for TPIU trace
;Data.Set EDBG:0x40000604 %Long 0yXXXXxxxxX1X0xxxxXXXXxxxxXXXXxxxx

d.s SD:0x40290558 %Long 0x00200107	;PTG6 as TRACE CLKOUT
d.s SD:0x4029055C %Long 0x00200107	;PTG7 as TRACE D0
d.s SD:0x4029057C %Long 0x00200107	;PTG15 as TRACE D1 (GPIO207)
d.s SD:0x40290580 %Long 0x00200107	;PTG16 as TRACE D2 (GPIO208)
d.s SD:0x4029053C %Long 0x00200107	;PTF31 as TRACE D3 (GPIO191)

SYStem.CONFIG.CONNECTOR MIPI20T
SYStem.Option DUALPORT ON
SYStem.MemAccess DAP

TPIU.PortSize 4
TPIU.PortMode Continuous
ITM.DataTrace CorrelatedData
ITM.ON
ETM.Trace ON
ETM.COND ALL
ETM.ON

Trace.METHOD CAnalyzer
Trace.AutoInit ON
;CAnalyzer.AutoFocus
Trace.TraceCLOCK 44MHz
Trace.THreshold 1.5

;for a specific Trace.List window, use the command "Trace.List /Track" can link the list window with the Chart window.
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 11:23:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/To-enable-Trace-pins-in-S32K312EVB-Q172-Evaluation-board/m-p/1697565#M25705</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-08-02T11:23:22Z</dc:date>
    </item>
  </channel>
</rss>

