<?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 Re: Enabling SWO on MCXN947DK in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2203955#M4354</link>
    <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;To try and follow the posted guide, I've been trying to use SWO Trace Config to configure my SWO, instead of the DebugConsole_Init.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Load the frdmmcxn947_led_blinky_cm33_core0 example into the MXUxpresso IDE.&lt;/LI&gt;&lt;LI&gt;Mux SWO&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_0-1762987836579.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365349i8617EAF8542E7A55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_0-1762987836579.png" alt="jcallon_0-1762987836579.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;My use case requires a 150MHz clock. Enable 150MHz clock by changing 'Initalize USBPHY clock' to 'PLL only'. Change BOARD_InitHardware(...) hardware_init.c to call BOARD_BootClockPLL150M(...) instead of &lt;SPAN&gt;BOARD_BootClockFRO12M(...)&lt;/SPAN&gt;, and update SysTick_Config(...) from to 12000000 to 150000000.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_2-1762988019244.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365351iD2E05067C4BE7EAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_2-1762988019244.png" alt="jcallon_2-1762988019244.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Set TRACECLK to 75 Mhz (because 96MHz is max).&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_3-1762988087308.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365352i0AF887EFDB54C74E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_3-1762988087308.png" alt="jcallon_3-1762988087308.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Click Update Code.&lt;/LI&gt;&lt;LI&gt;Click Debug.&lt;/LI&gt;&lt;LI&gt;Click Resume All Debug sessions.&lt;/LI&gt;&lt;LI&gt;Open SWO Trace Config.&lt;/LI&gt;&lt;LI&gt;Click Change to configure main and trace clock speed.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_4-1762988169215.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365353iDB8867D613B595E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_4-1762988169215.png" alt="jcallon_4-1762988169215.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Get an error. Are certain baud rates expected?&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_5-1762988685892.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365357i61F42197DBC0D96C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_5-1762988685892.png" alt="jcallon_5-1762988685892.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If you can, let me know if this issue reproduces on your side.&lt;BR /&gt;Thank you,&lt;BR /&gt;JC&lt;/P&gt;</description>
    <pubDate>Wed, 12 Nov 2025 23:06:33 GMT</pubDate>
    <dc:creator>jcallon</dc:creator>
    <dc:date>2025-11-12T23:06:33Z</dc:date>
    <item>
      <title>Enabling SWO on MCXN947DK</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2203827#M4351</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to enable SWO on my MCXN947, but am having trouble getting it to output anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I have the SWO pin routed in MCUxpresso.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_0-1762968661637.png" style="width: 200px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365303iA38A452D18F2DBA7/image-size/small?v=v2&amp;amp;px=200" role="button" title="jcallon_0-1762968661637.png" alt="jcallon_0-1762968661637.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;I have TRACE_CLK enabled, and set to half the speed of the main clock, because MCUxpresso does not let me set a TRACE_CLK speed above 96MHz .&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_1-1762968731658.png" style="width: 200px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365304i0284C5406066E66B/image-size/small?v=v2&amp;amp;px=200" role="button" title="jcallon_1-1762968731658.png" alt="jcallon_1-1762968731658.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_2-1762968763955.png" style="width: 200px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365305i84993A3FAF74E1D1/image-size/small?v=v2&amp;amp;px=200" role="button" title="jcallon_2-1762968763955.png" alt="jcallon_2-1762968763955.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_3-1762968919749.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365306i686E505C3F994EE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_3-1762968919749.png" alt="jcallon_3-1762968919749.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;I use DebugConsole_Init(0, 2000000, kSerialPort_Swo, 75000000); to initialize SWO. Because I have SDK_DEBUGCONSOLE=1U and SERIAL_PORT_TYPE_SWO=1U, this flow is called. It finishes without error. &lt;TABLE border="1" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="205px" height="27px"&gt;File&lt;/TD&gt;&lt;TD width="168px" height="27px"&gt;Function&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="205px" height="27px"&gt;&lt;A href="http://fsl_debug_console.cc/" target="_blank" rel="noopener"&gt;fsl_debug_console.c&lt;/A&gt;&lt;/TD&gt;&lt;TD width="168px" height="27px"&gt;DbgConsole_Init&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="205px" height="27px"&gt;fsl_debug_console.c&lt;/TD&gt;&lt;TD width="168px" height="27px"&gt;SerialManager_Init&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="205px" height="49px"&gt;fsl_component_serial_port_swo.c&lt;/TD&gt;&lt;TD width="168px" height="49px"&gt;Serial_SwoInit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="205px" height="27px"&gt;fsl_debug_console.c&lt;/TD&gt;&lt;TD width="168px" height="27px"&gt;&lt;DIV&gt;&lt;DIV&gt;SerialManager_OpenWriteHandle&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="205px" height="27px"&gt;fsl_debug_console.c&lt;/TD&gt;&lt;TD width="168px" height="27px"&gt;&lt;DIV&gt;&lt;DIV&gt;SerialManager_OpenReadHandle&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/LI&gt;&lt;LI&gt;I use DebugConsole_PutChar('H') to try and output a byte on SWO, in an infinite loop. Because I have SDK_DEBUGCONSOLE=1U and SERIAL_PORT_TYPE_SWO=1U, this flow is called. It finishes without error. &lt;TABLE border="1" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="205px"&gt;File&lt;/TD&gt;&lt;TD width="168px"&gt;Function&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="205px"&gt;fsl_debug_console.c&lt;/TD&gt;&lt;TD width="168px"&gt;DbgConsole_Putchar&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="205px"&gt;fsl_debug_console.c&lt;/TD&gt;&lt;TD width="168px"&gt;&lt;DIV&gt;&lt;DIV&gt;DbgConsole_SendDataReliable&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="205px"&gt;fsl_component_serial_manager.c&lt;/TD&gt;&lt;TD width="168px"&gt;&lt;DIV&gt;&lt;DIV&gt;SerialManger_WriteBlocking&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="205px"&gt;fsl_component_serial_manager.c&lt;/TD&gt;&lt;TD width="168px"&gt;SerialManger_Write&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="205px"&gt;fsl_component_serial_manager.c&lt;/TD&gt;&lt;TD width="168px"&gt;SerialManager_StartWriting&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="205px"&gt;fsl_component_serial_port_swo.c&lt;/TD&gt;&lt;TD width="168px"&gt;Serial_SwoWrite&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After all this, I see no output on SWO. It is simply held high by my SEGGER J-Link.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_4-1762969688166.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365307i17D3BDA3CEA883B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_4-1762969688166.png" alt="jcallon_4-1762969688166.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if there is some setup I am missing!&lt;BR /&gt;Otherwise, if someone has a working SWO setup on their own MCXN947DK, I'd really appreciate seeing your code and setup.&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;BR /&gt;JC&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 17:56:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2203827#M4351</guid>
      <dc:creator>jcallon</dc:creator>
      <dc:date>2025-11-12T17:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling SWO on MCXN947DK</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2203858#M4352</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248166"&gt;@jcallon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;For the proper procedure of executing SWO on our devices, please follow this guide:&amp;nbsp;&lt;A href="https://www.nxp.com/webapp/Download?colCode=MCUXPRESSO-SWO-TRACE&amp;amp;appType=license&amp;amp;location=null" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=MCUXPRESSO-SWO-TRACE&amp;amp;appType=license&amp;amp;location=null&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 20:22:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2203858#M4352</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2025-11-12T20:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling SWO on MCXN947DK</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2203864#M4353</link>
      <description>&lt;P&gt;Thank you Edwin. I've seen that guide before, but I'll review it again in case I missed anything. It has many useful examples in the appendix for LPC* chips, but none I could fine for MCXN* chips.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 20:36:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2203864#M4353</guid>
      <dc:creator>jcallon</dc:creator>
      <dc:date>2025-11-12T20:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling SWO on MCXN947DK</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2203955#M4354</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;To try and follow the posted guide, I've been trying to use SWO Trace Config to configure my SWO, instead of the DebugConsole_Init.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Load the frdmmcxn947_led_blinky_cm33_core0 example into the MXUxpresso IDE.&lt;/LI&gt;&lt;LI&gt;Mux SWO&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_0-1762987836579.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365349i8617EAF8542E7A55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_0-1762987836579.png" alt="jcallon_0-1762987836579.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;My use case requires a 150MHz clock. Enable 150MHz clock by changing 'Initalize USBPHY clock' to 'PLL only'. Change BOARD_InitHardware(...) hardware_init.c to call BOARD_BootClockPLL150M(...) instead of &lt;SPAN&gt;BOARD_BootClockFRO12M(...)&lt;/SPAN&gt;, and update SysTick_Config(...) from to 12000000 to 150000000.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_2-1762988019244.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365351iD2E05067C4BE7EAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_2-1762988019244.png" alt="jcallon_2-1762988019244.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Set TRACECLK to 75 Mhz (because 96MHz is max).&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_3-1762988087308.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365352i0AF887EFDB54C74E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_3-1762988087308.png" alt="jcallon_3-1762988087308.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Click Update Code.&lt;/LI&gt;&lt;LI&gt;Click Debug.&lt;/LI&gt;&lt;LI&gt;Click Resume All Debug sessions.&lt;/LI&gt;&lt;LI&gt;Open SWO Trace Config.&lt;/LI&gt;&lt;LI&gt;Click Change to configure main and trace clock speed.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_4-1762988169215.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365353iDB8867D613B595E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_4-1762988169215.png" alt="jcallon_4-1762988169215.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Get an error. Are certain baud rates expected?&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_5-1762988685892.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365357i61F42197DBC0D96C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_5-1762988685892.png" alt="jcallon_5-1762988685892.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If you can, let me know if this issue reproduces on your side.&lt;BR /&gt;Thank you,&lt;BR /&gt;JC&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 23:06:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2203955#M4354</guid>
      <dc:creator>jcallon</dc:creator>
      <dc:date>2025-11-12T23:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling SWO on MCXN947DK</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2205428#M4364</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/248166"&gt;@jcallon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I tried to replicate your issue with a FRDM-MCXN947, so I followed the same steps that you shared.&lt;/P&gt;
