<?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 Timer in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2014285#M2194</link>
    <description>&lt;P&gt;hello iam using MCXA153 in this there is no mrt what is the repalcement of mrt ?this is my code and i want to build this in MXCA153 what is the replacemnet of MRT?&lt;/P&gt;&lt;DIV&gt;void Timing_StartCardClk(uint32_t cardClk) {&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;startTimer(CARD_CLK_DIV * cardClk);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;static inline void startTimer(uint32_t value) {&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MRT_StartTimer(MRT0, 0, MRT_CHANNEL_INTVAL_LOAD_MASK | value);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;triggered = false;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;void Timing_Init() {&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Setup MRT in One-Shot mode&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RESET_PeripheralReset(kMRT_RST_SHIFT_RSTn);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;const mrt_config_t conf = {false};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MRT_Init(MRT0, &amp;amp;conf);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MRT_SetupChannelMode(MRT0, 0, kMRT_OneShotMode);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MRT_EnableInterrupts(MRT0, 0, kMRT_TimerInterruptEnable);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;NVIC_EnableIRQ(MRT0_IRQn);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Mon, 16 Dec 2024 08:28:33 GMT</pubDate>
    <dc:creator>syedhashmiraza</dc:creator>
    <dc:date>2024-12-16T08:28:33Z</dc:date>
    <item>
      <title>Timer</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2014285#M2194</link>
      <description>&lt;P&gt;hello iam using MCXA153 in this there is no mrt what is the repalcement of mrt ?this is my code and i want to build this in MXCA153 what is the replacemnet of MRT?&lt;/P&gt;&lt;DIV&gt;void Timing_StartCardClk(uint32_t cardClk) {&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;startTimer(CARD_CLK_DIV * cardClk);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;static inline void startTimer(uint32_t value) {&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MRT_StartTimer(MRT0, 0, MRT_CHANNEL_INTVAL_LOAD_MASK | value);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;triggered = false;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;void Timing_Init() {&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Setup MRT in One-Shot mode&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RESET_PeripheralReset(kMRT_RST_SHIFT_RSTn);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;const mrt_config_t conf = {false};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MRT_Init(MRT0, &amp;amp;conf);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MRT_SetupChannelMode(MRT0, 0, kMRT_OneShotMode);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MRT_EnableInterrupts(MRT0, 0, kMRT_TimerInterruptEnable);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;NVIC_EnableIRQ(MRT0_IRQn);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Dec 2024 08:28:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2014285#M2194</guid>
      <dc:creator>syedhashmiraza</dc:creator>
      <dc:date>2024-12-16T08:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Timer</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2014822#M2196</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/244031"&gt;@syedhashmiraza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The MCXA153 does not include an MRT peripheral. To achieve similar functionality, you can use the CTIMER available on the MCXA153.&lt;/P&gt;
&lt;P&gt;CTIMER can operate in various modes, including timer mode, which is suitable for generating delays or triggering events like the MRT.&lt;/P&gt;
&lt;P&gt;You can refer to the MCXA153SDK ctimer example.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harry_Zhang_0-1734401158930.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/316142i7DFB67A8BB1056A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_0-1734401158930.png" alt="Harry_Zhang_0-1734401158930.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 02:06:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2014822#M2196</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-12-17T02:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Timer</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2014934#M2198</link>
      <description>&lt;P&gt;"Hello, can I use &lt;STRONG&gt;OSTIMER&lt;/STRONG&gt; as a replacement for &lt;STRONG&gt;MRT&lt;/STRONG&gt;?"&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 06:01:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2014934#M2198</guid>
      <dc:creator>syedhashmiraza</dc:creator>
      <dc:date>2024-12-17T06:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Timer</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2015119#M2200</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/244031"&gt;@syedhashmiraza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, you can.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 09:32:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2015119#M2200</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-12-17T09:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Timer</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2020808#M2274</link>
      <description>&lt;P&gt;&lt;SPAN&gt;"Hello, can I use&amp;nbsp;LPTMR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;as a replacement for&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;MRT&lt;/STRONG&gt;&lt;SPAN&gt;?"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 11:53:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2020808#M2274</guid>
      <dc:creator>syedhashmiraza</dc:creator>
      <dc:date>2024-12-31T11:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Timer</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2020949#M2278</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/244031"&gt;@syedhashmiraza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to use&amp;nbsp;&lt;SPAN&gt;LPTMR,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can refer to the SDK LPTMR examples.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harry_Zhang_0-1735783088744.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317786i1167621E699079E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_0-1735783088744.png" alt="Harry_Zhang_0-1735783088744.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harry_Zhang_1-1735783175769.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317787i8481C5BB16D1A355/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_1-1735783175769.png" alt="Harry_Zhang_1-1735783175769.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 01:59:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Timer/m-p/2020949#M2278</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-01-02T01:59:57Z</dc:date>
    </item>
  </channel>
</rss>

