<?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: LPC11C14 CAN_C on chip drivers in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C14-CAN-C-on-chip-drivers/m-p/530338#M9990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Mesozoic on Tue Oct 15 16:40:20 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I just figured this out.&amp;nbsp; The documentation isn't great, that's for sure.&amp;nbsp; This took a lot of trial and error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, in order to configure a receive CAN messages, you have to set it up with the msgobj number, the mode_id, and the mask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Say for example you want to be able to receive all CAN messages with the following IDs: 00000EE4, 00010EE4, 00020EE4, 00030EE4, 00040EE4, and 00050EE4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set your mode_id = 0x00000EE4UL.&amp;nbsp; Since these are extended 29-bit messages, make sure mode_id |= CAN_MSGOBJ_EXT.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set your mask = 0x00027FFFUL.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now your CAN_rx() callback should trigger.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:33:24 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:33:24Z</dc:date>
    <item>
      <title>LPC11C14 CAN_C on chip drivers</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C14-CAN-C-on-chip-drivers/m-p/530337#M9989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gd_starter on Fri May 10 04:09:39 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;Has anybody used the CANopen api functions with the the NXP app note&amp;nbsp;AN11238?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;There are so many differences/omissions between the user manual (chapter 17) and source code in the app note, I would like to hear that someone has had some success in using the api's to connect to a PLC and not just another devboard (as the appnote suggests).&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;For example does anyone have a better explanation for how to use the&amp;nbsp;CAN_MSG_OBJ to configure message objects - in particular how to use mode_id and mask to filter message COB-ID's?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:33:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C14-CAN-C-on-chip-drivers/m-p/530337#M9989</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11C14 CAN_C on chip drivers</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C14-CAN-C-on-chip-drivers/m-p/530338#M9990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Mesozoic on Tue Oct 15 16:40:20 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I just figured this out.&amp;nbsp; The documentation isn't great, that's for sure.&amp;nbsp; This took a lot of trial and error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, in order to configure a receive CAN messages, you have to set it up with the msgobj number, the mode_id, and the mask.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Say for example you want to be able to receive all CAN messages with the following IDs: 00000EE4, 00010EE4, 00020EE4, 00030EE4, 00040EE4, and 00050EE4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set your mode_id = 0x00000EE4UL.&amp;nbsp; Since these are extended 29-bit messages, make sure mode_id |= CAN_MSGOBJ_EXT.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set your mask = 0x00027FFFUL.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now your CAN_rx() callback should trigger.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:33:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C14-CAN-C-on-chip-drivers/m-p/530338#M9990</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:33:24Z</dc:date>
    </item>
  </channel>
</rss>

