<?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: CAN and RAM offset</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526437#M9067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Thu Mar 17 07:20:49 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi R2D2, and thanks for the expedited answers!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: R2D2&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;No&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: R2D2&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Because it wasn't very good...&lt;BR /&gt;And as shown in my sample:&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fworking-lpc15xx-lqfp48-can-sample" rel="nofollow noopener noreferrer" target="_blank"&gt;https://www.lpcware.com/content/forum/working-lpc15xx-lqfp48-can-sample&lt;/A&gt;&lt;BR /&gt;it's easier to use a simple table&amp;nbsp;&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're right about using a simple table - after all, I guess I will rarely need to set the baudrate to some arbitrary value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Time for a new question now: is there a more verbose description of the error status bits for CAN? couldn't find any in neither the LPCOpen library nor the UM. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it just me or this is not very self-descriptive? &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define CAN_ERROR_NONE0x00000000UL
#define CAN_ERROR_PASS0x00000001UL
#define CAN_ERROR_WARN0x00000002UL
#define CAN_ERROR_BOFF0x00000004UL
#define CAN_ERROR_STUF0x00000008UL
#define CAN_ERROR_FORM0x00000010UL
#define CAN_ERROR_ACK0x00000020UL
#define CAN_ERROR_BIT10x00000040UL
#define CAN_ERROR_BIT00x00000080UL
#define CAN_ERROR_CRC0x00000100UL
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:04:11 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:04:11Z</dc:date>
    <item>
      <title>CAN and RAM offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526435#M9065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Wed Mar 16 07:16:13 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as i know, the CAN implementation on the lpc15xx is the same as lpc11Cxx. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I remember that some RAM offset had to be set on the latter, since the first few bytes were used by the ROM APIs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it still the case on the LPC1549? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bonus question (may grant a beer in selected countries&amp;nbsp; :)&amp;nbsp; ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the algorithm for calculating the baudrate setting which was present on the lpc11c24 example still applies to the lpc15's? If so, why has it been removed? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:04:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526435#M9065</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: CAN and RAM offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526436#M9066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Wed Mar 16 09:35:28 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: miccio&lt;/STRONG&gt;&lt;BR /&gt;However, I remember that some RAM offset had to be set on the latter, since the first few bytes were used by the ROM APIs. Is it still the case on the LPC1549? &lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: miccio&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Beer question :)&lt;BR /&gt;Does the algorithm for calculating the baudrate setting which was present on the lpc11c24 example still applies to the lpc15's? If so, why has it been removed?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because it wasn't very good...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And as shown in my sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fworking-lpc15xx-lqfp48-can-sample" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/forum/working-lpc15xx-lqfp48-can-sample&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it's easier to use a simple table&amp;nbsp;&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:04:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526436#M9066</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: CAN and RAM offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526437#M9067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Thu Mar 17 07:20:49 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi R2D2, and thanks for the expedited answers!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: R2D2&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;No&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: R2D2&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Because it wasn't very good...&lt;BR /&gt;And as shown in my sample:&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fworking-lpc15xx-lqfp48-can-sample" rel="nofollow noopener noreferrer" target="_blank"&gt;https://www.lpcware.com/content/forum/working-lpc15xx-lqfp48-can-sample&lt;/A&gt;&lt;BR /&gt;it's easier to use a simple table&amp;nbsp;&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're right about using a simple table - after all, I guess I will rarely need to set the baudrate to some arbitrary value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Time for a new question now: is there a more verbose description of the error status bits for CAN? couldn't find any in neither the LPCOpen library nor the UM. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it just me or this is not very self-descriptive? &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define CAN_ERROR_NONE0x00000000UL
#define CAN_ERROR_PASS0x00000001UL
#define CAN_ERROR_WARN0x00000002UL
#define CAN_ERROR_BOFF0x00000004UL
#define CAN_ERROR_STUF0x00000008UL
#define CAN_ERROR_FORM0x00000010UL
#define CAN_ERROR_ACK0x00000020UL
#define CAN_ERROR_BIT10x00000040UL
#define CAN_ERROR_BIT00x00000080UL
#define CAN_ERROR_CRC0x00000100UL
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:04:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526437#M9067</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: CAN and RAM offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526438#M9068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Thu Mar 17 07:53:53 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: miccio&lt;/STRONG&gt;&lt;BR /&gt;Time for a new question now: is there a more verbose description of the error status bits for CAN? couldn't find any in neither the LPCOpen library nor the UM. &lt;BR /&gt;Is it just me or this is not very self-descriptive? &lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define CAN_ERROR_NONE0x00000000UL
#define CAN_ERROR_PASS0x00000001UL
#define CAN_ERROR_WARN0x00000002UL
#define CAN_ERROR_BOFF0x00000004UL
#define CAN_ERROR_STUF0x00000008UL
#define CAN_ERROR_FORM0x00000010UL
#define CAN_ERROR_ACK0x00000020UL
#define CAN_ERROR_BIT10x00000040UL
#define CAN_ERROR_BIT00x00000080UL
#define CAN_ERROR_CRC0x00000100UL
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a normal or a beer question&amp;nbsp; :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A lot of this errors are of course CAN errors as described in CAN specs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.kvaser.com%2Fsoftware%2F7330130980914%2FV1%2Fcan2spec.pdf" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.kvaser.com/software/7330130980914/V1/can2spec.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:04:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526438#M9068</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: CAN and RAM offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526439#M9069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Thu Mar 17 08:18:43 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: R2D2&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Is this a normal or a beer question&amp;nbsp; :quest: &lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could be a beer question too, depends on where in Germany you live! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm going to visit Fulda, Regensburg, and maybe Nuremberg in two weeks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So maybe it's time to redeem those beers!&amp;nbsp; ;-) &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:04:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526439#M9069</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: CAN and RAM offset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526440#M9070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:05:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-and-RAM-offset/m-p/526440#M9070</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:05:21Z</dc:date>
    </item>
  </channel>
</rss>

