<?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: Meaning of different versions of MPC5748G.h in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Meaning-of-different-versions-of-MPC5748G-h/m-p/908356#M13544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have same question as the upper sir.Michael .During migration the example"Example MPC5748G eMIOS BCTU ADC trigger S32DS2.1"as you suggestted,there are also problems in MPC5748G.h( system platform explores）.It seems like that the registers names in 1.4 version .h files in system are pointers,but the names in 4.0.0 or 6.0.2 are struct type,so there are many problems between auto-generate system files and example application files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give me some suggestions to solve the different version .h files problems and migrate the examples to the new MPC5748G application project?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much~&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Bingo&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2020 10:27:38 GMT</pubDate>
    <dc:creator>bitbingo</dc:creator>
    <dc:date>2020-08-20T10:27:38Z</dc:date>
    <item>
      <title>Meaning of different versions of MPC5748G.h</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Meaning-of-different-versions-of-MPC5748G-h/m-p/908354#M13542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found in the example projects references to two versions of the file MPC5748G.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;One is part of the beta sdk:&amp;nbsp; S32_SDK_BETA_2.9.0\platform\devices\MPC5748G\include\&lt;SPAN&gt;MPC5748G.h. Its header is:&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;/*&lt;BR /&gt;** ###################################################################&lt;BR /&gt;** Processor: MPC5748G&lt;BR /&gt;** Reference manual: MPC5748G RM Rev. 6, 10/2017&lt;BR /&gt;** Version: rev. 1.4, 2018-01-15&lt;BR /&gt;** Build: b180116&lt;BR /&gt;**&lt;BR /&gt;** Abstract:&lt;BR /&gt;** Peripheral Access Layer for MPC5748G&lt;BR /&gt;**&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;The other one is used in a sample project for led blinking.&amp;nbsp; Its header is:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/**************************************************************************&lt;BR /&gt; * FILE NAME: MPC5748G.h COPYRIGHT (c) NXP 2017 *&lt;BR /&gt; * REVISION: 6.0.2 All Rights Reserved *&lt;BR /&gt; * *&lt;BR /&gt; * DESCRIPTION: *&lt;BR /&gt; * This file contains all of the register and bit field definitions for *&lt;BR /&gt; * the MPC5748G. *&lt;BR /&gt; *========================================================================*&lt;BR /&gt; * UPDATE HISTORY *&lt;BR /&gt; * REV AUTHOR DATE DESCRIPTION OF CHANGE *&lt;BR /&gt; * --- ----------- --------- --------------------- *&lt;BR /&gt; * 0.1.0 P.A. 24-SEP-12 -First release. *&lt;BR /&gt; * *&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LED-project using the 6.0.2 file above has code like:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;void ADC1_Init(void) {&lt;BR /&gt; ADC_1.MCR.B.PWDN = 1; /* Power down for starting module initialization */&lt;BR /&gt; ADC_1.MCR.B.OWREN = 1; /* Enable overwriting older conversion results */&lt;BR /&gt; ADC_1.MCR.B.MODE = 1; /* Scan mode (1) used instead of one shot mode */&lt;BR /&gt; ADC_1.MCR.B.ADCLKSEL = 1; /* ADC clock = FS80 bus clock (80 MHz here) */&lt;BR /&gt; ADC_1.MCR.B.PWDN = 0; /* ADC_1 ready to receive converstion triggers */&lt;BR /&gt; ADC_1.MCR.B.NSTART = 1; /* Initiate trigger for normal scan */&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is incompatible with the rev1.4 of mpc5748g.h and a migration seems complicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which one of these files should be used for new projects?&lt;/P&gt;&lt;P&gt;If the first include (rev 1.4) is to be used: How to migrate code like the above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 16:16:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Meaning-of-different-versions-of-MPC5748G-h/m-p/908354#M13542</guid>
      <dc:creator>michaelbinz</dc:creator>
      <dc:date>2019-08-09T16:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of different versions of MPC5748G.h</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Meaning-of-different-versions-of-MPC5748G-h/m-p/908355#M13543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can see that on our web is 6.0.2 and 1.4.&lt;/P&gt;&lt;P&gt;6.0.2 is latest one which is union based.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;If the first include (rev 1.4) is to be used: How to migrate code like the above?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;We have rev 1.4 which is struct based.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;latest header is still in process according to reference manual 7. So for new project I would stick with 6.0.2 which will be easy to transfer to 7.x.x header once it comes alive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: examples with 6.x.x headers are here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329623"&gt;https://community.nxp.com/docs/DOC-329623&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2019 12:24:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Meaning-of-different-versions-of-MPC5748G-h/m-p/908355#M13543</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2019-08-12T12:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of different versions of MPC5748G.h</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Meaning-of-different-versions-of-MPC5748G-h/m-p/908356#M13544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have same question as the upper sir.Michael .During migration the example"Example MPC5748G eMIOS BCTU ADC trigger S32DS2.1"as you suggestted,there are also problems in MPC5748G.h( system platform explores）.It seems like that the registers names in 1.4 version .h files in system are pointers,but the names in 4.0.0 or 6.0.2 are struct type,so there are many problems between auto-generate system files and example application files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give me some suggestions to solve the different version .h files problems and migrate the examples to the new MPC5748G application project?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much~&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Bingo&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 10:27:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Meaning-of-different-versions-of-MPC5748G-h/m-p/908356#M13544</guid>
      <dc:creator>bitbingo</dc:creator>
      <dc:date>2020-08-20T10:27:38Z</dc:date>
    </item>
  </channel>
</rss>

