<?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 FlexCAN example</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689714#M8495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kind reply.&lt;/P&gt;&lt;P&gt;I have solve the problem with your comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the jumper position, I have a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the jumper position is 2-3 for j37 and j38, PA10 and PA11 is selected as TX and RX.&lt;/P&gt;&lt;P&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/21234iFE240792ADD18B14/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;PA10 and PA11 is connected to connected to PTA10 and PTA11 pin for Daughter board (MPC5744P-144DS).&lt;/P&gt;&lt;P&gt;But PTA10 and PTA11 are not related to CAN TX and RX.&lt;/P&gt;&lt;P&gt;Rather than PTA10 and PTA11, PE5 and PG14 is connected to CAN1_TXD and CAN1_RXD&amp;nbsp;&lt;/P&gt;&lt;P&gt;PE5 is connected to PTA14 and PG14 is connected to PTA15&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21438i8B64F12A3A62A246/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That is why I set the jumper position of J37 and J38 as 1-2.&lt;/P&gt;&lt;P&gt;Moreover, in the program,&lt;/P&gt;&lt;P&gt;PTA14 and PTA15 pin are set as CAN1_TX and CAN1_RX as follow;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* configure CAN1TX and CAN1RX pin functions */&lt;BR /&gt; SIUL2.MSCR[14].B.SSS = 1; /* Pad PA14: Source signal is CAN1_TX */&lt;BR /&gt; SIUL2.MSCR[14].B.OBE = 1; /* Pad PA14: Output Buffer Enable */&lt;BR /&gt; SIUL2.MSCR[14].B.SRC = 3; /* Pad PA14: Maximum slew rate */&lt;BR /&gt; SIUL2.MSCR[15].B.IBE = 1; /* Pad PA15: Enable pad for input - CAN1_RX */&lt;BR /&gt; SIUL2.IMCR[33].B.SSS = 1; /* CAN1_RX: connected to pad PA15 */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hyuntae Choi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2017 09:14:29 GMT</pubDate>
    <dc:creator>seize</dc:creator>
    <dc:date>2017-06-01T09:14:29Z</dc:date>
    <item>
      <title>MPC5744P FlexCAN example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689710#M8491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using &amp;nbsp;MPC5744P-144DS daughter board and &amp;nbsp;MPC57xxx mother board to test FlexCAN module.&lt;/P&gt;&lt;P&gt;As there is no FlexCAN example for S32DS, I have refereed to&amp;nbsp;&amp;nbsp;"MCP5744P FlexCAN simple TXRX" example for GHS compiler and "MPC5748G-FlexCAN_with_interrupts-S32DS"&lt;/P&gt;&lt;P&gt;I modify the main code to Transmit a message (CAN_0 MB0) with ETimer interrupt every 1 second, and receive the message with interrupt (CAN_1 MB0). &amp;nbsp;&lt;/P&gt;&lt;P&gt;I also configured the mother board (P4 and P5) by connecting CAN0_CANH to CAN1_CANH and CAN0_CANL to CAN0_CANL. Also terminate the CAN bus with 60 ohm resistor.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the program, it always suspending in the following line&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while ( CAN_0.IFLAG1.B.BUF0I == 0) { Counter_W++;} // wait until the tx is completed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please look into my code and help me with this problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your kind support.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hyuntae Choi&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338323"&gt;main.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 02:20:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689710#M8491</guid>
      <dc:creator>seize</dc:creator>
      <dc:date>2017-05-24T02:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FlexCAN example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689711#M8492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please send me high quality photo of your board? I need to check jumper position for CAN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 13:00:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689711#M8492</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-05-24T13:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FlexCAN example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689712#M8493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the pictures of the board.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="board.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19351i25B9B80073D8C989/image-size/large?v=v2&amp;amp;px=999" role="button" title="board.jpg" alt="board.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="J17_Conncetion.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19400i0B18A35400FA0087/image-size/large?v=v2&amp;amp;px=999" role="button" title="J17_Conncetion.jpg" alt="J17_Conncetion.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="J32_J35.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19445i47EA3C77B00E3FAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="J32_J35.jpg" alt="J32_J35.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="termination.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19482iAD1698EB1F803884/image-size/large?v=v2&amp;amp;px=999" role="button" title="termination.jpg" alt="termination.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned, the program always suspending on following line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;while ( CAN_0.IFLAG1.B.BUF0I == 0) { Counter_W++;} // wait until the tx is completed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;But when I check the CAN bus, I can see the CAN signal &amp;nbsp;as follow.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20170531_102005.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19532iE244D27AD8E300A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="20170531_102005.jpg" alt="20170531_102005.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And CAN_0_ESR1 shows ACK error&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/19450i353ED7327E2BBA8C/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;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Hyuntae Choi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 00:14:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689712#M8493</guid>
      <dc:creator>seize</dc:creator>
      <dc:date>2017-05-29T00:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FlexCAN example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689713#M8494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TX signal you shared is correct, but you do not receive acknowledge. Change j37 and j38 jumpers position on motherboard. For correct behavior jumpers position has to be 2-3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 11:27:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689713#M8494</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-05-31T11:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FlexCAN example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689714#M8495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kind reply.&lt;/P&gt;&lt;P&gt;I have solve the problem with your comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the jumper position, I have a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the jumper position is 2-3 for j37 and j38, PA10 and PA11 is selected as TX and RX.&lt;/P&gt;&lt;P&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/21234iFE240792ADD18B14/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;PA10 and PA11 is connected to connected to PTA10 and PTA11 pin for Daughter board (MPC5744P-144DS).&lt;/P&gt;&lt;P&gt;But PTA10 and PTA11 are not related to CAN TX and RX.&lt;/P&gt;&lt;P&gt;Rather than PTA10 and PTA11, PE5 and PG14 is connected to CAN1_TXD and CAN1_RXD&amp;nbsp;&lt;/P&gt;&lt;P&gt;PE5 is connected to PTA14 and PG14 is connected to PTA15&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21438i8B64F12A3A62A246/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That is why I set the jumper position of J37 and J38 as 1-2.&lt;/P&gt;&lt;P&gt;Moreover, in the program,&lt;/P&gt;&lt;P&gt;PTA14 and PTA15 pin are set as CAN1_TX and CAN1_RX as follow;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* configure CAN1TX and CAN1RX pin functions */&lt;BR /&gt; SIUL2.MSCR[14].B.SSS = 1; /* Pad PA14: Source signal is CAN1_TX */&lt;BR /&gt; SIUL2.MSCR[14].B.OBE = 1; /* Pad PA14: Output Buffer Enable */&lt;BR /&gt; SIUL2.MSCR[14].B.SRC = 3; /* Pad PA14: Maximum slew rate */&lt;BR /&gt; SIUL2.MSCR[15].B.IBE = 1; /* Pad PA15: Enable pad for input - CAN1_RX */&lt;BR /&gt; SIUL2.IMCR[33].B.SSS = 1; /* CAN1_RX: connected to pad PA15 */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hyuntae Choi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 09:14:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689714#M8495</guid>
      <dc:creator>seize</dc:creator>
      <dc:date>2017-06-01T09:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P FlexCAN example</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689715#M8496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems you have some outdated schematic. Please look at the figure below. It is screen from MPC57xx EVB MOTHER BOARD rev C.&lt;/P&gt;&lt;P&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/22678i468536DE7188485E/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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 12:24:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5744P-FlexCAN-example/m-p/689715#M8496</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-06-01T12:24:43Z</dc:date>
    </item>
  </channel>
</rss>

