Part Number: TM4C1292NCPDT
I have an application that uses the CRC module to calculate error checks on packets. These packets are coming and going out regularly. I have an idle task that needs to calculate the MD5 of data files in the back ground.
It appears to me that I have to choose between using the hardware support for the CRC and MD5 because before each new CRC calculation I have to perform a reset sequence like:
// Perform a soft reset.
SysCtlPeripheralReset(SYSCTL_PERIPH_CCM0);
while(!SysCtlPeripheralReady(SYSCTL_PERIPH_CCM0)) { __delay_cycles(5); }
I believe this will erase my on going background MD5 calculation. I am accustom to running CRC calculations over blocks in several steps by feeding in the running CRC as the seed for the next. I do not see similar functionality for the MD5 resource. I can use a Gate and wait for a CRC to complete but I can't wait the duration required for a MD5 to complete. I am doing the MD5 in chucks so I could wait while it processes a chunk save the running MD5 and restore it later if there is a way to do this.
Thanks for any insights.