STM32 routine CRC check