5.6 Cyclic Redundancy Check (CRC) Calculation

Calculate the CRC against the raw payload without escaping with 0x3C. The algorithm is available in the BM78_DU.c file. For more details, refer to SAMG55 Xplained Pro Evaluation Board Firmware Setup. If the result of the CRC calculation contains 0x3C, then it escapes with the new 0x3C 0x3C.