<?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>S32KのトピックRe: Using Hardware CRC module on s32k144</title>
    <link>https://community.nxp.com/t5/S32K/Using-Hardware-CRC-module-on-s32k144/m-p/1005256#M6006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you enabled clocks to CRC module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PCC-&amp;gt;PCCn[PCC_CRC_INDEX] |= PCC_PCCn_CGC_MASK;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* enable CRC clock */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find SW examples for CRC in this application note:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN5413.pdf" title="https://www.nxp.com/docs/en/application-note/AN5413.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN5413.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=AN5413SW&amp;amp;location=null" title="https://www.nxp.com/webapp/Download?colCode=AN5413SW&amp;amp;location=null"&gt;https://www.nxp.com/webapp/Download?colCode=AN5413SW&amp;amp;location=null&lt;/A&gt;&amp;nbsp;&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, 10 Mar 2020 04:55:08 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2020-03-10T04:55:08Z</dc:date>
    <item>
      <title>Using Hardware CRC module on s32k144</title>
      <link>https://community.nxp.com/t5/S32K/Using-Hardware-CRC-module-on-s32k144/m-p/1005255#M6005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the CRC module on s32k144.&lt;/P&gt;&lt;P&gt;Using the below instructions to calculate a 32bit CRC, however when trying to access the CRC CTRL register a vector catch is encountered and the controller is reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any condition that is to be taken care of before using the CRC module ?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;Following snippet was written&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt;CRC-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small;"&gt;CTRL&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; |= (1 &amp;lt;&amp;lt; CRC_CTRL_WAS_SHIFT);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/*Set data value to be interpreted as SeedValue*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; CRC-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small; "&gt;DATAu&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small; "&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; = SeedValue_u32;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: small; "&gt;/*Clear setting seed*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small;"&gt; CRC-&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000c0; font-size: small; "&gt;CTRL&lt;/SPAN&gt;&lt;SPAN style="font-size: small;"&gt; &amp;amp;= (~(CRC_CTRL_WAS_MASK));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 16:34:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Using-Hardware-CRC-module-on-s32k144/m-p/1005255#M6005</guid>
      <dc:creator>aditya_barve</dc:creator>
      <dc:date>2020-03-09T16:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hardware CRC module on s32k144</title>
      <link>https://community.nxp.com/t5/S32K/Using-Hardware-CRC-module-on-s32k144/m-p/1005256#M6006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you enabled clocks to CRC module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PCC-&amp;gt;PCCn[PCC_CRC_INDEX] |= PCC_PCCn_CGC_MASK;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* enable CRC clock */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find SW examples for CRC in this application note:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN5413.pdf" title="https://www.nxp.com/docs/en/application-note/AN5413.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN5413.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=AN5413SW&amp;amp;location=null" title="https://www.nxp.com/webapp/Download?colCode=AN5413SW&amp;amp;location=null"&gt;https://www.nxp.com/webapp/Download?colCode=AN5413SW&amp;amp;location=null&lt;/A&gt;&amp;nbsp;&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, 10 Mar 2020 04:55:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Using-Hardware-CRC-module-on-s32k144/m-p/1005256#M6006</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-03-10T04:55:08Z</dc:date>
    </item>
  </channel>
</rss>

