CRC calculations for MMC card

Jan 18, 2006 0 Replies

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



Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required