<?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: MPC5744P Rev. E1 - Code Execution Issue with MBDT or S32</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-Rev-E1-Code-Execution-Issue-with-MBDT-or-S32/m-p/1412421#M20394</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I can comment FlexCAN_MPC5744P demo in S32DS. &lt;BR /&gt;After doing modification mentioned in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx/DEVKIT-MPC5744P-CAN-testing/m-p/1265121#M18061" target="_blank" rel="noopener"&gt; Solved: Re: DEVKIT-MPC5744P CAN testing - NXP Community&lt;/A&gt;&amp;nbsp;I am able to see terminal message and communicate with CAN tool on rev.E board&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_1-1644579105826.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170327i94E069ABD73A95B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_1-1644579105826.png" alt="PetrS_1-1644579105826.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;No message is send from PC, but receiving on MCU is successful because self reception is enabled MCR[SRXDIS]=0) and RX MB is configured to receive same ID that is send.&lt;/P&gt;
&lt;P&gt;Not sure why code for LED control is done that way. But you can easily modify it. Use below code to enable output on PC11&lt;/P&gt;
&lt;P&gt;SIUL2.MSCR[PC11].B.OBE = 1; // enable output buffer on PC11, driving red LED&lt;/P&gt;
&lt;P&gt;then output level can be controlled by&lt;/P&gt;
&lt;P&gt;SIUL2.GPDO[PC11].R = 0; // Turn on red LED&lt;BR /&gt;SIUL2.GPDO[PC11].R = 1; // Turn off red LED&lt;BR /&gt;SIUL2.GPDO[PC11].R ^= 1; // Toggle red LED&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Feb 2022 11:39:57 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2022-02-11T11:39:57Z</dc:date>
    <item>
      <title>MPC5744P Rev. E1 - Code Execution Issue with MBDT or S32</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-Rev-E1-Code-Execution-Issue-with-MBDT-or-S32/m-p/1411757#M20382</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I bought 6 pieces of MPC5744P (Rev. E1) and DEVKIT-COMM (Rev. A) at this year.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hbhnhbnhj1_5-1644489150719.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170176i074DB6441006AAC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hbhnhbnhj1_5-1644489150719.png" alt="hbhnhbnhj1_5-1644489150719.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tested different code to verify the functionality of each board, the testing condition is as follow,&lt;BR /&gt;【S32 v2.1 / MBDT v3.2 / Matlab R2018a / Windows 10 / ASUS G1401I】&lt;BR /&gt;&lt;BR /&gt;The testing result and question is described as follow.&lt;BR /&gt;( to prevent misunderstanding, 6 piece of MPC5744P is numbering as A, B, C, D, E, F )&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;two out of six&lt;/STRONG&gt;&lt;/U&gt; board cannot execute the code from MBDT.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hbhnhbnhj1_3-1644488591551.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170174iC5C71CFEFF0C23F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hbhnhbnhj1_3-1644488591551.png" alt="hbhnhbnhj1_3-1644488591551.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have seen the post discussed the issue of oscillator of clock source, link of post is as below.&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MPC5744p-RevE-MBD-flash-problem/m-p/1017853" target="_blank" rel="noopener"&gt;MPC5744p RevE MBD flash problem - NXP Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Therefore, I guess the external clock of two board (A, B) in the above table is malfunction.&lt;BR /&gt;If the guess above is true, can I have the return or exchange? &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&lt;/P&gt;&lt;P&gt;2.&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;four&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;out of four&lt;/STRONG&gt;&lt;/U&gt;&amp;nbsp;(C, D, E, F) board cannot execute the 【LED &amp;amp; UART】of 【flexcan_master_mpc574x】from MBDT.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hbhnhbnhj1_4-1644488614423.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170175i6E93DB1383B22932/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hbhnhbnhj1_4-1644488614423.png" alt="hbhnhbnhj1_4-1644488614423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;*Is the code to initialize the LED not for Rev.E?&lt;BR /&gt;&amp;nbsp;(I found this issue from&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MPC5xxx/DEVKIT-MPC5744P-CAN-testing/m-p/1265121#M18061" target="_blank" rel="noopener"&gt;Solved: Re: DEVKIT-MPC5744P CAN testing - NXP Community&lt;/A&gt;&amp;nbsp;)&lt;BR /&gt;*Is the code to initialize the UART wrong?&amp;nbsp;&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/72088"&gt;@mariuslucianand&lt;/a&gt;&amp;nbsp; &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/176411"&gt;@constantinrazva&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/79533"&gt;@raresvasile&lt;/a&gt; &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/103940"&gt;@adriantudor&lt;/a&gt;&lt;/P&gt;&lt;P&gt;If there is any other information needed, please let me know, thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 01:52:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-Rev-E1-Code-Execution-Issue-with-MBDT-or-S32/m-p/1411757#M20382</guid>
      <dc:creator>hbhnhbnhj1</dc:creator>
      <dc:date>2022-02-11T01:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P Rev. E1 - Code Execution Issue with MBDT or S32</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-Rev-E1-Code-Execution-Issue-with-MBDT-or-S32/m-p/1412390#M20389</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/150243"&gt;@hbhnhbnhj1&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the second point:&lt;/P&gt;
