<?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: CRCA in CAAM (imx8dx)  - wrong results in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659469#M206764</link>
    <description>&lt;P&gt;This is the lookup table from the SW reference CRC calculation - calculating CRC on one byte is a mere indexing into the table. So how it could work for 0 to 7 and stop working from index 8 onwards, if the problem was in the polynomial endianness?&lt;/P&gt;&lt;P&gt;Lookup Table:&lt;BR /&gt;0x00000000 0x10211021 0x20422042 0x30633063 0x40844084 0x50A550A5 0x60C660C6 0x70E770E7&lt;BR /&gt;0x81088108 0x91299129 0xA14AA14A 0xB16BB16B 0xC18CC18C 0xD1ADD1AD 0xE1CEE1CE 0xF1EFF1EF&lt;BR /&gt;0x12301231 0x02110210 0x32723273 0x22532252 0x52B452B5 0x42954294 0x72F672F7 0x62D762D6&lt;BR /&gt;0x93389339 0x83198318 0xB37AB37B 0xA35BA35A 0xD3BCD3BD 0xC39DC39C 0xF3FEF3FF 0xE3DFE3DE&lt;BR /&gt;0x24602462 0x34413443 0x04220420 0x14031401 0x64E464E6 0x74C574C7 0x44A644A4 0x54875485&lt;BR /&gt;0xA568A56A 0xB549B54B 0x852A8528 0x950B9509 0xE5ECE5EE 0xF5CDF5CF 0xC5AEC5AC 0xD58FD58D&lt;BR /&gt;0x36503653 0x26712672 0x16121611 0x06330630 0x76D476D7 0x66F566F6 0x56965695 0x46B746B4&lt;BR /&gt;0xB758B75B 0xA779A77A 0x971A9719 0x873B8738 0xF7DCF7DF 0xE7FDE7FE 0xD79ED79D 0xC7BFC7BC&lt;BR /&gt;0x48C048C4 0x58E158E5 0x68826886 0x78A378A7 0x08440840 0x18651861 0x28062802 0x38273823&lt;BR /&gt;0xC9C8C9CC 0xD9E9D9ED 0xE98AE98E 0xF9ABF9AF 0x894C8948 0x996D9969 0xA90EA90A 0xB92FB92B&lt;BR /&gt;0x5AF05AF5 0x4AD14AD4 0x7AB27AB7 0x6A936A96 0x1A741A71 0x0A550A50 0x3A363A33 0x2A172A12&lt;BR /&gt;0xDBF8DBFD 0xCBD9CBDC 0xFBBAFBBF 0xEB9BEB9E 0x9B7C9B79 0x8B5D8B58 0xBB3EBB3B 0xAB1FAB1A&lt;BR /&gt;0x6CA06CA6 0x7C817C87 0x4CE24CE4 0x5CC35CC5 0x2C242C22 0x3C053C03 0x0C660C60 0x1C471C41&lt;BR /&gt;0xEDA8EDAE 0xFD89FD8F 0xCDEACDEC 0xDDCBDDCD 0xAD2CAD2A 0xBD0DBD0B 0x8D6E8D68 0x9D4F9D49&lt;BR /&gt;0x7E907E97 0x6EB16EB6 0x5ED25ED5 0x4EF34EF4 0x3E143E13 0x2E352E32 0x1E561E51 0x0E770E70&lt;BR /&gt;0xFF98FF9F 0xEFB9EFBE 0xDFDADFDD 0xCFFBCFFC 0xBF1CBF1B 0xAF3DAF3A 0x9F5E9F59 0x8F7F8F78&lt;BR /&gt;0x91809188 0x81A181A9 0xB1C2B1CA 0xA1E3A1EB 0xD104D10C 0xC125C12D 0xF146F14E 0xE167E16F&lt;BR /&gt;0x10881080 0x00A900A1 0x30CA30C2 0x20EB20E3 0x500C5004 0x402D4025 0x704E7046 0x606F6067&lt;BR /&gt;0x83B083B9 0x93919398 0xA3F2A3FB 0xB3D3B3DA 0xC334C33D 0xD315D31C 0xE376E37F 0xF357F35E&lt;BR /&gt;0x02B802B1 0x12991290 0x22FA22F3 0x32DB32D2 0x423C4235 0x521D5214 0x627E6277 0x725F7256&lt;BR /&gt;0xB5E0B5EA 0xA5C1A5CB 0x95A295A8 0x85838589 0xF564F56E 0xE545E54F 0xD526D52C 0xC507C50D&lt;BR /&gt;0x34E834E2 0x24C924C3 0x14AA14A0 0x048B0481 0x746C7466 0x644D6447 0x542E5424 0x440F4405&lt;BR /&gt;0xA7D0A7DB 0xB7F1B7FA 0x87928799 0x97B397B8 0xE754E75F 0xF775F77E 0xC716C71D 0xD737D73C&lt;BR /&gt;0x26D826D3 0x36F936F2 0x069A0691 0x16BB16B0 0x665C6657 0x767D7676 0x461E4615 0x563F5634&lt;BR /&gt;0xD940D94C 0xC961C96D 0xF902F90E 0xE923E92F 0x99C499C8 0x89E589E9 0xB986B98A 0xA9A7A9AB&lt;BR /&gt;0x58485844 0x48694865 0x780A7806 0x682B6827 0x18CC18C0 0x08ED08E1 0x388E3882 0x28AF28A3&lt;BR /&gt;0xCB70CB7D 0xDB51DB5C 0xEB32EB3F 0xFB13FB1E 0x8BF48BF9 0x9BD59BD8 0xABB6ABBB 0xBB97BB9A&lt;BR /&gt;0x4A784A75 0x5A595A54 0x6A3A6A37 0x7A1B7A16 0x0AFC0AF1 0x1ADD1AD0 0x2ABE2AB3 0x3A9F3A92&lt;BR /&gt;0xFD20FD2E 0xED01ED0F 0xDD62DD6C 0xCD43CD4D 0xBDA4BDAA 0xAD85AD8B 0x9DE69DE8 0x8DC78DC9&lt;BR /&gt;0x7C287C26 0x6C096C07 0x5C6A5C64 0x4C4B4C45 0x3CAC3CA2 0x2C8D2C83 0x1CEE1CE0 0x0CCF0CC1&lt;BR /&gt;0xEF10EF1F 0xFF31FF3E 0xCF52CF5D 0xDF73DF7C 0xAF94AF9B 0xBFB5BFBA 0x8FD68FD9 0x9FF79FF8&lt;BR /&gt;0x6E186E17 0x7E397E36 0x4E5A4E55 0x5E7B5E74 0x2E9C2E93 0x3EBD3EB2 0x0EDE0ED1 0x1EFF1EF0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2023 04:34:12 GMT</pubDate>
    <dc:creator>krassimirestoya</dc:creator>
    <dc:date>2023-05-30T04:34:12Z</dc:date>
    <item>
      <title>CRCA in CAAM (imx8dx)  - wrong results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1658976#M206712</link>
      <description>&lt;P&gt;I am trying to use CRC accelerator to validate a section of code by checksum, generated by the GHS linker. I access the CAAM via job ring, which works fine, but the resulting checksum is wrong.&lt;/P&gt;&lt;P&gt;. So I decided to test with one simple value in a byte (buffer length =1), here is what happened:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The polynomial is 0x10211021 (custom). Start CRC is zero, no swapping, no output mangling&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;Test byte value&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;Correct result&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;CRCA Result&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0x00000000&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;0x00000000&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0x10211021&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;0x10211021&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208px" height="46px"&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="46px"&gt;&lt;P&gt;0x20422042&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="46px"&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;0x20422042&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0x30633063&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;0x30633063&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0x40844084&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;0x40844084&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0x50A550A5&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;0x50A550A5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;6&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0x60C660C6&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;0x60C660C6&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;7&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0x70E770E7&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;0x70E770E7&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;8&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0x81088108&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;0x90299129&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;9&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0x91299129&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;0x80088108&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;10&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0xA14AA14A&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;0xB06BB16B&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0x81&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;0x81A181A9&lt;/P&gt;&lt;/TD&gt;&lt;TD width="208px" height="40px"&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;0x30FA22FA&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The calculated value is stable, every time the same, provided the input does not change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I decided to test the code from fsl_caam.c that I got from Vincent Aubineau. It produced the &lt;STRONG&gt;SAME&lt;/STRONG&gt; wrong results. He is out of office right now.&lt;BR /&gt;&lt;BR /&gt;Can anybody help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 07:34:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1658976#M206712</guid>
      <dc:creator>krassimirestoya</dc:creator>
      <dc:date>2023-05-29T07:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: CRCA in CAAM (imx8dx)  - wrong results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659229#M206741</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/129146"&gt;@krassimirestoya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I happened to see that an internal expert was looking at this issue&lt;/SPAN&gt;&amp;nbsp;with the following response. hope these below can help you.&lt;/P&gt;
