<?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: S32K144_PT2000_EXAMPLE: Modifying DATA_RAM has no effect in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382515#M59331</link>
    <description>&lt;P&gt;Hello D1ego,&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;send_single_PT2000_SPI_Cmd(WRITE, ch1_ctrl_reg_uc0, 0x00);&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This command writes a control value to the Channel 1 control register via SPI.&amp;nbsp;&lt;SPAN&gt;It is used to &lt;/SPAN&gt;configure the operating mode and behavior of the channel&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;With Best Regards,&lt;/DIV&gt;
&lt;DIV&gt;Jozef&lt;/DIV&gt;</description>
    <pubDate>Wed, 17 Jun 2026 11:42:48 GMT</pubDate>
    <dc:creator>JozefKozon</dc:creator>
    <dc:date>2026-06-17T11:42:48Z</dc:date>
    <item>
      <title>S32K144_PT2000_EXAMPLE: Modifying DATA_RAM has no effect</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382186#M59305</link>
      <description>&lt;P class=""&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;Hello everyone,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT&gt;&lt;SPAN class=""&gt;I have a question regarding the PT2000 example code. I am working with the&lt;SPAN&gt;&amp;nbsp;S32K144_PT2000_EXAMPLE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;project and modified the first three elements of the&lt;SPAN&gt;&amp;nbsp;PT2000_data_RAM&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;array in the&lt;SPAN&gt;&amp;nbsp;PT2000_LoadData.c&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file. After flashing the firmware to the S32K144-Q100 board and connecting the FRDMPKPT2000EVM, I observed the current waveform on an oscilloscope. However, the waveform remained unchanged despite my modifications to the data RAM.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Could someone please help me understand why the changes are not taking effect? Is there something I'm missing, such as a specific initialization step or a different data RAM section that needs to be modified?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thank you in advance for your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;LI-PRODUCT title="PT2000" id="PT2000"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="S32K144EVB" id="S32K144EVB"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2026 01:30:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382186#M59305</guid>
      <dc:creator>D1ego</dc:creator>
      <dc:date>2026-06-17T01:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144_PT2000_EXAMPLE: Modifying DATA_RAM has no effect</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382369#M59318</link>
      <description>&lt;P&gt;Hello D1ego,&lt;/P&gt;
&lt;DIV&gt;the PT2000_data_RAM array is only a software buffer; modifying it does not directly affect the waveform unless the updated data is explicitly transferred to the PT2000 DPRAM. In the example project, the data is typically loaded during initialization, so user modifications may be overwritten or ignored if not applied at the correct point in the sequence. It is recommended to modify the data immediately before the final PT2000_LoadData() call and ensure the PT2000 is restarted afterward.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;With Best Regards,&lt;/DIV&gt;
&lt;DIV&gt;Jozef&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Jun 2026 08:27:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382369#M59318</guid>
      <dc:creator>JozefKozon</dc:creator>
      <dc:date>2026-06-17T08:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144_PT2000_EXAMPLE: Modifying DATA_RAM has no effect</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382399#M59321</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;Hi Jozef,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;FONT&gt;&lt;SPAN class=""&gt;Thank you for your explanation. I have modified the values in the&lt;SPAN&gt;&amp;nbsp;PT2000_data_RAM&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;array and then flashed the program to the board. However, the waveform still does not change.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I have two specific questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;FONT&gt;&lt;SPAN class=""&gt;In the&lt;SPAN&gt;&amp;nbsp;ProgramDevice()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function, I already call&lt;SPAN&gt;&amp;nbsp;download_RAM(DATA_RAM)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;. Isn't this the code that loads the data to the DPRAM? Do I need to add any additional code somewhere else to ensure the data is actually loaded?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;FONT&gt;&lt;SPAN class=""&gt;Regarding "restart the PT2000 after modification" – what is the exact operation you mean? Currently, I pull the RESETB pin low and then high to reset the PT2000, and then re-execute&lt;SPAN&gt;&amp;nbsp;ProgramDevice()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;. Is this correct? If not, what should I do instead?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Thank you for your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;D1ego&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2026 09:28:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382399#M59321</guid>
      <dc:creator>D1ego</dc:creator>
      <dc:date>2026-06-17T09:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144_PT2000_EXAMPLE: Modifying DATA_RAM has no effect</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382498#M59328</link>
      <description>&lt;P&gt;Hello D1ego,&lt;/P&gt;