&lt;P&gt;Have you updated the model with the right pin configurations for your board version? If you have done that, please send us your models and a picture with jumpers configurations. As far as I know, the default model "&lt;SPAN&gt;flexcan_master_mpc574x" doesn't use any UART block. Can you send us this model or give us more detail ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Adrian&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 10:13:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-Rev-E1-Code-Execution-Issue-with-MBDT-or-S32/m-p/1412390#M20389</guid>
      <dc:creator>adriantudor</dc:creator>
      <dc:date>2022-02-11T10:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P Rev. E1 - Code Execution Issue with MBDT or S32</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-Rev-E1-Code-Execution-Issue-with-MBDT-or-S32/m-p/1412421#M20394</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I can comment FlexCAN_MPC5744P demo in S32DS. &lt;BR /&gt;After doing modification mentioned in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx/DEVKIT-MPC5744P-CAN-testing/m-p/1265121#M18061" target="_blank" rel="noopener"&gt; Solved: Re: DEVKIT-MPC5744P CAN testing - NXP Community&lt;/A&gt;&amp;nbsp;I am able to see terminal message and communicate with CAN tool on rev.E board&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_1-1644579105826.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170327i94E069ABD73A95B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_1-1644579105826.png" alt="PetrS_1-1644579105826.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;No message is send from PC, but receiving on MCU is successful because self reception is enabled MCR[SRXDIS]=0) and RX MB is configured to receive same ID that is send.&lt;/P&gt;
