<?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>S32 Design StudioのトピックRe: MPC5746R.h etpu errors in S32DS v1.2</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700748#M1697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are the sections I changed:&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;struct eTPU_CCCR_tag {&lt;BR /&gt;/*&amp;nbsp; uint8_t eTPU_CCCR_reserved0[1024]; JSM - This is incorrect according to reference manual rev 6.1 */&lt;BR /&gt;&amp;nbsp; eTPU_CCCR_ENG1_C_tag ENG1_C[32];&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;struct eTPU_ER_tag {&lt;BR /&gt;/* uint8_t eTPU_ER_reserved0[96]; JSM - This is incorrect according to reference manual rev 6.1 */&lt;BR /&gt;&amp;nbsp; eTPU_ER_WDTR_ENG1_tag WDTR_ENG1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Watchdog Timer Register for Engine 1 */&lt;BR /&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;struct eTPU_GCR_tag {&lt;BR /&gt;/*&amp;nbsp; uint8_t eTPU_GCR_reserved0[512];&amp;nbsp; JSM - This is incorrect according to reference manual rev 6.1 */&lt;BR /&gt;&amp;nbsp; eTPU_GCR_CISR_ENG1_tag CISR_ENG1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Channel Interrupt Status Register for Engine 1 */&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;struct eTPU_TBR_tag {&lt;BR /&gt;/*&amp;nbsp;&amp;nbsp; uint8_t eTPU_TBR_reserved0[32]; JSM - This is incorrect according to reference manual rev 6.1 addendum page 86 */&lt;BR /&gt;&amp;nbsp; eTPU_TBR_TBCR_ENG1_tag TBCR_ENG1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Engine 1 Time Base Configuration Register */&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With these changes I have been using the eTPU with my own code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2018 23:51:21 GMT</pubDate>
    <dc:creator>jamesmurray</dc:creator>
    <dc:date>2018-11-09T23:51:21Z</dc:date>
    <item>
      <title>MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700738#M1687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've found what I believe to be some errors in the MPC5746R.h file that is generated by S32DS for Power Architecture v1.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of the eTPU registers have the wrong addresses. I spent 2-3 hours single-stepping code as it kept hitting the IVOR1 exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps to recreate:&lt;/P&gt;&lt;P&gt;-create a new S32DS project for MPC5746R&lt;/P&gt;&lt;P&gt;-examine include/MPC5746R.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is wrong:&lt;/P&gt;&lt;P&gt;struct eTPU_CCCR_tag {&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; uint8_t eTPU_CCCR_reserved0[1024];&amp;nbsp; &amp;lt;--- wrong!&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; eTPU_CCCR_ENG1_C_tag ENG1_C[32];&lt;BR /&gt;&amp;nbsp; uint8_t eTPU_CCCR_reserved1[512];&lt;BR /&gt;&amp;nbsp; eTPU_CCCR_ENG2_C_tag ENG2_C[32];&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because..&lt;/P&gt;&lt;P&gt;#define eTPU_CCCR_0 (*(volatile struct eTPU_CCCR_tag *) 0xFFCC0400UL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the V1.6 version of MPC5746RRM page 89.&lt;/P&gt;&lt;P&gt;0x400 eTPU_CCCR_C0CR_ENG1 - eTPU 1 Channel 0 Configuration Register&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. the header file is adding the 0x400 offset twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same kind of problem here:&lt;/P&gt;&lt;P&gt;struct eTPU_TBR_tag {&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; uint8_t eTPU_TBR_reserved0[32]; &amp;lt;--- wrong!&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; eTPU_TBR_TBCR_ENG1_tag TBCR_ENG1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Engine 1 Time Base Configuration Register */&lt;BR /&gt;&amp;nbsp; eTPU_TBR_TB1R_ENG1_tag TB1R_ENG1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Engine 1 Time Base 1 (TCR1) Visibility Register */&lt;BR /&gt;&amp;nbsp; eTPU_TBR_TB2R_ENG1_tag TB2R_ENG1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Engine 1 Time Base 2 (TCR2) Visibility Register */&lt;BR /&gt;&amp;nbsp; eTPU_TBR_STAC_ENG1_tag STAC_ENG1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Engine 1 STAC Configuration Register */&lt;BR /&gt;&amp;nbsp; uint8_t eTPU_TBR_reserved1[16];&lt;BR /&gt;&amp;nbsp; eTPU_TBR_TBCR_ENG2_tag TBCR_ENG2;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Engine 2 Time Base Configuration Register */&lt;BR /&gt;&amp;nbsp; eTPU_TBR_TB1R_ENG2_tag TB1R_ENG2;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Engine 2 Time Base 1 (TCR1) Visibility Register */&lt;BR /&gt;&amp;nbsp; eTPU_TBR_TB2R_ENG2_tag TB2R_ENG2;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Engine 2 Time Base 2 (TCR2) Visibility Register */&lt;BR /&gt;&amp;nbsp; eTPU_TBR_STAC_ENG2_tag STAC_ENG2;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Engine 2 STAC Configuration Register */&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because:&lt;/P&gt;&lt;P&gt;#define eTPU_TBR_0 (*(volatile struct eTPU_TBR_tag *) 0xFFCC0020UL)&lt;/P&gt;&lt;P&gt;Page 86:&lt;/P&gt;&lt;P&gt;0x20 eTPU_TBR_TBCR_ENG1 - eTPU 1 Time Base Configuration Register&lt;/P&gt;&lt;P&gt;i.e. the header file is adding the 0x20 offset twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the only two I found, I do not know if that kind of error is repeated elsewhere. A thorough review would be advised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I create a support ticket for this or is it sufficient to post here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2017 12:53:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700738#M1687</guid>
      <dc:creator>jamesmurray</dc:creator>
      <dc:date>2017-10-08T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700739#M1688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello James,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for report. I can confirm that the address ranges are wrong - as you discovered. I'll rise JIRA ticket for apps team with your data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 11:02:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700739#M1688</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2017-10-09T11:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700740#M1689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found another one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;struct eTPU_GCR_tag {&lt;BR /&gt;/*&amp;nbsp; uint8_t eTPU_GCR_reserved0[512];&amp;nbsp; &lt;STRONG&gt;&amp;lt;--- nope&lt;/STRONG&gt; */&lt;BR /&gt;&amp;nbsp; eTPU_GCR_CISR_ENG1_tag CISR_ENG1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Channel Interrupt Status Register for Engine 1 */&lt;BR /&gt;&amp;nbsp; eTPU_GCR_CISR_ENG2_tag CISR_ENG2;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Channel Interrupt Status Register for Engine 2 */&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 13:36:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700740#M1689</guid>
      <dc:creator>jamesmurray</dc:creator>
      <dc:date>2017-10-10T13:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700741#M1690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this defines are wrong:&lt;/P&gt;&lt;P&gt;#define eTPU_CCCR_0 (*(volatile struct eTPU_CCCR_tag *) 0xFFCC0400UL)&lt;BR /&gt; #define eTPU_ER_0 (*(volatile struct eTPU_ER_tag *) 0xFFCC0060UL)&lt;BR /&gt; #define eTPU_GCR_0 (*(volatile struct eTPU_GCR_tag *) 0xFFCC0200UL)&lt;BR /&gt; #define eTPU_LMR_0 (*(volatile struct eTPU_LMR_tag *) 0xFFCC0080UL)&lt;BR /&gt; #define eTPU_MESR_0 (*(volatile struct eTPU_MESR_tag *) 0xFFCC0100UL)&lt;BR /&gt; #define eTPU_SCR_0 (*(volatile struct eTPU_SCR_tag *) 0xFFCC0000UL)&lt;BR /&gt; #define eTPU_SSIR_0 (*(volatile struct eTPU_SSIR_tag *) 0xFFCC0C00UL)&lt;BR /&gt; #define eTPU_TBR_0 (*(volatile struct eTPU_TBR_tag *) 0xFFCC0020UL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They should point to the same base address of eTPU 0xFFCC0000UL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 08:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700741#M1690</guid>
      <dc:creator>denisfedorov</dc:creator>
      <dc:date>2017-10-12T08:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700742#M1691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's one way to fix it, but it seems incorrect, then you have multiple 'reserved' arrays that overlap real register addresses.&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, 12 Oct 2017 09:05:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700742#M1691</guid>
      <dc:creator>jamesmurray</dc:creator>
      <dc:date>2017-10-12T09:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700743#M1692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James, look at other header files in MPC57xx they all built with overlapped reserved arrays. There is nothing wrong with this approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 10:28:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700743#M1692</guid>
      <dc:creator>denisfedorov</dc:creator>
      <dc:date>2017-10-12T10:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700744#M1693</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&amp;nbsp;running&amp;nbsp; into the same problem (IVOR1- thread suspended) error . The MPC5746R.h&amp;nbsp;header file has not yet&amp;nbsp; been changed to&amp;nbsp; address the issue reported above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NXP please send me the latest and corrected version of the header file for MPC5746R.h.&amp;nbsp; Please also post here the changes that I need to make to get over the IVOR1 error.,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jsmcortina"&gt;jsmcortina&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;@Denis Fedorov&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 04:49:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700744#M1693</guid>
      <dc:creator>jyothsnarajan</dc:creator>
      <dc:date>2018-11-09T04:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700745#M1694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are also errors with CAN ID_EXT field, LINFLEX IFCR (not present on most modules).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The EMIOS definition is totally broken. I found the mpc563m.h way of defining EMIOS was more useable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've reported all of these, but checked for an update and am not seeing one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 11:17:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700745#M1694</guid>
      <dc:creator>jamesmurray</dc:creator>
      <dc:date>2018-11-09T11:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700746#M1695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jyothsna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately we do not have corrected version of header file.&lt;/P&gt;&lt;P&gt;Currently we have header v.5.0.3 in DS.&lt;/P&gt;&lt;P&gt;I do not know when we get new corrected version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Denis Fedorov&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 12:31:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700746#M1695</guid>
      <dc:creator>denisfedorov</dc:creator>
      <dc:date>2018-11-09T12:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700747#M1696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;Thank you for confirming that the errors still exist.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried Denis's suggestion of making all base address the same and allowing the offsets within the structs but I still get the IVOR1 error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This problem is slowing down my work.&amp;nbsp; I want to get past the header file issues so I can work on my code.&amp;nbsp; Can you please try to build a simple but functional eTPU application for MPC5746 with S32DS and post here?&amp;nbsp; I&amp;nbsp;used&amp;nbsp;AN2849 instructions and associated software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share the changes required to fix only the eTPU part of the header file for now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me the JIRA number for this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JoyR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jsmcortina"&gt;jsmcortina&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;@Denis Fedorov&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 18:29:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700747#M1696</guid>
      <dc:creator>jyothsnarajan</dc:creator>
      <dc:date>2018-11-09T18:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700748#M1697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are the sections I changed:&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;struct eTPU_CCCR_tag {&lt;BR /&gt;/*&amp;nbsp; uint8_t eTPU_CCCR_reserved0[1024]; JSM - This is incorrect according to reference manual rev 6.1 */&lt;BR /&gt;&amp;nbsp; eTPU_CCCR_ENG1_C_tag ENG1_C[32];&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;struct eTPU_ER_tag {&lt;BR /&gt;/* uint8_t eTPU_ER_reserved0[96]; JSM - This is incorrect according to reference manual rev 6.1 */&lt;BR /&gt;&amp;nbsp; eTPU_ER_WDTR_ENG1_tag WDTR_ENG1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Watchdog Timer Register for Engine 1 */&lt;BR /&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;struct eTPU_GCR_tag {&lt;BR /&gt;/*&amp;nbsp; uint8_t eTPU_GCR_reserved0[512];&amp;nbsp; JSM - This is incorrect according to reference manual rev 6.1 */&lt;BR /&gt;&amp;nbsp; eTPU_GCR_CISR_ENG1_tag CISR_ENG1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Channel Interrupt Status Register for Engine 1 */&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;struct eTPU_TBR_tag {&lt;BR /&gt;/*&amp;nbsp;&amp;nbsp; uint8_t eTPU_TBR_reserved0[32]; JSM - This is incorrect according to reference manual rev 6.1 addendum page 86 */&lt;BR /&gt;&amp;nbsp; eTPU_TBR_TBCR_ENG1_tag TBCR_ENG1;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* eTPU Engine 1 Time Base Configuration Register */&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With these changes I have been using the eTPU with my own code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 23:51:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700748#M1697</guid>
      <dc:creator>jamesmurray</dc:creator>
      <dc:date>2018-11-09T23:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700749#M1698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;I tried your suggestion and am still getting the IVOR1.&amp;nbsp; I am trying to integrate the etpu pwm application with the mpc code. I followed directions in AN2849 and used the pwm source files to create my own project for MPC5745.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the IVOR1&amp;nbsp;when I step into the fs_etpu_init() function. All it does it copy the eTPU opcodes and globals into memory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to post a very bare minimum S32DS project that integrates the eTPU pwm function set with the MPC5746 code?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my first try at integrating the eTPU code&amp;nbsp; and with the IVOR1 am not able to establish if the problem is with the code that integrates the eTPU code with host ( the fs_etpu_xxx functions) or with the eTPU code itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use MPC5745R and my understanding is that other than the flash/sram size, all else is same between MPC5746/5745R, including&amp;nbsp; eTPU&amp;nbsp; coniiguration register addresses .&amp;nbsp; When creating the S32DS Project , I select MPC5745 which selects the right linker file for the processor. Please confirm that this is the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;JoyR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2018 01:53:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700749#M1698</guid>
      <dc:creator>jyothsnarajan</dc:creator>
      <dc:date>2018-11-10T01:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746R.h etpu errors in S32DS v1.2</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700750#M1699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not using any NXP/Freescale code, so I'm afraid I can't help there, I wrote my own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I can suggest is to use the assembly-step mode and find out exactly what opcode and registers are triggering the IVOR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2018 13:15:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5746R-h-etpu-errors-in-S32DS-v1-2/m-p/700750#M1699</guid>
      <dc:creator>jamesmurray</dc:creator>
      <dc:date>2018-11-10T13:15:25Z</dc:date>
    </item>
  </channel>
</rss>

