AnsweredAssumed Answered

How to calculate CRC HW performance

Question asked by jschepler on Jul 2, 2018
Latest reply on Jul 5, 2018 by Robin_Shen

Hi all,


I am using a K64F processor and I am currently performing CRC's through software.  I would like to evaluate the performance of the CRC through hardware and compare it to the software version.


To do this, I am using the Cycle Counter in SWO Counters in MCUXpresso.  Is this the correct way to compare the two versions?


The results of my testing show that my software-implemented CRC calculation actually takes 100 less cycles than the hardware version.  


I am using a lookup table for the software-implemented version.