<?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: i.mx 93 TPM timer configuration in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx-93-TPM-timer-configuration/m-p/1907170#M226128</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203368"&gt;@Manuel_Salas&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Clearly, thank you, then we will think about the physical routing in this case.&lt;/P&gt;&lt;P&gt;But maybe you know where to find the information about the external trigger options for TPM? RM manual for i.mx 93 refers to the chip-specific TPM information, but I cannot find it anywhere:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="external_triggers.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/288366i45A5CB559A528F3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="external_triggers.jpg" alt="external_triggers.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to search around the document, but seems this information is not available in the RM.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jul 2024 15:04:30 GMT</pubDate>
    <dc:creator>Karr</dc:creator>
    <dc:date>2024-07-12T15:04:30Z</dc:date>
    <item>
      <title>i.mx 93 TPM timer configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx-93-TPM-timer-configuration/m-p/1906596#M226095</link>
      <description>&lt;P&gt;I'm working with a SoM based on the i.mx 9352. I'm looking for a way on how to create a chain of TPM timers in the firmware for the Cortex-M core. In my case, I use TPM6_EXTCLK pin for receiving external clock source from a crystal and then it is used for generating signals on TMP6_CH1, TMP6_CH2 and TMP6_CH3. I want to use TMP6_CH0 as an external source for the TMP5. Is it possible to use an output of the TMP6_CH0 as a an external clock source for TMP5_EXTCLK? Or is this only possible by physically connecting the TMP6_CH0 and TMP5_EXTCLK pins?&lt;/P&gt;&lt;P&gt;Maybe it is possible by using an external trigger source? It is mentioned in the RM for i.mx 93 that I should see the chip-specific TPM information for available external trigger options, but I don't know where to find this information - is it an extra document about i.mx 9352?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 19:49:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx-93-TPM-timer-configuration/m-p/1906596#M226095</guid>
      <dc:creator>Karr</dc:creator>
      <dc:date>2024-07-11T19:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx 93 TPM timer configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx-93-TPM-timer-configuration/m-p/1906644#M226100</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/236735"&gt;@Karr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look the below Block diagram:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_0-1720738834875.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/288216i5C295CF6E36A0385/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_0-1720738834875.png" alt="Alejandro_Salas_0-1720738834875.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In chapter&amp;nbsp;67.3.10.1 Counter Clock mode of reference manual is mentioned:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SC[CMOD]&lt;/STRONG&gt; either disables the TPM counter or enables one of the three possible clock sources for the TPM counter. After any reset, SC[CMOD] becomes 0, which disables the TPM counter. You can configure SC[CMOD] for one of the following counter clock sources:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;• Asynchronous counter clock&lt;BR /&gt;• External clock input pin&lt;BR /&gt;• External trigger source&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;You can read or write to SC[CMOD] at any time. Disabling the TPM counter by writing 0 to SC[CMOD] does not affect the TPM counter value or other registers, but the TPM counter clock domain must acknowledge this disabling action before SC[CMOD] becomes 0.&lt;BR /&gt;The external clock input and external trigger source pass through a synchronizer. The TPM counter clock clocks this synchronizer to ensure that counter transitions are properly aligned to counter clock transitions. Therefore, to meet Nyquist criteria,&amp;nbsp;and also considering jitter, the frequency of the external clock source must be less than half of the counter clock frequency.&lt;/P&gt;
&lt;P&gt;Also, look the&amp;nbsp;TRGSEL and&amp;nbsp;TRGSRC bits on CONF register (67.7.1.16 Configuration (CONF)).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information can helps to achieve your application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;--... ...--&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 23:04:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx-93-TPM-timer-configuration/m-p/1906644#M226100</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2024-07-11T23:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx 93 TPM timer configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx-93-TPM-timer-configuration/m-p/1907112#M226121</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203368"&gt;@Manuel_Salas&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for the diagram! I used it to understand how I can clock my TIM6 by an external source, and it is a kind of working now.&lt;/P&gt;&lt;P&gt;My current issue is that I don't know is it possible to clock TIM5 with an output channel of TIM6 (e.g. TIM6_CH0). To illustrate better what I'm trying to build I've made this picture based on your diagram:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TIM6_to_TIM5.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/288354iE8EBD1C58316EDD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="TIM6_to_TIM5.jpg" alt="TIM6_to_TIM5.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I see that TPM clock can be sourced either by an external clock source (case for TIM6) or by an external trigger source. And I thought that the external trigger source for TIM5 can be an output of the TIM6_CH0. But for now I see only one way how to do that - physically connect TIM6_CH0 pin to the TIM5_EXTCLK pin. Is there are some internal connections inside the MCU, which I can use instead of the physical connection?&lt;/P&gt;&lt;P&gt;So basically I want to have TIM5 and TIM6 been synchronized, and use extra TIM5's channels for sending events based on the TIM6_CH0 output.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 13:07:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx-93-TPM-timer-configuration/m-p/1907112#M226121</guid>
      <dc:creator>Karr</dc:creator>
      <dc:date>2024-07-12T13:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx 93 TPM timer configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx-93-TPM-timer-configuration/m-p/1907142#M226127</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/236735"&gt;@Karr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the clarification, I double checked and according the reference manual, there is not a way to do a "trigger" from TPMn to other TPM, it appears it must be a physical connection as you described.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;--... ...--&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 14:17:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx-93-TPM-timer-configuration/m-p/1907142#M226127</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2024-07-12T14:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx 93 TPM timer configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx-93-TPM-timer-configuration/m-p/1907170#M226128</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203368"&gt;@Manuel_Salas&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Clearly, thank you, then we will think about the physical routing in this case.&lt;/P&gt;&lt;P&gt;But maybe you know where to find the information about the external trigger options for TPM? RM manual for i.mx 93 refers to the chip-specific TPM information, but I cannot find it anywhere:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="external_triggers.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/288366i45A5CB559A528F3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="external_triggers.jpg" alt="external_triggers.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to search around the document, but seems this information is not available in the RM.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 15:04:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx-93-TPM-timer-configuration/m-p/1907170#M226128</guid>
      <dc:creator>Karr</dc:creator>
      <dc:date>2024-07-12T15:04:30Z</dc:date>
    </item>
  </channel>
</rss>

