<?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>Kinetis MicrocontrollersのトピックRe: Not Able to SET the Software Trigger [SWTRIG] Bit in Status and Control Register (PDBx_SC)</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-Able-to-SET-the-Software-Trigger-SWTRIG-Bit-in-Status-and/m-p/1265162#M60293</link>
    <description>&lt;P&gt;Hello Parth&lt;/P&gt;&lt;P&gt;It is not possible to read back a '1' - whether it is momentarily set or not is of no significance; the write of '1' is what triggers the event.&lt;/P&gt;&lt;P&gt;You can verify that the event was triggered by the completion of the action that was triggered.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Apr 2021 13:04:52 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2021-04-20T13:04:52Z</dc:date>
    <item>
      <title>Not Able to SET the Software Trigger [SWTRIG] Bit in Status and Control Register (PDBx_SC)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-Able-to-SET-the-Software-Trigger-SWTRIG-Bit-in-Status-and/m-p/1264382#M60268</link>
      <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;As I am working on a project, so I used the&amp;nbsp;Programmable Delay Block (PDB) module and as a part of the implementation, I am not able to set (to write "1") the&amp;nbsp;Software Trigger [SWTRIG] Bit in Status and Control Register (PDBx_SC) even after I enabled the PDB by writing "1" to&amp;nbsp;&lt;STRONG&gt;PDB Enable Bit (PDBEN)&lt;/STRONG&gt; and also selected the&amp;nbsp;&lt;STRONG&gt;Trigger Input Source Select (TRGSEL)&lt;/STRONG&gt; as&amp;nbsp;&lt;STRONG&gt;Software trigger&lt;/STRONG&gt; which is as mentioned in the RM shown below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parth_rastogi10_0-1618837057419.png" style="width: 539px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142656iEA8A812E03F664A0/image-dimensions/539x124?v=v2" width="539" height="124" role="button" title="parth_rastogi10_0-1618837057419.png" alt="parth_rastogi10_0-1618837057419.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, please find the below snips of debugging and the function used to set the SWTRIG Bit "set_software_trigger()":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parth_rastogi10_1-1618839182506.png" style="width: 437px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142660i2450247E781620F7/image-dimensions/437x153?v=v2" width="437" height="153" role="button" title="parth_rastogi10_1-1618839182506.png" alt="parth_rastogi10_1-1618839182506.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parth_rastogi10_2-1618839206732.png" style="width: 437px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142661i90B7204E22DBE0FA/image-dimensions/437x154?v=v2" width="437" height="154" role="button" title="parth_rastogi10_2-1618839206732.png" alt="parth_rastogi10_2-1618839206732.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="parth_rastogi10_3-1618839282211.png" style="width: 489px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142662iBCBB57952B811981/image-dimensions/489x110?v=v2" width="489" height="110" role="button" title="parth_rastogi10_3-1618839282211.png" alt="parth_rastogi10_3-1618839282211.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Please provide me any inputs on the above issue.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Parth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/tag/david%20tosenovjan/tg-p/board-id/other" target="_blank" rel="noopener tag"&gt;david tosenovjan&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 13:39:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-Able-to-SET-the-Software-Trigger-SWTRIG-Bit-in-Status-and/m-p/1264382#M60268</guid>
      <dc:creator>parth_rastogi10</dc:creator>
      <dc:date>2021-04-19T13:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Not Able to SET the Software Trigger [SWTRIG] Bit in Status and Control Register (PDBx_SC)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-Able-to-SET-the-Software-Trigger-SWTRIG-Bit-in-Status-and/m-p/1264440#M60271</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;It is normal to read '0'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mjbcswitzerland_0-1618844735650.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/142665i603EEB29AD6B4BAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mjbcswitzerland_0-1618844735650.png" alt="mjbcswitzerland_0-1618844735650.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It will however have performed the trigger when written with '1'.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 15:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-Able-to-SET-the-Software-Trigger-SWTRIG-Bit-in-Status-and/m-p/1264440#M60271</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2021-04-19T15:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Not Able to SET the Software Trigger [SWTRIG] Bit in Status and Control Register (PDBx_SC)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-Able-to-SET-the-Software-Trigger-SWTRIG-Bit-in-Status-and/m-p/1264880#M60286</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;So, even after I wrote "1" to that SWTRIG bit it will not reflect in the register??&lt;/P&gt;&lt;P&gt;Or it is getting automatically cleared to "0" immediately after the resets and restart the counter...?&lt;/P&gt;&lt;P&gt;If it is so, is there any way to verify that the SWTRIG bit is written with "1" and gets cleared immediately?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Parth&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 07:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-Able-to-SET-the-Software-Trigger-SWTRIG-Bit-in-Status-and/m-p/1264880#M60286</guid>
      <dc:creator>parth_rastogi10</dc:creator>
      <dc:date>2021-04-20T07:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Not Able to SET the Software Trigger [SWTRIG] Bit in Status and Control Register (PDBx_SC)</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-Able-to-SET-the-Software-Trigger-SWTRIG-Bit-in-Status-and/m-p/1265162#M60293</link>
      <description>&lt;P&gt;Hello Parth&lt;/P&gt;&lt;P&gt;It is not possible to read back a '1' - whether it is momentarily set or not is of no significance; the write of '1' is what triggers the event.&lt;/P&gt;&lt;P&gt;You can verify that the event was triggered by the completion of the action that was triggered.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 13:04:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-Able-to-SET-the-Software-Trigger-SWTRIG-Bit-in-Status-and/m-p/1265162#M60293</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2021-04-20T13:04:52Z</dc:date>
    </item>
  </channel>
</rss>

