<?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 SDKのトピックRe: MPC5744P DEVKIT Using S32 SDK 0.9.0 BETA</title>
    <link>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784442#M455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do have an additional follow-up question, however. Are the values 500kbps and 85% sampling point dependent on the CAN transceiver (MC33901WEF) in the case of the DEVKIT? Also, the default sampling point was 87.5% actually, which worked. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2018 13:05:18 GMT</pubDate>
    <dc:creator>chuluezhong</dc:creator>
    <dc:date>2018-06-25T13:05:18Z</dc:date>
    <item>
      <title>MPC5744P DEVKIT Using S32 SDK 0.9.0 BETA</title>
      <link>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784439#M452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to test the FlexCAN module using the S32 SDK 0.9.0 BETA for the MPC5744P. I have tried loading the example code, which on reception of a CAN message toggles the DEVKIT LEDs and also sends CAN messages when the switches are pressed. I am using a Vector VN1610 CAN-to-USB to communicate with the board when running, however, I seem to not be able to receive or send data to the board this way. On debug, I see that the program is stuck in the loop&lt;/P&gt;&lt;P&gt;while (FLEXCAN_DRV_GetTransferStatus(INST_CANCOM1, RX_MAILBOX) == STATUS_BUSY) { }&lt;/P&gt;&lt;P&gt;I have also monitored the signals from the CAN ports on the DEVKIT as well as the Vector VN1610 and I can read signals on the scope so I am unsure why the the transfer status cannot 'finish' i.e. the loop is infinite.&lt;/P&gt;&lt;P&gt;i have attached my set-up as well as the tests I have made on the oscilloscope.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2018 10:57:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784439#M452</guid>
      <dc:creator>chuluezhong</dc:creator>
      <dc:date>2018-06-15T10:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P DEVKIT Using S32 SDK 0.9.0 BETA</title>
      <link>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784440#M453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd recommend to add terminating resistor 120 ohm between CAN_H and&amp;nbsp; CAN_L terminals or populate SMD resistor 120 Ohm - R38 pads&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/61328iAF0A0BC868FA0746/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;Also please make sure you setup the CAN bus correctly on the PC side:&lt;/P&gt;&lt;P&gt;500kbps, 85% sampling point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stan&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jun 2018 09:51:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784440#M453</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2018-06-16T09:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P DEVKIT Using S32 SDK 0.9.0 BETA</title>
      <link>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784441#M454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much, I now have the example code working. I thought initially that this resistor was already on the board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2018 08:56:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784441#M454</guid>
      <dc:creator>chuluezhong</dc:creator>
      <dc:date>2018-06-18T08:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P DEVKIT Using S32 SDK 0.9.0 BETA</title>
      <link>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784442#M455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do have an additional follow-up question, however. Are the values 500kbps and 85% sampling point dependent on the CAN transceiver (MC33901WEF) in the case of the DEVKIT? Also, the default sampling point was 87.5% actually, which worked. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 13:05:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784442#M455</guid>
      <dc:creator>chuluezhong</dc:creator>
      <dc:date>2018-06-25T13:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P DEVKIT Using S32 SDK 0.9.0 BETA</title>
      <link>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784443#M456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Chulue Zhong&lt;SPAN style="background-color: #ffffff; color: #646464;"&gt;, Could you please share the example code which you used with the DEVKIT to transmit and receive CAN signals on the CAN0 port?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #646464;"&gt;The example included with the S32 Design studio for MPC5744P DEVKIT sends CAN messages on CAN2 and I'm not sure how to monitor these using a&amp;nbsp;&lt;SPAN style="color: #51626f;"&gt;Vector CAN case HW and Vector CANoe.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;H1 style="border: 0px; font-weight: 200; font-size: 2rem;"&gt;&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 13:49:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784443#M456</guid>
      <dc:creator>vernonhawes</dc:creator>
      <dc:date>2018-08-21T13:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5744P DEVKIT Using S32 SDK 0.9.0 BETA</title>
      <link>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784444#M457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way I set up CAN was to use Processor Expert with the S32 SDK, which is an addon you can get from the S32 download page I believe. Then you can choose which FlexCAN module to use in a graphical interface and then add functionality by dragging and dropping code. Hence the final code set-up (FlexCAN only) for me was&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in "main()":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // FlexCAN message struct for sending&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;flexcan_msgbuff_t send_buff;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;send_buff.data[0] = 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;send_buff.data[1] = 0xFF;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;send_buff.data[2] = 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;send_buff.data[3] = 0xFF;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;send_buff.data[4] = 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;send_buff.data[5] = 0xFF;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;send_buff.data[6] = 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;send_buff.data[7] = 0xFF;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;send_buff.dataLen = 8; // data length&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;send_buff.msgId = 1; // Message ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// FlexCAN Data Info&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;flexcan_data_info_t txInfo = {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.data_length = 8,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.is_remote = 0,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;.msg_id_type = &amp;nbsp;&amp;nbsp; &amp;nbsp;FLEXCAN_MSG_ID_STD, &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Initialize FlexCAN module&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;FLEXCAN_DRV_Init(INST_CANCOM1, &amp;amp;canCom1_State, &amp;amp;canCom1_InitConfig0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// Configure Tx Message Buffer 0 to send CAN message&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;FLEXCAN_DRV_ConfigTxMb(INST_CANCOM1, 0, &amp;amp;txInfo,&amp;nbsp; send_buff.msgId);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// Send the message&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;FLEXCAN_DRV_Send(INST_CANCOM1, 0, &amp;amp;txInfo, send_buff.msgId, &amp;amp;(send_buff.data));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;while(1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;// Wait for transfer to complete&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;while (FLEXCAN_DRV_GetTransferStatus(INST_CANCOM1, 0) == STATUS_BUSY) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;//FLEXCAN_DRV_Send(INST_CANCOM1, 0, &amp;amp;txInfo, send_buff.msgId, &amp;amp;(send_buff.data));&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;counter++;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't use the S32 SDK I think you can just replace CAN2 with CAN0 in the example code you saw, but you probably need to pay attention to the peripheral clocking for CAN0. On the DEVKIT, only CAN0 is connected to a proper CAN transceiver (MC33901WEF, see above) so with minimal set-up you would just need a 120-ohm resistor and some wires to connect to the Vector CAN peripherals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 07:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/MPC5744P-DEVKIT-Using-S32-SDK-0-9-0-BETA/m-p/784444#M457</guid>
      <dc:creator>chuluezhong</dc:creator>
      <dc:date>2018-08-22T07:45:23Z</dc:date>
    </item>
  </channel>
</rss>

