<?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>Kinetis Microcontrollers中的主题 Re: CAN_LDD not receiving in loopback and doesn't Transmit when not in loopback.</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-LDD-not-receiving-in-loopback-and-doesn-t-Transmit-when-not/m-p/865201#M51704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to flash your project into &lt;A href="https://www.nxp.com/downloads/en/schematics/TWR-K20D72M_SCH1.pdf"&gt;TWR-K20D72M&lt;/A&gt;(MK20DX256VLL7) board with &lt;A href="https://www.nxp.com/downloads/en/schematics/TWR-SER-SCH.pdf"&gt;TWR-SER&lt;/A&gt; connected.&lt;/P&gt;&lt;P&gt;Modify the &lt;STRONG&gt;Loop mode&lt;/STRONG&gt; to &lt;STRONG&gt;no&lt;/STRONG&gt; and then generated code again.&lt;/P&gt;&lt;P&gt;The CAN analyzer is able to receive data.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CAN_LDD TWR-K20D72M TWR-SER.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76788i81963CAC4A039643/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_LDD TWR-K20D72M TWR-SER.png" alt="CAN_LDD TWR-K20D72M TWR-SER.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The R25 and R26 should not be DNP,&amp;nbsp; I have solder 0 resisters.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="R25 R26 TWR-K20D72M.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76716i139EE38E00542420/image-size/large?v=v2&amp;amp;px=999" role="button" title="R25 R26 TWR-K20D72M.png" alt="R25 R26 TWR-K20D72M.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The CAN analyzer was connect to the singal output of TJA1050T(CANH and CANL).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TJA1050T TWR-SER.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76752i83AF84FFF5F9FBB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="TJA1050T TWR-SER.png" alt="TJA1050T TWR-SER.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;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2019 06:57:49 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2019-01-11T06:57:49Z</dc:date>
    <item>
      <title>CAN_LDD not receiving in loopback and doesn't Transmit when not in loopback.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-LDD-not-receiving-in-loopback-and-doesn-t-Transmit-when-not/m-p/865200#M51703</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;I'm running into a problem when using the MK20DX256VLH7 microcontroller.&amp;nbsp; On board, there is a CAN system that I am trying to utilize and have programmed the help code in process expert CAN_LDD. I followed the help examples to the point where I am transmitting, but it never receives anything, even in loopback.&amp;nbsp; I have connected a second device that only listens, but still nothing is received on its end.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Kinetis Design Studio 3, and a Universal Debugger from PE Micro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached my code in the zip folder.&amp;nbsp; I would appreciate any help&amp;nbsp;I can get on this.&amp;nbsp; I have some other stuff in the their for the project I'm working on, but it is the CAN bus right now that is the only thing I can't get to work properly.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 17:28:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-LDD-not-receiving-in-loopback-and-doesn-t-Transmit-when-not/m-p/865200#M51703</guid>
      <dc:creator>pnaud</dc:creator>
      <dc:date>2019-01-09T17:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: CAN_LDD not receiving in loopback and doesn't Transmit when not in loopback.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-LDD-not-receiving-in-loopback-and-doesn-t-Transmit-when-not/m-p/865201#M51704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to flash your project into &lt;A href="https://www.nxp.com/downloads/en/schematics/TWR-K20D72M_SCH1.pdf"&gt;TWR-K20D72M&lt;/A&gt;(MK20DX256VLL7) board with &lt;A href="https://www.nxp.com/downloads/en/schematics/TWR-SER-SCH.pdf"&gt;TWR-SER&lt;/A&gt; connected.&lt;/P&gt;&lt;P&gt;Modify the &lt;STRONG&gt;Loop mode&lt;/STRONG&gt; to &lt;STRONG&gt;no&lt;/STRONG&gt; and then generated code again.&lt;/P&gt;&lt;P&gt;The CAN analyzer is able to receive data.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CAN_LDD TWR-K20D72M TWR-SER.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76788i81963CAC4A039643/image-size/large?v=v2&amp;amp;px=999" role="button" title="CAN_LDD TWR-K20D72M TWR-SER.png" alt="CAN_LDD TWR-K20D72M TWR-SER.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The R25 and R26 should not be DNP,&amp;nbsp; I have solder 0 resisters.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="R25 R26 TWR-K20D72M.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76716i139EE38E00542420/image-size/large?v=v2&amp;amp;px=999" role="button" title="R25 R26 TWR-K20D72M.png" alt="R25 R26 TWR-K20D72M.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The CAN analyzer was connect to the singal output of TJA1050T(CANH and CANL).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TJA1050T TWR-SER.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76752i83AF84FFF5F9FBB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="TJA1050T TWR-SER.png" alt="TJA1050T TWR-SER.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;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 06:57:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-LDD-not-receiving-in-loopback-and-doesn-t-Transmit-when-not/m-p/865201#M51704</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2019-01-11T06:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: CAN_LDD not receiving in loopback and doesn't Transmit when not in loopback.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-LDD-not-receiving-in-loopback-and-doesn-t-Transmit-when-not/m-p/865202#M51705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually found that the issue was due to the Mask Filtering I had set.&amp;nbsp; Not sure why, but when I the filter is set to 0x7FF, the unit will not receive anything, even with matching Mask Filtering.&amp;nbsp; I found this out using an external CAN device, which told me I had an Acknowledgment error.&amp;nbsp; So while I was transmitting, it raised an error because it never received an ACK from anything else on the line. Everything else on the line was filtering the message out due to the masking and not responding.&amp;nbsp; I changed this to 0x00 (allow everything) and now it works fine.&amp;nbsp; I might play with some filtering later, but I can handle a simple check when I receive to make sure I got a message designated for the right device.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2019 21:28:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/CAN-LDD-not-receiving-in-loopback-and-doesn-t-Transmit-when-not/m-p/865202#M51705</guid>
      <dc:creator>pnaud</dc:creator>
      <dc:date>2019-01-17T21:28:38Z</dc:date>
    </item>
  </channel>
</rss>

