<?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>LPC MicrocontrollersのトピックRe: How to set Can Object Dictionary entry to greater than 15 bytes</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-Can-Object-Dictionary-entry-to-greater-than-15-bytes/m-p/646672#M25606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg Wilson-Lindberg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you use the CAN on chip drivers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This on chip drivers seems just defined the CAN_ODENTRY entrytype_len max to 15.&lt;/P&gt;&lt;P&gt;Even definition is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; typedef struct _CAN_ODENTRY {&lt;BR /&gt;&amp;nbsp; uint16_t index;&lt;BR /&gt;&amp;nbsp; uint8_t&amp;nbsp; subindex;&lt;BR /&gt;&amp;nbsp; &lt;STRONG&gt;uint8_t&amp;nbsp;&lt;/STRONG&gt; entrytype_len;&lt;BR /&gt;&amp;nbsp; uint8_t&amp;nbsp; *val;&lt;BR /&gt;}CAN_ODENTRY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the high 4 bits already defined as access_type, just lower 4 bit can be used as the length.&lt;/P&gt;&lt;P&gt;This should be defined in the on chip drivers, and can't be modified.&lt;/P&gt;&lt;P&gt;If you want to use larger length, maybe you should write your own lpcopen code.&lt;/P&gt;&lt;P&gt;But I also will help you to contact with other AE, check it whether there has another way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Mon, 14 Nov 2016 08:52:38 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2016-11-14T08:52:38Z</dc:date>
    <item>
      <title>How to set Can Object Dictionary entry to greater than 15 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-Can-Object-Dictionary-entry-to-greater-than-15-bytes/m-p/646671#M25605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the CAN_ODENTRY array the length of the object entry is limited to 4 bits, but strings can be longer than that. Also for something like OD1f50 which points to a buffer that I would like to set to 4K bytes long, how do I set the length.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 18:32:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-Can-Object-Dictionary-entry-to-greater-than-15-bytes/m-p/646671#M25605</guid>
      <dc:creator>gregwilson-lind</dc:creator>
      <dc:date>2016-11-09T18:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Can Object Dictionary entry to greater than 15 bytes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-Can-Object-Dictionary-entry-to-greater-than-15-bytes/m-p/646672#M25606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg Wilson-Lindberg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you use the CAN on chip drivers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This on chip drivers seems just defined the CAN_ODENTRY entrytype_len max to 15.&lt;/P&gt;&lt;P&gt;Even definition is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; typedef struct _CAN_ODENTRY {&lt;BR /&gt;&amp;nbsp; uint16_t index;&lt;BR /&gt;&amp;nbsp; uint8_t&amp;nbsp; subindex;&lt;BR /&gt;&amp;nbsp; &lt;STRONG&gt;uint8_t&amp;nbsp;&lt;/STRONG&gt; entrytype_len;&lt;BR /&gt;&amp;nbsp; uint8_t&amp;nbsp; *val;&lt;BR /&gt;}CAN_ODENTRY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the high 4 bits already defined as access_type, just lower 4 bit can be used as the length.&lt;/P&gt;&lt;P&gt;This should be defined in the on chip drivers, and can't be modified.&lt;/P&gt;&lt;P&gt;If you want to use larger length, maybe you should write your own lpcopen code.&lt;/P&gt;&lt;P&gt;But I also will help you to contact with other AE, check it whether there has another way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Mon, 14 Nov 2016 08:52:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-set-Can-Object-Dictionary-entry-to-greater-than-15-bytes/m-p/646672#M25606</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-11-14T08:52:38Z</dc:date>
    </item>
  </channel>
</rss>

