<?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 MPC5748G- STM in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-STM/m-p/1333856#M19045</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am using MPC5748G SDK driver. I want time in millisecond using STM. Also I want&amp;nbsp; calculation. Also there is any other timer to give the time in millisecond .Please guide me.&lt;/P&gt;&lt;P&gt;Thank and regards&lt;/P&gt;&lt;P&gt;SKC123&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Sep 2021 06:10:21 GMT</pubDate>
    <dc:creator>SKC123</dc:creator>
    <dc:date>2021-09-02T06:10:21Z</dc:date>
    <item>
      <title>MPC5748G- STM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-STM/m-p/1333856#M19045</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am using MPC5748G SDK driver. I want time in millisecond using STM. Also I want&amp;nbsp; calculation. Also there is any other timer to give the time in millisecond .Please guide me.&lt;/P&gt;&lt;P&gt;Thank and regards&lt;/P&gt;&lt;P&gt;SKC123&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 06:10:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-STM/m-p/1333856#M19045</guid>
      <dc:creator>SKC123</dc:creator>
      <dc:date>2021-09-02T06:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G- STM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-STM/m-p/1334179#M19054</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;STM or PIT should be good choice for this.&lt;/P&gt;
&lt;P&gt;PIT already has an option to read current value of the timer either in tick count or in microseconds. For example, there are functions like:&lt;/P&gt;
&lt;P&gt;PIT_DRV_GetCurrentTimerCount&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;PIT_DRV_GetCurrentTimerUs&lt;/P&gt;
&lt;P&gt;STM then has function STM_DRV_ComputeTicksByUs.&lt;/P&gt;
&lt;P&gt;Or you can easily calculate the time like this: you know the source clock of a timer. One tick takes 1 / f_source_clock. And if you know the number of ticks, you can calculate the time as (1 / f_source_clock)*number_of_ticks.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 13:55:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-STM/m-p/1334179#M19054</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-09-02T13:55:30Z</dc:date>
    </item>
  </channel>
</rss>

