<?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>S32 Design StudioのトピックRe: S32DS CRC 8 calculation</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-CRC-8-calculation/m-p/901775#M4883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because this is not supported by hardware CRC module, the only way is to use SW calculation.&lt;/P&gt;&lt;P&gt;You can find some SW examples on the web. First one I found on google:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://electronics.stackexchange.com/questions/33821/calculating-a-simple-crc" title="https://electronics.stackexchange.com/questions/33821/calculating-a-simple-crc"&gt;c - Calculating a simple CRC - Electrical Engineering Stack Exchange&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2019 07:59:54 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2019-05-07T07:59:54Z</dc:date>
    <item>
      <title>S32DS CRC 8 calculation</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-CRC-8-calculation/m-p/901774#M4882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Currently I am working with the S32DS on the S32K148 EVAL board . The MCU has in built hard ware accelerator to calculate the CRC which is 32bits and 16 bits respectively.&lt;/P&gt;&lt;P&gt;Could you please let know how can I make use of the same to calculate 8 bit CRC with given seed and polynomial.&lt;/P&gt;&lt;P&gt;Thanks and best regards!!!&lt;/P&gt;&lt;P&gt;Satish Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 14:24:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-CRC-8-calculation/m-p/901774#M4882</guid>
      <dc:creator>satish_k_singh</dc:creator>
      <dc:date>2019-05-06T14:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS CRC 8 calculation</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-CRC-8-calculation/m-p/901775#M4883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because this is not supported by hardware CRC module, the only way is to use SW calculation.&lt;/P&gt;&lt;P&gt;You can find some SW examples on the web. First one I found on google:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://electronics.stackexchange.com/questions/33821/calculating-a-simple-crc" title="https://electronics.stackexchange.com/questions/33821/calculating-a-simple-crc"&gt;c - Calculating a simple CRC - Electrical Engineering Stack Exchange&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 07:59:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-CRC-8-calculation/m-p/901775#M4883</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2019-05-07T07:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS CRC 8 calculation</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-CRC-8-calculation/m-p/901776#M4884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am a year late to this question, but 8-bit CRC actually &lt;STRONG&gt;is possible&lt;/STRONG&gt; with a 16 or 32-bit CRC module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can convert the 8-bit polynomial into 16-bit by shifting 8 bits to the left, and then to get a 8-bit result do the same to the resulting 16-bit CRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, lets say I want to do CRC on the following ascii: '123456789', and my polynomial is 0xD5 (binary: 1101 0101). My resulting 8-bit CRC, with a seed value of 0x00, should be 0xBC (binary 1011 1100‬). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a Freedom KEAZ64 board, which has a 16-bit CRC module. I shift my polynomial 8-bits to the left, which gives me 0xD500 (binary: 1101 0101 0000 0000). On the same ascii data, the 16-bit CRC outputs 0xBC00 (binary 1011 1100 0000 0000), so all we need to do is shift the result 8 bits to the right to get the correct result: 0xBC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is useful for anyone who happens to find this question,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2020 21:22:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-CRC-8-calculation/m-p/901776#M4884</guid>
      <dc:creator>tim_povall</dc:creator>
      <dc:date>2020-05-07T21:22:55Z</dc:date>
    </item>
  </channel>
</rss>

