<?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: CAN_MSG_OBJ field descriptions in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/CAN-MSG-OBJ-field-descriptions/m-p/548960#M10780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Oct 06 04:43:32 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't that answered here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=1765&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:26:26 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:26:26Z</dc:date>
    <item>
      <title>CAN_MSG_OBJ field descriptions</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/CAN-MSG-OBJ-field-descriptions/m-p/548959#M10779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by manishd on Wed Oct 05 18:28:00 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone point me to documentation on the correct use of the mode_id field and particularly the mask field in the CAN_MSG_OBJ structure?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps their use is self evident to many of you, but, unfortunately not so clear to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;typedef struct _CAN_MSG_OBJ {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; uint32_t&amp;nbsp; mode_id;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; uint32_t&amp;nbsp; mask;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; uint8_t&amp;nbsp;&amp;nbsp; data[8];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; uint8_t&amp;nbsp;&amp;nbsp; dlc;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; uint8_t&amp;nbsp;&amp;nbsp; msgobj;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}CAN_MSG_OBJ&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/CAN-MSG-OBJ-field-descriptions/m-p/548959#M10779</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: CAN_MSG_OBJ field descriptions</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/CAN-MSG-OBJ-field-descriptions/m-p/548960#M10780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Oct 06 04:43:32 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't that answered here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=1765&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/CAN-MSG-OBJ-field-descriptions/m-p/548960#M10780</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: CAN_MSG_OBJ field descriptions</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/CAN-MSG-OBJ-field-descriptions/m-p/548961#M10781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by madid87 on Thu Oct 06 04:48:07 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: manishd&lt;/STRONG&gt;&lt;BR /&gt;Can anyone point me to documentation on the correct use of the mode_id field and particularly the mask field in the CAN_MSG_OBJ structure?&lt;BR /&gt;&lt;BR /&gt;Perhaps their use is self evident to many of you, but, unfortunately not so clear to me.&lt;BR /&gt;&lt;BR /&gt;typedef struct _CAN_MSG_OBJ {&lt;BR /&gt;&amp;nbsp; uint32_t&amp;nbsp; mode_id;&lt;BR /&gt;&amp;nbsp; uint32_t&amp;nbsp; mask;&lt;BR /&gt;&amp;nbsp; uint8_t&amp;nbsp;&amp;nbsp; data[8];&lt;BR /&gt;&amp;nbsp; uint8_t&amp;nbsp;&amp;nbsp; dlc;&lt;BR /&gt;&amp;nbsp; uint8_t&amp;nbsp;&amp;nbsp; msgobj;&lt;BR /&gt;}CAN_MSG_OBJ&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fields "mode_id" and "mask" are used for acceptance filtering, i.e. CAN controller will receive only IDs that you specify.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mode_id = 0x020&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mask = 0x7FF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This mask has all bits (in case of 11 bit ID) as ones. This means that the filter will compare all bits with the mode_id. So only ID=0x020 will be accepted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If mask is for example 0x7F0 the filter will compare only upper bits, so IDs ranging from 0x020 to 0x02F (filter doesn't care for lower nibble) will be accepted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In other words the filter will logical AND input message ID with the mask and the result will be compared to mode_id. If equal, the message is accepted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:26:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/CAN-MSG-OBJ-field-descriptions/m-p/548961#M10781</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: CAN_MSG_OBJ field descriptions</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/CAN-MSG-OBJ-field-descriptions/m-p/548962#M10782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by deepak.thota88 on Thu Apr 09 07:03:07 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;ok and in e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just want to catch&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;100 , 101 , 200 , 201&amp;nbsp; speratly is the mask still 0x7FF?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:26:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/CAN-MSG-OBJ-field-descriptions/m-p/548962#M10782</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:26:27Z</dc:date>
    </item>
  </channel>
</rss>