&lt;P&gt;A quick loot at the customer code, seems more an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;&lt;STRONG&gt;endianness&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/U&gt;issue of the custom polynomial.&lt;/P&gt;
&lt;P&gt;By default i.MX8X's CAAM operates in little-endian configuration. The default endianness configuration can be overridden for each individual JR via the PEO bit in the JRCFGR (see SRM).&lt;/P&gt;
&lt;P&gt;You can dump the configuration register of the JR assigned to M4 and verify that and write&amp;nbsp;polynomial, read CRC result accordingly.&lt;/P&gt;
&lt;P&gt;Or simply consider LE when filling the JD and reading back the CRC result. I mean, set the correct byte ordering when writing the polynomial to buffer (\x21\x10\x21\x10) or as immediate value (0x21102110), and same applies for CRC result.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 14:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659229#M206741</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-05-29T14:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: CRCA in CAAM (imx8dx)  - wrong results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659469#M206764</link>
      <description>&lt;P&gt;This is the lookup table from the SW reference CRC calculation - calculating CRC on one byte is a mere indexing into the table. So how it could work for 0 to 7 and stop working from index 8 onwards, if the problem was in the polynomial endianness?&lt;/P&gt;&lt;P&gt;Lookup Table:&lt;BR /&gt;0x00000000 0x10211021 0x20422042 0x30633063 0x40844084 0x50A550A5 0x60C660C6 0x70E770E7&lt;BR /&gt;0x81088108 0x91299129 0xA14AA14A 0xB16BB16B 0xC18CC18C 0xD1ADD1AD 0xE1CEE1CE 0xF1EFF1EF&lt;BR /&gt;0x12301231 0x02110210 0x32723273 0x22532252 0x52B452B5 0x42954294 0x72F672F7 0x62D762D6&lt;BR /&gt;0x93389339 0x83198318 0xB37AB37B 0xA35BA35A 0xD3BCD3BD 0xC39DC39C 0xF3FEF3FF 0xE3DFE3DE&lt;BR /&gt;0x24602462 0x34413443 0x04220420 0x14031401 0x64E464E6 0x74C574C7 0x44A644A4 0x54875485&lt;BR /&gt;0xA568A56A 0xB549B54B 0x852A8528 0x950B9509 0xE5ECE5EE 0xF5CDF5CF 0xC5AEC5AC 0xD58FD58D&lt;BR /&gt;0x36503653 0x26712672 0x16121611 0x06330630 0x76D476D7 0x66F566F6 0x56965695 0x46B746B4&lt;BR /&gt;0xB758B75B 0xA779A77A 0x971A9719 0x873B8738 0xF7DCF7DF 0xE7FDE7FE 0xD79ED79D 0xC7BFC7BC&lt;BR /&gt;0x48C048C4 0x58E158E5 0x68826886 0x78A378A7 0x08440840 0x18651861 0x28062802 0x38273823&lt;BR /&gt;0xC9C8C9CC 0xD9E9D9ED 0xE98AE98E 0xF9ABF9AF 0x894C8948 0x996D9969 0xA90EA90A 0xB92FB92B&lt;BR /&gt;0x5AF05AF5 0x4AD14AD4 0x7AB27AB7 0x6A936A96 0x1A741A71 0x0A550A50 0x3A363A33 0x2A172A12&lt;BR /&gt;0xDBF8DBFD 0xCBD9CBDC 0xFBBAFBBF 0xEB9BEB9E 0x9B7C9B79 0x8B5D8B58 0xBB3EBB3B 0xAB1FAB1A&lt;BR /&gt;0x6CA06CA6 0x7C817C87 0x4CE24CE4 0x5CC35CC5 0x2C242C22 0x3C053C03 0x0C660C60 0x1C471C41&lt;BR /&gt;0xEDA8EDAE 0xFD89FD8F 0xCDEACDEC 0xDDCBDDCD 0xAD2CAD2A 0xBD0DBD0B 0x8D6E8D68 0x9D4F9D49&lt;BR /&gt;0x7E907E97 0x6EB16EB6 0x5ED25ED5 0x4EF34EF4 0x3E143E13 0x2E352E32 0x1E561E51 0x0E770E70&lt;BR /&gt;0xFF98FF9F 0xEFB9EFBE 0xDFDADFDD 0xCFFBCFFC 0xBF1CBF1B 0xAF3DAF3A 0x9F5E9F59 0x8F7F8F78&lt;BR /&gt;0x91809188 0x81A181A9 0xB1C2B1CA 0xA1E3A1EB 0xD104D10C 0xC125C12D 0xF146F14E 0xE167E16F&lt;BR /&gt;0x10881080 0x00A900A1 0x30CA30C2 0x20EB20E3 0x500C5004 0x402D4025 0x704E7046 0x606F6067&lt;BR /&gt;0x83B083B9 0x93919398 0xA3F2A3FB 0xB3D3B3DA 0xC334C33D 0xD315D31C 0xE376E37F 0xF357F35E&lt;BR /&gt;0x02B802B1 0x12991290 0x22FA22F3 0x32DB32D2 0x423C4235 0x521D5214 0x627E6277 0x725F7256&lt;BR /&gt;0xB5E0B5EA 0xA5C1A5CB 0x95A295A8 0x85838589 0xF564F56E 0xE545E54F 0xD526D52C 0xC507C50D&lt;BR /&gt;0x34E834E2 0x24C924C3 0x14AA14A0 0x048B0481 0x746C7466 0x644D6447 0x542E5424 0x440F4405&lt;BR /&gt;0xA7D0A7DB 0xB7F1B7FA 0x87928799 0x97B397B8 0xE754E75F 0xF775F77E 0xC716C71D 0xD737D73C&lt;BR /&gt;0x26D826D3 0x36F936F2 0x069A0691 0x16BB16B0 0x665C6657 0x767D7676 0x461E4615 0x563F5634&lt;BR /&gt;0xD940D94C 0xC961C96D 0xF902F90E 0xE923E92F 0x99C499C8 0x89E589E9 0xB986B98A 0xA9A7A9AB&lt;BR /&gt;0x58485844 0x48694865 0x780A7806 0x682B6827 0x18CC18C0 0x08ED08E1 0x388E3882 0x28AF28A3&lt;BR /&gt;0xCB70CB7D 0xDB51DB5C 0xEB32EB3F 0xFB13FB1E 0x8BF48BF9 0x9BD59BD8 0xABB6ABBB 0xBB97BB9A&lt;BR /&gt;0x4A784A75 0x5A595A54 0x6A3A6A37 0x7A1B7A16 0x0AFC0AF1 0x1ADD1AD0 0x2ABE2AB3 0x3A9F3A92&lt;BR /&gt;0xFD20FD2E 0xED01ED0F 0xDD62DD6C 0xCD43CD4D 0xBDA4BDAA 0xAD85AD8B 0x9DE69DE8 0x8DC78DC9&lt;BR /&gt;0x7C287C26 0x6C096C07 0x5C6A5C64 0x4C4B4C45 0x3CAC3CA2 0x2C8D2C83 0x1CEE1CE0 0x0CCF0CC1&lt;BR /&gt;0xEF10EF1F 0xFF31FF3E 0xCF52CF5D 0xDF73DF7C 0xAF94AF9B 0xBFB5BFBA 0x8FD68FD9 0x9FF79FF8&lt;BR /&gt;0x6E186E17 0x7E397E36 0x4E5A4E55 0x5E7B5E74 0x2E9C2E93 0x3EBD3EB2 0x0EDE0ED1 0x1EFF1EF0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 04:34:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659469#M206764</guid>
      <dc:creator>krassimirestoya</dc:creator>
      <dc:date>2023-05-30T04:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: CRCA in CAAM (imx8dx)  - wrong results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659818#M206792</link>
      <description>I reversed the polynomial as suggested, again it works from 0 to 7 - results as expected with the new polynomial and does not work for 8 (presumably 9 and onwards) - the problem is elsewhere, not the endianness</description>
      <pubDate>Tue, 30 May 2023 10:06:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659818#M206792</guid>
      <dc:creator>krassimirestoya</dc:creator>
      <dc:date>2023-05-30T10:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: CRCA in CAAM (imx8dx)  - wrong results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659823#M206793</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I convey the same from you to expert and get recommendation as like:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Did you try to set the correct byte ordering in code as advised and it didn't work?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harvey&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 10:11:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659823#M206793</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-05-30T10:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: CRCA in CAAM (imx8dx)  - wrong results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659839#M206797</link>
      <description>See my other reply</description>
      <pubDate>Tue, 30 May 2023 10:25:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659839#M206797</guid>
      <dc:creator>krassimirestoya</dc:creator>
      <dc:date>2023-05-30T10:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: CRCA in CAAM (imx8dx)  - wrong results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659979#M206813</link>
      <description>&lt;P&gt;Ok, let's try another approach.&lt;/P&gt;
