Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Kinston MMc card and AT89S8252

Status
Not open for further replies.

NOORPURI

Junior Member level 3
Junior Member level 3
Joined
Jun 29, 2006
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,549
I am trying to interface Kingston MMC card 256MB with AT89S8252/S53 microcontroller in SPI mode using SPI port in

MODE 0. I used 74LVTH244 for level conversion from 5 volt to 3.3 volt for MMC I/o.


I send CMD 0, CMD1 & CMD 16 . I found proper & desired response from MMC side according to standard. Then i try to

read CID & CSD registers. Then after issue command there was no data tonen i.e. 0xFE. I commnect this step then i

found Kingston MMC card give with packes with header of 0xFFFFFC at both packets.


After when itry to Write a sector , MMC give me proper responce after issue commnad. But fater write a sector it

does not give me any vaild /invaild acknoledgement .

Similerly when i tried to read a sector then it didnot give me a proper data token.
 

I am sorry, i can't help you
but i want to know, (as i am also doing also a project involving mmc card) , but i am unable to know how to interface MMC card.
I have also read complete Hitachi MMc card data sheet, but unable to know how to read/write the MMC card.
e.g. as you have mentioned CMD0 or CMD 17 is used but how it is written in programing langhuage?

I haope you understand my question
Umer
 

    NOORPURI

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top