<?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>MPC5xxxのトピックRe: How to use eTPU in MPC5746R</title>
    <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-eTPU-in-MPC5746R/m-p/788841#M11522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it can be done.&lt;/P&gt;&lt;P&gt;But first you'll need to buy or write a compiler or assembler for the eTPU code.&lt;/P&gt;&lt;P&gt;Then read, read and re-read the eTPU section of the Reference Manual Addendum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2018 22:57:46 GMT</pubDate>
    <dc:creator>jamesmurray</dc:creator>
    <dc:date>2018-08-16T22:57:46Z</dc:date>
    <item>
      <title>How to use eTPU in MPC5746R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-eTPU-in-MPC5746R/m-p/788840#M11521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After had browsed many websites , I still don't understand eTPU.&lt;/P&gt;&lt;P&gt;Just got a way to use that, like the website, "&lt;A class="link-titled" href="https://www.nxp.com/webapp/etpu/" title="https://www.nxp.com/webapp/etpu/"&gt;eTPU Function Selector - NXP&lt;/A&gt;&amp;nbsp;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me a way to use eTPU by my code instead of the library, like using Xgate in S12X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 02:37:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-use-eTPU-in-MPC5746R/m-p/788840#M11521</guid>
      <dc:creator>flyskyr丶</dc:creator>
      <dc:date>2018-08-15T02:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use eTPU in MPC5746R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-eTPU-in-MPC5746R/m-p/788841#M11522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it can be done.&lt;/P&gt;&lt;P&gt;But first you'll need to buy or write a compiler or assembler for the eTPU code.&lt;/P&gt;&lt;P&gt;Then read, read and re-read the eTPU section of the Reference Manual Addendum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 22:57:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-use-eTPU-in-MPC5746R/m-p/788841#M11522</guid>
      <dc:creator>jamesmurray</dc:creator>
      <dc:date>2018-08-16T22:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use eTPU in MPC5746R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-eTPU-in-MPC5746R/m-p/788842#M11523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;eTPU is an complex I/O co-processor. You can use it two ways:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) with using of eTPU functions prepared by NXP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) to create your own function or modify NXP’s function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ad 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For using eTPU functions pre-prepared by NXP (the ones you can download by eTPU Function Selector) without modification you don’t need any eTPU compiler. See&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://www.nxp.com/webapp/etpu/"&gt;http://www.nxp.com/webapp/etpu/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also there is some new version, currently containing only some functions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://www.nxp.com/webapp/etpu_cw/"&gt;http://www.nxp.com/webapp/etpu_cw/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Only download them, configure by eTPU graphical configuration tool (GCT), include all needed files to CodeWarrior or other compiler and use it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GCT is the tool which is intended to configure most of functions prepared by NXP that can be downloaded as a pack here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://www.nxp.com/webapp/sps/download/license.jsp?colCode=ETPUGCT&amp;amp;Parent_nodeId=1311258915317726989428&amp;amp;Parent_pageType=product"&gt;http://www.nxp.com/webapp/sps/download/license.jsp?colCode=ETPUGCT&amp;amp;Parent_nodeId=1311258915317726989428&amp;amp;Parent_pageType=product&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here you can example procedure how to use eTPU PWM function, step by step:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://www.nxp.com/files/soft_dev_tools/doc/app_note/AN4687.pdf"&gt;http://www.nxp.com/files/soft_dev_tools/doc/app_note/AN4687.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Every eTPU FUNCTION has its own descriptive documents (application note), its software attachment usually contains some simple example code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://www.nxp.com/products/automotive-products/microcontrollers-and-processors/32-bit-power-architecture/ultra-reliable-mpc56xx-32-bit-automotive-industrial-microcontrollers-mcus/enhanced-time-processor-unit:eTPU?tab=Documentation_Tab"&gt;http://www.nxp.com/products/automotive-products/microcontrollers-and-processors/32-bit-power-architecture/ultra-reliable-mpc56xx-32-bit-automotive-industrial-microcontrollers-mcus/enhanced-time-processor-unit:eTPU?tab=Documentation_Tab&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ad 2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you cannot fit our existing eTPU function to your application you can write your own function or modify the existing one you will need eTPU compiler and simulator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Currently there are 2 options (preferred solution is no.1):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) Ashware solution (compiler + simulator)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.ashware.com/etpu2-simulators"&gt;https://www.ashware.com/etpu2-simulators&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) NXP eTPU2 Development Suite (compiler + simulator)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="http://www.nxp.com/products/automotive-products/microcontrollers-and-processors/32-bit-power-architecture/ultra-reliable-mpc56xx-32-bit-automotive-industrial-microcontrollers-mcus/codewarrior-development-studio-for-etpu-v10.3:eTPU2"&gt;http://www.nxp.com/products/automotive-products/microcontrollers-and-processors/32-bit-power-architecture/ultra-reliable-mpc56xx-32-bit-automotive-industrial-microcontrollers-mcus/codewarrior-development-studio-for-etpu-v10.3:eTPU2&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Buying of following book could be good start point for developing you own eTPU function or library:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.ashware.com/etpu-programming-made-easy-book"&gt;https://www.ashware.com/etpu-programming-made-easy-book&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 08:32:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-use-eTPU-in-MPC5746R/m-p/788842#M11523</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2018-08-20T08:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use eTPU in MPC5746R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-eTPU-in-MPC5746R/m-p/788843#M11524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried the ad1 above. Now I can using a little function, but also get some problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) when using pwm function:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;configuration1&lt;/STRONG&gt; &lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67393iFC968342779A0EDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;can be used.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;configuration2 :&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67445i125720AEF5FC6DBD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;can not be used. I &amp;nbsp;check &amp;nbsp;port configuration, no problem ....&lt;/P&gt;&lt;P&gt;Why? I guess it's too long for configuration ? No...This is impossible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)When using FPM function:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67529iC218A085E52F3D57/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;In main:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67572iED6F97D8DD3E63E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Not work , It run in the while loop. I'm using MPC5746R, and then check the file "mpc5746r_vars.h".&lt;/P&gt;&lt;P&gt;find :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67622i2D988FC157273032/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;can you tell me this address was right or not ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward to your reply !&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 02:41:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-use-eTPU-in-MPC5746R/m-p/788843#M11524</guid>
      <dc:creator>flyskyr丶</dc:creator>
      <dc:date>2018-08-24T02:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use eTPU in MPC5746R</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-use-eTPU-in-MPC5746R/m-p/788844#M11525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply !&lt;/P&gt;&lt;P&gt;I just use it simply, not so complicated.&lt;/P&gt;&lt;P&gt;~_'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 02:53:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-use-eTPU-in-MPC5746R/m-p/788844#M11525</guid>
      <dc:creator>flyskyr丶</dc:creator>
      <dc:date>2018-08-24T02:53:58Z</dc:date>
    </item>
  </channel>
</rss>