&lt;P&gt;Not sure why code for LED control is done that way. But you can easily modify it. Use below code to enable output on PC11&lt;/P&gt;
&lt;P&gt;SIUL2.MSCR[PC11].B.OBE = 1; // enable output buffer on PC11, driving red LED&lt;/P&gt;
&lt;P&gt;then output level can be controlled by&lt;/P&gt;
&lt;P&gt;SIUL2.GPDO[PC11].R = 0; // Turn on red LED&lt;BR /&gt;SIUL2.GPDO[PC11].R = 1; // Turn off red LED&lt;BR /&gt;SIUL2.GPDO[PC11].R ^= 1; // Toggle red LED&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 11:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-Rev-E1-Code-Execution-Issue-with-MBDT-or-S32/m-p/1412421#M20394</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2022-02-11T11:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P Rev. E1 - Code Execution Issue with MBDT or S32</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-Rev-E1-Code-Execution-Issue-with-MBDT-or-S32/m-p/1445397#M20974</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;&amp;nbsp;, thanks for your reply and sorry for my delayed response.&lt;BR /&gt;&lt;BR /&gt;I still cannot receive 0x555 from CAN listener ( Komodo CAN Duo ),&amp;nbsp;&lt;BR /&gt;but the red led is on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My board version is revE1 as shown in figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oiufego.jpg" style="width: 343px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177216i584E722125362032/image-dimensions/343x257?v=v2" width="343" height="257" role="button" title="oiufego.jpg" alt="oiufego.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I have modified the code as specified in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MPC5xxx/DEVKIT-MPC5744P-CAN-testing/m-p/1265121#M18061" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Solved: Re: DEVKIT-MPC5744P CAN testing - NXP Community&lt;/A&gt;&amp;nbsp;as shown in figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="螢幕擷取畫面 2022-04-19 115721.png" style="width: 294px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177217i08D47437B8EE03C2/image-dimensions/294x163?v=v2" width="294" height="163" role="button" title="螢幕擷取畫面 2022-04-19 115721.png" alt="螢幕擷取畫面 2022-04-19 115721.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="螢幕擷取畫面 2022-04-19 115755.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177218iE0BA0BB953A02D03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="螢幕擷取畫面 2022-04-19 115755.png" alt="螢幕擷取畫面 2022-04-19 115755.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; My CAN connection is as figure below, CAN0 - CAN2 - CAN listener&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hbhnhbnhj1_2-1650341545282.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177220iE8AAE1D0096F97A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hbhnhbnhj1_2-1650341545282.jpeg" alt="hbhnhbnhj1_2-1650341545282.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, if I also change the&amp;nbsp;LOOPBACK to 0.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hbhnhbnhj1_0-1650343172882.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177226i88BCDE9B66A9D4BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hbhnhbnhj1_0-1650343172882.png" alt="hbhnhbnhj1_0-1650343172882.png" /&gt;&lt;/span&gt;&lt;BR /&gt;1. the CAN listener can get 0x555&lt;BR /&gt;2. the red led is vanished&lt;BR /&gt;3. the UART still got nothing&lt;BR /&gt;&lt;BR /&gt;Also, what is the meaning of DS and MB shown in the comment at main.c&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hbhnhbnhj1_1-1650343317894.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177227iFC9A020461E4879A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hbhnhbnhj1_1-1650343317894.png" alt="hbhnhbnhj1_1-1650343317894.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;By the way,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/103940"&gt;@adriantudor&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;the UART should print the data received if the description is right as shown in figure below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hbhnhbnhj1_3-1650341858089.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177221iA9ABDF1DB5D3F04F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hbhnhbnhj1_3-1650341858089.png" alt="hbhnhbnhj1_3-1650341858089.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hbhnhbnhj1_4-1650341860565.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177222i2F0585686FCE08F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hbhnhbnhj1_4-1650341860565.png" alt="hbhnhbnhj1_4-1650341860565.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;However, there is no data shown in UART terminal.&lt;BR /&gt;The jumper configuration is shown as figure below and the code is as attached.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hbhnhbnhj1_6-1650342211512.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177224iFB988E8CEF4E808B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hbhnhbnhj1_6-1650342211512.jpeg" alt="hbhnhbnhj1_6-1650342211512.jpeg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Please help me solve these issues, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 06:54:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-Rev-E1-Code-Execution-Issue-with-MBDT-or-S32/m-p/1445397#M20974</guid>
      <dc:creator>hbhnhbnhj1</dc:creator>
      <dc:date>2022-04-21T06:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P Rev. E1 - Code Execution Issue with MBDT or S32</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-Rev-E1-Code-Execution-Issue-with-MBDT-or-S32/m-p/1445399#M20975</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/103940"&gt;@adriantudor&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply and sorry for my late response.&lt;BR /&gt;&lt;BR /&gt;The feedback is described in the reply to&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52961"&gt;@PetrS&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx/MPC5744P-Rev-E1-Code-Execution-Issue-with-MBDT-or-S32/m-p/1445397/highlight/true#M20974" target="_blank"&gt;Re: MPC5744P Rev. E1 - Code Execution Issue with M... - NXP Community&lt;/A&gt;&lt;BR /&gt;please refer to it, thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 04:43:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-Rev-E1-Code-Execution-Issue-with-MBDT-or-S32/m-p/1445399#M20975</guid>
      <dc:creator>hbhnhbnhj1</dc:creator>
      <dc:date>2022-04-19T04:43:30Z</dc:date>
    </item>
  </channel>
</rss>

