Hi,
I am developing an MMC driver using SPI mode. The driver is already working with CRC checking disabled (default). I would like to use or at least support (through a configuration option) the generation and checking of CRCs.
I found in an application note from Sharp (for LH79520) two C functions for calculating the CRC7 and CRC16 needed by the protocol. The CRC7 function seems to be working but the CRC16 is not.
Does anyone have a link to or the source code for an MMC CRC16 calculation function in C ?
Thanks, Claudio