&lt;DIV&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P class=""&gt;&lt;FONT&gt;&lt;SPAN class=""&gt;In the&lt;SPAN&gt;&amp;nbsp;ProgramDevice()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;function, I already call&lt;SPAN&gt;&amp;nbsp;download_RAM(DATA_RAM)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;. Isn't this the code that loads the data to the DPRAM? Do I need to add any additional code somewhere else to ensure the data is actually loaded?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN class=""&gt;[A]&amp;nbsp;&lt;/SPAN&gt;Yes&lt;SPAN&gt;, download_RAM(DATA_RAM)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is the correct function to &lt;/SPAN&gt;write your modified data into the PT2000 DPRAM, h&lt;SPAN&gt;owever, this function &lt;/SPAN&gt;only updates the data memory&lt;SPAN&gt;. It does &lt;/SPAN&gt;not ensure that the new data is actually used for waveform generation&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;No additional code is needed to &lt;/SPAN&gt;&lt;EM style="font-family: inherit;"&gt;write&lt;/EM&gt;&lt;SPAN&gt; DPRAM, b&lt;/SPAN&gt;&lt;SPAN&gt;ut you &lt;/SPAN&gt;must ensure the PT2000 sequencer is restarted/triggered&lt;SPAN&gt; after the download so that the new data is applied.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;&lt;SPAN class=""&gt;2. Regarding "restart the PT2000 after modification" – what is the exact operation you mean? Currently, I pull the RESETB pin low and then high to reset the PT2000, and then re-execute&lt;SPAN&gt;&amp;nbsp;ProgramDevice()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;. Is this correct? If not, what should I do instead?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;&lt;SPAN class=""&gt;[A]&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;Correct procedure:&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Reset the device first&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#0000FF"&gt;Pull RESETB low → high&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#0000FF"&gt;Wait for the device to initialize&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Load the new data&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#0000FF"&gt;Call download_RAM(DATA_RAM)&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Start/re-enable the PT2000 operation&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT color="#0000FF"&gt;Ensure the PT2000 sequencer is explicitly started (depending on your software/driver)&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;With Best Regards,&lt;/DIV&gt;
&lt;DIV&gt;Jozef&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Jun 2026 11:02:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382498#M59328</guid>
      <dc:creator>JozefKozon</dc:creator>
      <dc:date>2026-06-17T11:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144_PT2000_EXAMPLE: Modifying DATA_RAM has no effect</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382512#M59330</link>
      <description>&lt;P&gt;Hi，Jozef&lt;/P&gt;&lt;P&gt;Thank you for your reply. I will try your suggestion.&lt;/P&gt;&lt;P&gt;I have one more question regarding this line of code:&lt;/P&gt;&lt;P&gt;send_single_PT2000_SPI_Cmd(WRITE, ch1_ctrl_reg_uc0, 0x00);&lt;/P&gt;&lt;P&gt;Could you please clarify:&lt;/P&gt;&lt;P&gt;· What is the purpose of this function?&lt;BR /&gt;· What does the value 0x00 represent in this context?&lt;BR /&gt;· Is there a register map or user manual that describes the bit definitions for this register?&lt;BR /&gt;· If I change this value to a different one (e.g., 0x40, 0x80, etc.), what effect would it have on the output waveform or current profile?&lt;/P&gt;&lt;P&gt;I am trying to understand how to configure the current profile correctly.&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;With Best Regards,&lt;/P&gt;&lt;P&gt;D1ego&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2026 11:39:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382512#M59330</guid>
      <dc:creator>D1ego</dc:creator>
      <dc:date>2026-06-17T11:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144_PT2000_EXAMPLE: Modifying DATA_RAM has no effect</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382515#M59331</link>
      <description>&lt;P&gt;Hello D1ego,&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;send_single_PT2000_SPI_Cmd(WRITE, ch1_ctrl_reg_uc0, 0x00);&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This command writes a control value to the Channel 1 control register via SPI.&amp;nbsp;&lt;SPAN&gt;It is used to &lt;/SPAN&gt;configure the operating mode and behavior of the channel&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;With Best Regards,&lt;/DIV&gt;
&lt;DIV&gt;Jozef&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Jun 2026 11:42:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382515#M59331</guid>
      <dc:creator>JozefKozon</dc:creator>
      <dc:date>2026-06-17T11:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144_PT2000_EXAMPLE: Modifying DATA_RAM has no effect</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382530#M59332</link>
      <description>&lt;P&gt;Okay, thank you. Have a nice day!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2026 12:13:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-PT2000-EXAMPLE-Modifying-DATA-RAM-has-no-effect/m-p/2382530#M59332</guid>
      <dc:creator>D1ego</dc:creator>
      <dc:date>2026-06-17T12:13:45Z</dc:date>
    </item>
  </channel>
</rss>