&lt;P&gt;I did re-implement the customer's code and here are the results:&lt;/P&gt;
&lt;TABLE border="1" width="102.53929301752957%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="68px"&gt;&lt;STRONG&gt;Data&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="68px"&gt;&lt;STRONG&gt;CRC (Correct&amp;nbsp;polynomial byte ordering LE)&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="68px"&gt;&lt;STRONG&gt;CRC (Wrong polynomial byte ordering)&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="24px"&gt;0x0&lt;/TD&gt;
&lt;TD height="24px"&gt;0x0&lt;/TD&gt;
&lt;TD height="24px"&gt;0x0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;0x01&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x10211021&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x10211021&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;0x02&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x20422042&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x20422042&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;0x03&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x30633063&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x30633063&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;0x04&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x40844084&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x40844084&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;0x05&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x50a550a5&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x50a550a5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;0x06&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x60c660c6&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x60c660c6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;0x07&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x70e770e7&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x70e770e7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="24px"&gt;0x08&lt;/TD&gt;
&lt;TD height="24px"&gt;0x81088108&lt;/TD&gt;
&lt;TD height="24px"&gt;0x90299129&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;0x09&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x91299129&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x80088108&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;0x10&lt;/TD&gt;
&lt;TD&gt;0xa14aa14a&lt;/TD&gt;
&lt;TD&gt;0xb06bb16b&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;0x81&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x81a181a9&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x30fa22fa&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;0xC0 0xFE 0xC0 0xDE&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x5d65486b&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;0x9089f978&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;Can you re-try&lt;U&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;considering correct endianness&lt;/U&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 13:15:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1659979#M206813</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-05-30T13:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: CRCA in CAAM (imx8dx)  - wrong results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1660491#M206847</link>
      <description>&lt;P&gt;Hi, The first columns is correct, can you show me what you do, because simply changing the byte order in the polynomial did not work?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 06:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1660491#M206847</guid>
      <dc:creator>krassimirestoya</dc:creator>
      <dc:date>2023-05-31T06:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: CRCA in CAAM (imx8dx)  - wrong results</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1660618#M206855</link>
      <description>My bad, I must have done something wrong on my initial endianness change, now I reapplied it and everything is fine, thanks a lot!</description>
      <pubDate>Wed, 31 May 2023 08:37:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CRCA-in-CAAM-imx8dx-wrong-results/m-p/1660618#M206855</guid>
      <dc:creator>krassimirestoya</dc:creator>
      <dc:date>2023-05-31T08:37:47Z</dc:date>
    </item>
  </channel>
</rss>