&lt;P&gt;However, I noted something on step 3; You mentioned that your use case "&lt;SPAN&gt;requires a 150MHz clock. Enable 150MHz clock by changing 'Initalize USBPHY clock' to 'PLL only'.&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;That said, the&amp;nbsp;&lt;SPAN&gt;frdmmcxn947_led_blinky_cm33_core0 example project already enables the main clock to be 150MHz, and the Functional Group is already BOARD_BootClockPLL150M. So, I didn't have to make any changes in the Clocks Tool, other than enabling the Trace Clock and setting it to 75MHz.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I didn't even have to enable the SWO pin, as it is also enabled on the example code already.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Are you using the latest release of the SDK?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;On my side, I only had to do step 1, 4, 5, 6, 7, 8 and 9, and it worked correctly, without any error message regarding the baudrate.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 21:52:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2205428#M4364</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2025-11-14T21:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling SWO on MCXN947DK</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2205461#M4365</link>
      <description>&lt;P&gt;Thank you Edwin.&lt;BR /&gt;&lt;BR /&gt;I was using MCUxpresso 24.12, and updated to the latest I could find, 25.6.&lt;BR /&gt;Sure enough, when using the new MCUxpresso, like you said, the main clock was already configured 150MHz and SWO was already muxed.&lt;/P&gt;&lt;P&gt;Now, SWO trace config can find my board, at a clock speed of 150MHz, and a trace clock speed of 75MHz. I'm really happy MCUxpresso can find it now!&lt;BR /&gt;&lt;BR /&gt;However, I did notice that after SWO Trace Config connected, the blinky on my board stopped running, and connection may not be complete. In screenshots from the MCUXpresso IDE Linkserver SWO Trace Guide, all dots on the right were green, for example, probe backend. Did you see this on your side?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcallon_0-1763167503999.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365762iF76EAD09A5D99CCA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcallon_0-1763167503999.png" alt="jcallon_0-1763167503999.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Nov 2025 00:51:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2205461#M4365</guid>
      <dc:creator>jcallon</dc:creator>
      <dc:date>2025-11-15T00:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling SWO on MCXN947DK</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2206276#M4380</link>
      <description>&lt;P&gt;An update, in case it helps someone out.&lt;BR /&gt;&lt;BR /&gt;In my first post I mentioned using DbgConsole_Init(..., kSerialPort_Swo, ...) to initialize my SWO registers. Turns outs, all that was needed after that to make SWO be outputted for me was to enable the CoreSight Funnel Lock Access Register.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;// https://developer.arm.com/documentation/100536/0302/About-the-programmers-model/ATB-funnel-registers/ATB-funnel-register-summary
uint32_t *CSFUNNEL_LAR = (uint32_t *)(TPIU_BASE + 0x4000 + 0xFB0);
*CSFUNNEL_LAR = 0xC5ACCE55;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still interested in hearing how I can use MCUxpresso to set registers to get more interesting analytics over SWO than just printing characters, which is my current setup.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 00:50:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2206276#M4380</guid>
      <dc:creator>jcallon</dc:creator>
      <dc:date>2025-11-18T00:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling SWO on MCXN947DK</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2206977#M4383</link>
      <description>Oh, and I think I also needed to enable the ITM funnel for my port.&lt;BR /&gt;uint32_t *CSFUNNEL_CTRL = (uint32_t *)(TPIU_BASE + 0x4000);&lt;BR /&gt;*CSFUNNEL_CTRL |= 1; // Enable funnel for ITM (port 0)</description>
      <pubDate>Tue, 18 Nov 2025 17:25:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Enabling-SWO-on-MCXN947DK/m-p/2206977#M4383</guid>
      <dc:creator>jcallon</dc:creator>
      <dc:date>2025-11-18T17:25:27Z</dc:date>
    </item>
  </channel>
</rss>

