<?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>i.MX RT Crossover MCUsのトピックRe: CRC-32 using DCP</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CRC-32-using-DCP/m-p/1475272#M20147</link>
    <description>&lt;P&gt;Hi Gary,&lt;/P&gt;&lt;P&gt;Did you find some information for this?&lt;/P&gt;&lt;P&gt;I posted similar question in this topic:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/iMXRT1024-DCP-CRC-32-parameter-settings/m-p/1472829#M191411" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/iMXRT1024-DCP-CRC-32-parameter-settings/m-p/1472829#M191411&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I did not get any reply.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jun 2022 11:42:22 GMT</pubDate>
    <dc:creator>JasonGT93</dc:creator>
    <dc:date>2022-06-16T11:42:22Z</dc:date>
    <item>
      <title>CRC-32 using DCP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CRC-32-using-DCP/m-p/1465813#M19820</link>
      <description>&lt;P&gt;Is it possible to configure the DCP block for different flavours of CRC?&lt;/P&gt;&lt;P&gt;From this &lt;A href="https://community.nxp.com/t5/i-MX-RT/Buggy-CRC32-implementation-of-DCP-on-i-MXRT1052/m-p/914191" target="_blank" rel="noopener"&gt;link&lt;/A&gt; it appears the configuration is:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Expected CRC-32 for the message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * CRC-32 params:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * width=32 poly=0x04c11db7 init=0xffffffff refin=false refout=false xorout=0x00000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://reveng.sourceforge.net/crc-catalogue/" target="test_blank" rel="nofollow noopener noreferrer"&gt;http://reveng.sourceforge.net/crc-catalogue/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I would like to use:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;width=32 poly=0x04c11db7 init=0xffffffff refin=true refout=true xorout=0xffffffff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Well I say that... I think I do anyway if you follow the reveng link above for the CRC-32/ISO-HDLC variant which is what I already have a software implementation for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you run "12345678" through ISO-HDLC you will get a crc of 0x9ae0daaf but when I run it through the DCP I am getting 0xF954FCFE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is a 'swapConfig' field in the&amp;nbsp;dcp_handle_t struct that looks promising but people always seem to set it to&amp;nbsp;kDCP_NoSwap and I am not sure what&amp;nbsp;kDCP_InputByteSwap and others are used for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've just run a quick test for SHA1 as well and that also doesn't match what I am expecting.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 11:20:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CRC-32-using-DCP/m-p/1465813#M19820</guid>
      <dc:creator>gary_metalle</dc:creator>
      <dc:date>2022-05-28T11:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: CRC-32 using DCP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CRC-32-using-DCP/m-p/1475272#M20147</link>
      <description>&lt;P&gt;Hi Gary,&lt;/P&gt;&lt;P&gt;Did you find some information for this?&lt;/P&gt;&lt;P&gt;I posted similar question in this topic:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/iMXRT1024-DCP-CRC-32-parameter-settings/m-p/1472829#M191411" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/iMXRT1024-DCP-CRC-32-parameter-settings/m-p/1472829#M191411&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I did not get any reply.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 11:42:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/CRC-32-using-DCP/m-p/1475272#M20147</guid>
      <dc:creator>JasonGT93</dc:creator>
      <dc:date>2022-06-16T11:42:22Z</dc:date>
    </item>
  </channel>
</rss>

