<?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 LPC824 CRC8 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-CRC8/m-p/654835#M26029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;planning to use CRC values to check messages sent between devices on a rs485 network(between master and slaves).&lt;/P&gt;&lt;P&gt;master device will send a message consisting of a number of bytes to a slave, one of the bytes will be a CRC value calculated for that message.&amp;nbsp; slave then calculates a CRC value of the message and compares it with the message's CRC value.&lt;/P&gt;&lt;P&gt;my question is: how is the LPC824 CRC8 function calculated?&lt;/P&gt;&lt;P&gt;i found a few CRC function source codes (one using arrays) and it seems the outputs are different.&amp;nbsp; a LPC824 will be used as a slave, its CRC calculation may not match the master's calculated CRC value.&lt;/P&gt;&lt;P&gt;is there source code for the CRC8 function available to review?&lt;/P&gt;&lt;P&gt;i could just compile a CRC function with the LPC824, but prefer is use the built-in function, it would save some space in flash.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;enzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Nov 2016 16:44:05 GMT</pubDate>
    <dc:creator>enzoguerra</dc:creator>
    <dc:date>2016-11-13T16:44:05Z</dc:date>
    <item>
      <title>LPC824 CRC8</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-CRC8/m-p/654835#M26029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;planning to use CRC values to check messages sent between devices on a rs485 network(between master and slaves).&lt;/P&gt;&lt;P&gt;master device will send a message consisting of a number of bytes to a slave, one of the bytes will be a CRC value calculated for that message.&amp;nbsp; slave then calculates a CRC value of the message and compares it with the message's CRC value.&lt;/P&gt;&lt;P&gt;my question is: how is the LPC824 CRC8 function calculated?&lt;/P&gt;&lt;P&gt;i found a few CRC function source codes (one using arrays) and it seems the outputs are different.&amp;nbsp; a LPC824 will be used as a slave, its CRC calculation may not match the master's calculated CRC value.&lt;/P&gt;&lt;P&gt;is there source code for the CRC8 function available to review?&lt;/P&gt;&lt;P&gt;i could just compile a CRC function with the LPC824, but prefer is use the built-in function, it would save some space in flash.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;enzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2016 16:44:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC824-CRC8/m-p/654835#M26029</guid>
      <dc:creator>enzoguerra</dc:creator>
      <dc:date>2016-11-13T16:44:05Z</dc:date>
    </item>
  </channel>
</rss>

