<?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 Receiver Buffer size? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-Receiver-Buffer-size/m-p/524588#M7224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Tue Apr 12 19:01:06 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You really need to read up on the receive buffer registers in the UM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Along with any data, there will be the CAN address (11 or 29 bits), byte count, and some flags.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CAN is NOT just a stream of bytes. Read the CAN tutorial from the link I gave you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:07:46 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:07:46Z</dc:date>
    <item>
      <title>CAN Receiver Buffer size?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-Receiver-Buffer-size/m-p/524585#M7221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by akshimmu on Mon Apr 11 03:18:49 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Im using the LPC1778 uC and the user manual claims this point : "The Receive Interrupt Bit is not cleared upon a read access to the Interrupt Register. Giving the Command “Release Receive Buffer” will clear RI temporarily.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If there is another message available within the Receive Buffer after the release&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;command, RI is set again. Otherwise RI remains cleared." &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This statement is hinting the fact that there may be 2 receive buffers for when data is received over CAN.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea as to whats the size of the receive buffer in CAN? Is it only 8 bytes before a data overrun occurs?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:07:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-Receiver-Buffer-size/m-p/524585#M7221</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Receiver Buffer size?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-Receiver-Buffer-size/m-p/524586#M7222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Mon Apr 11 19:49:06 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;A single CAN message can have from zero to eight bytes of data. This is inherent in the CAN specification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Look at figure 80 in section 20.5 of the user manual.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are indeed two (and only two) receive buffers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With CAN, you do not send a stream of bytes (however, application software can split the stream at source side&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and rejoin it at receive side, but that is not CAN itself. c.f. TCP) but distinct message packets (each with up to 8 data bytes).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the hardware has buffers for two CAN messages. It is up to the sender as to how many bytes are contained in each.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope that clarifies things a bit. Perhaps you need to read a backgrounder. Try &lt;/SPAN&gt;&lt;A href="http://http://www.microcontroller.com/Learn-Embedded/CAN1_sie/CAN1big.htm"&gt;this&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:07:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-Receiver-Buffer-size/m-p/524586#M7222</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Receiver Buffer size?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-Receiver-Buffer-size/m-p/524587#M7223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by akshimmu on Mon Apr 11 21:22:18 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;So CAN has 2 receive buffers, where each Receive Buffer can accommodate upto 8 bytes? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:07:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-Receiver-Buffer-size/m-p/524587#M7223</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Receiver Buffer size?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-Receiver-Buffer-size/m-p/524588#M7224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Tue Apr 12 19:01:06 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You really need to read up on the receive buffer registers in the UM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Along with any data, there will be the CAN address (11 or 29 bits), byte count, and some flags.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CAN is NOT just a stream of bytes. Read the CAN tutorial from the link I gave you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:07:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-Receiver-Buffer-size/m-p/524588#M7224</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Receiver Buffer size?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-Receiver-Buffer-size/m-p/524589#M7225</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:07:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/CAN-Receiver-Buffer-size/m-p/524589#M7225</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:07:52Z</dc:date>
    </item>
  </channel>
</rss>

