CRC calculations for MMC card

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

Reply to
clas333
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.