<?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のトピックMPC5634M Flex Can send error</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5634M-Flex-Can-send-error/m-p/669418#M7675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I send one message The CAN module Send one more frame:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18540i439B5BC54335E762/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My Send Code is:&lt;/P&gt;&lt;P&gt;if( CAN_C.BUF[ch].CS.B.CODE ==0x8&amp;nbsp;&lt;BR /&gt; || CAN_C.BUF[ch].CS.B.CODE ==0x0&amp;nbsp;&lt;BR /&gt; ) //发送缓冲为空或者未使用的话&lt;BR /&gt; {&lt;BR /&gt; CAN_C.BUF[ch].CS.B.IDE = ide; /* Use standard ID length */&lt;BR /&gt; if(ide == 1)&lt;BR /&gt; {&lt;BR /&gt; CAN_C.BUF[ch].ID.R = id; /* Transmit ID is 555 */&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; CAN_C.BUF[ch].ID.B.STD_ID = id;&amp;nbsp;&lt;BR /&gt; }&lt;BR /&gt; CAN_C.BUF[ch].CS.B.RTR = 0; /* Data frame, not remote Tx request frame */&lt;BR /&gt; CAN_C.BUF[ch].CS.B.LENGTH = length ; /* # bytes to transmit w/o null */&lt;BR /&gt; for (i=0; i&amp;lt;length; i++) {&lt;BR /&gt; CAN_C.BUF[ch].DATA.B[i] = *(data+i); /* Data to be transmitted */&lt;BR /&gt; }&lt;BR /&gt; CAN_C.BUF[ch].CS.B.SRR = 1; /* Tx frame (not req'd for standard frame)*/&lt;BR /&gt; //CAN_C.IFRL.B.BUF01I = 1;&lt;BR /&gt; CAN_C.BUF[ch].CS.B.CODE =0xC; /* Activate msg. buf. to transmit data frame */ &lt;BR /&gt; //while(CAN_C.IFRL.B.BUF01I ==0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt; else&amp;nbsp;&lt;BR /&gt; {&lt;BR /&gt; ;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The memory：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17317iA9752E96836DDC5D/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;I found ,when the first byte to be sent is 0xff、0xfe.... The error ;other byte will be ok!&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 May 2017 09:22:17 GMT</pubDate>
    <dc:creator>413515651</dc:creator>
    <dc:date>2017-05-05T09:22:17Z</dc:date>
    <item>
      <title>MPC5634M Flex Can send error</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634M-Flex-Can-send-error/m-p/669418#M7675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I send one message The CAN module Send one more frame:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18540i439B5BC54335E762/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My Send Code is:&lt;/P&gt;&lt;P&gt;if( CAN_C.BUF[ch].CS.B.CODE ==0x8&amp;nbsp;&lt;BR /&gt; || CAN_C.BUF[ch].CS.B.CODE ==0x0&amp;nbsp;&lt;BR /&gt; ) //发送缓冲为空或者未使用的话&lt;BR /&gt; {&lt;BR /&gt; CAN_C.BUF[ch].CS.B.IDE = ide; /* Use standard ID length */&lt;BR /&gt; if(ide == 1)&lt;BR /&gt; {&lt;BR /&gt; CAN_C.BUF[ch].ID.R = id; /* Transmit ID is 555 */&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; CAN_C.BUF[ch].ID.B.STD_ID = id;&amp;nbsp;&lt;BR /&gt; }&lt;BR /&gt; CAN_C.BUF[ch].CS.B.RTR = 0; /* Data frame, not remote Tx request frame */&lt;BR /&gt; CAN_C.BUF[ch].CS.B.LENGTH = length ; /* # bytes to transmit w/o null */&lt;BR /&gt; for (i=0; i&amp;lt;length; i++) {&lt;BR /&gt; CAN_C.BUF[ch].DATA.B[i] = *(data+i); /* Data to be transmitted */&lt;BR /&gt; }&lt;BR /&gt; CAN_C.BUF[ch].CS.B.SRR = 1; /* Tx frame (not req'd for standard frame)*/&lt;BR /&gt; //CAN_C.IFRL.B.BUF01I = 1;&lt;BR /&gt; CAN_C.BUF[ch].CS.B.CODE =0xC; /* Activate msg. buf. to transmit data frame */ &lt;BR /&gt; //while(CAN_C.IFRL.B.BUF01I ==0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt; else&amp;nbsp;&lt;BR /&gt; {&lt;BR /&gt; ;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The memory：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17317iA9752E96836DDC5D/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;I found ,when the first byte to be sent is 0xff、0xfe.... The error ;other byte will be ok!&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 09:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634M-Flex-Can-send-error/m-p/669418#M7675</guid>
      <dc:creator>413515651</dc:creator>
      <dc:date>2017-05-05T09:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5634M Flex Can send error</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5634M-Flex-Can-send-error/m-p/669419#M7676</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;From the description it is not clear what is the issue in fact.&lt;/P&gt;&lt;P&gt;From the memory window it looks single message buffer is used to transmit extended ID frame with 8 byte payload.&lt;/P&gt;&lt;P&gt;You wrote “When I send one message The CAN module Send one more frame”. Does it mean you see 2 frames on the bus?&lt;/P&gt;&lt;P&gt;Do you have scope picture to see bus signals?&lt;/P&gt;&lt;P&gt;The analyzer (USBCAN1) window shows quite strange data, it is properly configured?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 09:01:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5634M-Flex-Can-send-error/m-p/669419#M7676</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-05-11T09:01:53Z</dc:date>
    </item>
  </channel>
</rss>

