<?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: CRC seed value for MC33GD3100 in Power Management</title>
    <link>https://community.nxp.com/t5/Power-Management/CRC-seed-value-for-MC33GD3100/m-p/1681339#M2790</link>
    <description>&lt;P&gt;Hello, I did manage to test some software on a board that has the GD3100, and the sw is as per the NXP example:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;static unsigned char Calculate_SPI_CRC(unsigned short wData)
{
	uint8_t tbl_idx;
	uint8_t crc;
	uint16_t len = 2;

	uint8_t data[2];
	data[0] = wData &amp;amp; 0xFF;
	data[1]= (wData &amp;gt;&amp;gt; &lt;LI-EMOJI id="lia_smiling-face-with-sunglasses" title=":smiling_face_with_sunglasses:"&gt;&lt;/LI-EMOJI&gt; &amp;amp; 0xFF;

	crc = 0x42;  // seed

	while (len)
	{
		len--;
		tbl_idx = (crc ^ *(data + len));
		crc = crc_table[tbl_idx];
	}
	return crc;
}&lt;/LI-CODE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Hence I do believe the datasheet is wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2023 14:23:50 GMT</pubDate>
    <dc:creator>MarcoDeg</dc:creator>
    <dc:date>2023-07-04T14:23:50Z</dc:date>
    <item>
      <title>CRC seed value for MC33GD3100</title>
      <link>https://community.nxp.com/t5/Power-Management/CRC-seed-value-for-MC33GD3100/m-p/1677961#M2776</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;in the datasheet for the&amp;nbsp;MC33GD3100 I believe the is a mistake: the CRC seed is stated to be 11111111,&lt;/P&gt;&lt;P&gt;however on the software example and in the manual for the GD3162 is 0x42.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 15:19:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/CRC-seed-value-for-MC33GD3100/m-p/1677961#M2776</guid>
      <dc:creator>MarcoDeg</dc:creator>
      <dc:date>2023-06-28T15:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: CRC seed value for MC33GD3100</title>
      <link>https://community.nxp.com/t5/Power-Management/CRC-seed-value-for-MC33GD3100/m-p/1678164#M2779</link>
      <description>&lt;P&gt;I will double check this!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 00:47:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/CRC-seed-value-for-MC33GD3100/m-p/1678164#M2779</guid>
      <dc:creator>guoweisun</dc:creator>
      <dc:date>2023-06-29T00:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: CRC seed value for MC33GD3100</title>
      <link>https://community.nxp.com/t5/Power-Management/CRC-seed-value-for-MC33GD3100/m-p/1678182#M2780</link>
      <description>&lt;P&gt;I am not familiar with this demo code, but please design your CRC software code according the data sheet states.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 01:18:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/CRC-seed-value-for-MC33GD3100/m-p/1678182#M2780</guid>
      <dc:creator>guoweisun</dc:creator>
      <dc:date>2023-06-29T01:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: CRC seed value for MC33GD3100</title>
      <link>https://community.nxp.com/t5/Power-Management/CRC-seed-value-for-MC33GD3100/m-p/1681339#M2790</link>
      <description>&lt;P&gt;Hello, I did manage to test some software on a board that has the GD3100, and the sw is as per the NXP example:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;static unsigned char Calculate_SPI_CRC(unsigned short wData)
{
	uint8_t tbl_idx;
	uint8_t crc;
	uint16_t len = 2;

	uint8_t data[2];
	data[0] = wData &amp;amp; 0xFF;
	data[1]= (wData &amp;gt;&amp;gt; &lt;LI-EMOJI id="lia_smiling-face-with-sunglasses" title=":smiling_face_with_sunglasses:"&gt;&lt;/LI-EMOJI&gt; &amp;amp; 0xFF;

	crc = 0x42;  // seed

	while (len)
	{
		len--;
		tbl_idx = (crc ^ *(data + len));
		crc = crc_table[tbl_idx];
	}
	return crc;
}&lt;/LI-CODE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Hence I do believe the datasheet is wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 14:23:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/CRC-seed-value-for-MC33GD3100/m-p/1681339#M2790</guid>
      <dc:creator>MarcoDeg</dc:creator>
      <dc:date>2023-07-04T14:23:50Z</dc:date>
    </item>
  </channel>
</rss>

