<?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>topic Re: How to use can_receive on LPC11C24? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775699#M31210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;How to test the data sent?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2018 02:00:16 GMT</pubDate>
    <dc:creator>funa</dc:creator>
    <dc:date>2018-09-26T02:00:16Z</dc:date>
    <item>
      <title>How to use can_receive on LPC11C24?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775694#M31205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to CAN and NXP uC.&lt;/P&gt;&lt;P&gt;I'm now trying to use CAN on LPC11C24.&lt;/P&gt;&lt;P&gt;So far sending data from&amp;nbsp;&lt;SPAN&gt;LPC11C24&lt;/SPAN&gt; successfully worked very easily.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to know is how to handle and see the content of message which &lt;SPAN&gt;LPC11C24&lt;/SPAN&gt;&amp;nbsp;received.&lt;/P&gt;&lt;P&gt;Let's say the other side node sends two bytes data and&amp;nbsp;&lt;SPAN&gt;LPC11C24&lt;/SPAN&gt; receives it.&lt;/P&gt;&lt;P&gt;I would like to process the 2 bytes data in my codes.&lt;/P&gt;&lt;P&gt;I just added below codes to the example one but it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//variable declaration&lt;/P&gt;&lt;P&gt;uint8_t received_message=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Configure message object 1 to receive all 11-bit messages 0x400-0x4FF */&lt;BR /&gt; msg_obj.msgobj = 1;&lt;BR /&gt; msg_obj.mode_id = 0x400;&lt;BR /&gt; msg_obj.mask = 0x0;&lt;BR /&gt; LPC_CCAN_API-&amp;gt;config_rxmsgobj(&amp;amp;msg_obj);&lt;BR /&gt; &lt;BR /&gt; //receive message&lt;BR /&gt; LPC_CCAN_API-&amp;gt;can_receive(&amp;amp;msg_obj);&lt;BR /&gt; received_message = msg_obj.data[0];&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;Could somebody kindly advice me how to use can_receive or give some example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 22:19:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775694#M31205</guid>
      <dc:creator>yuzurumizuno</dc:creator>
      <dc:date>2018-01-09T22:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use can_receive on LPC11C24?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775695#M31206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="310820" data-username="yuzurumizuno" href="https://community.nxp.com/people/yuzurumizuno"&gt;Yuzuru Mizuno&lt;/A&gt; ,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial,sans-serif; font-size: 13px;"&gt;Thank you for your interest in NXP Semiconductor products and&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial,sans-serif; font-size: 13px;"&gt;the opportunity to serve you.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial,sans-serif; font-size: 13px;"&gt;To provide the fastest possible support, I'd highly recommend you to refer to the periph_ccan_rom demo in the LPCOpen library whose link is below.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial,sans-serif; font-size: 13px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2018-01-11_14-19-25.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2406iE4A2CE11602A9546/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-01-11_14-19-25.jpg" alt="2018-01-11_14-19-25.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Arial,sans-serif; font-size: 13px;"&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/software-development-tools/lpc-developer-resources-/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc11xx:LPCOPEN-SOFTWARE-FOR-LPC11XX" title="https://www.nxp.com/support/developer-resources/software-development-tools/lpc-developer-resources-/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc11xx:LPCOPEN-SOFTWARE-FOR-LPC11XX"&gt;LPCOpen Software for LPC11XX|NXP&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="white-space: pre-wrap; text-align: left; line-height: 1.75; font-size: 14px;"&gt;&lt;P&gt;TIC&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;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 06:21:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775695#M31206</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-01-11T06:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to use can_receive on LPC11C24?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775696#M31207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the response.&lt;/P&gt;&lt;P&gt;I carefully read the sample program and tried it. Then I successfully confirmed that the board is receiving the data.&lt;/P&gt;&lt;P&gt;It works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Yuzuru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 05:06:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775696#M31207</guid>
      <dc:creator>yuzurumizuno</dc:creator>
      <dc:date>2018-01-15T05:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to use can_receive on LPC11C24?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775697#M31208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;How do you implement the data transmission?Can you teach me?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 02:52:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775697#M31208</guid>
      <dc:creator>funa</dc:creator>
      <dc:date>2018-09-20T02:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use can_receive on LPC11C24?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775698#M31209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;BR /&gt;Whether you can clarify your issue in detail.&lt;BR /&gt;In the periph_ccan_rom demo, it demonstrates the transmit and receive function via the CAN ROM driver, you can refer to it.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&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, 21 Sep 2018 03:07:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775698#M31209</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-09-21T03:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use can_receive on LPC11C24?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775699#M31210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;How to test the data sent?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 02:00:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775699#M31210</guid>
      <dc:creator>funa</dc:creator>
      <dc:date>2018-09-26T02:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use can_receive on LPC11C24?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775700#M31211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;BR /&gt;For testing, you need a CAN protocol analyzer, for instance, &lt;A href="https://www.peak-system.com/Products.57.0.html?&amp;amp;L=1"&gt;PCAN-USB&lt;/A&gt;, you can send a CAN frame to the MCU, after receiving, it will echo a CAN frame with ID +0x100.&lt;BR /&gt;Please give a try.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&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, 28 Sep 2018 04:30:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775700#M31211</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-09-28T04:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use can_receive on LPC11C24?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775701#M31212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Thanks for your answer. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;I took two wires in TXD and RXD, measured with an oscilloscope, and then run the following program.&lt;/SPAN&gt; &lt;SPAN&gt;Found no signal.&lt;/SPAN&gt; &lt;SPAN&gt;It was found that VCC is always 0.&lt;/SPAN&gt; &lt;SPAN&gt;Does VCC require external power supply?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;/////////////////////////////////////////////////////&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;while(1) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;msg_obj.msgobj&amp;nbsp; = 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;msg_obj.mode_id = 0x345;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;msg_obj.mask&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;msg_obj.dlc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 4;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;msg_obj.data[0] = 'T';&amp;nbsp;&amp;nbsp; &amp;nbsp;// 0x54&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;msg_obj.data[1] = 'E';&amp;nbsp;&amp;nbsp; &amp;nbsp;// 0x45&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;msg_obj.data[2] = 'S';&amp;nbsp;&amp;nbsp; &amp;nbsp;// 0x53&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;msg_obj.data[3] = 'T';&amp;nbsp;&amp;nbsp; &amp;nbsp;// 0x54&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;LPC_CCAN_API-&amp;gt;can_transmit(&amp;amp;msg_obj);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;for(j=0;j&amp;lt;1000000;j++) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Board_LED_Toggle(0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2018 07:44:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775701#M31212</guid>
      <dc:creator>funa</dc:creator>
      <dc:date>2018-09-30T07:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use can_receive on LPC11C24?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775702#M31213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="324576" data-username="funa@smc.com.cn" href="https://community.nxp.com/people/funa@smc.com.cn"&gt;na fu,&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks for your reply.&lt;BR /&gt;Yes, the Vcc and VDD_CAN pins both should be connected to the power, please refer to the schematic of LPCXpresso LPC11C24 board.&lt;/SPAN&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&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>Wed, 03 Oct 2018 07:27:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775702#M31213</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-10-03T07:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use can_receive on LPC11C24?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775703#M31214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EXT_VIN need e&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;xternally provided 5V ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 00:49:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775703#M31214</guid>
      <dc:creator>funa</dc:creator>
      <dc:date>2018-10-08T00:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use can_receive on LPC11C24?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775704#M31215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;No, it doesn't need it.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&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>Tue, 09 Oct 2018 07:56:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-use-can-receive-on-LPC11C24/m-p/775704#M31215</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-10-09T07:56:25Z</dc:date>
    </item>
  </channel>
</rss>

