Searching \ for 'Multimedia Card - SPI mode [OT]' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/io/serial/spis.htm?key=spi
Search entire site for: 'Multimedia Card - SPI mode [OT]'.

Truncated match.
PICList Thread
'Multimedia Card - SPI mode [OT]'
2000\03\23@213821 by Somasundaram Meiyappan

flavicon
picon face
Now, I am building an SPI interface with an MMC. I think Barry or Octavio
would have already done this. After power-up (I am connecting CS line
always to ground), I send the Command0(CMD0 - 0x40 00 00 00 00 95). Then,
the MMC responds with 0x7E - Response Format R1. If we map this response to
the bits in R1, then I have all the error bits set. On sending the first
CMD1 after that, I keep getting logic zeros.

I would like to know if the response I received for CMD0 is correct. Please
let me know your views.

Thanks and regards,
Somasundaram Meiyappan.

2000\03\24@085609 by Octavio Nogueira

flavicon
face
Well I had to control the CS line as well.
Continue to read the CMD0 command until you read 0,
the same to CMD1, it usually takes 2 reads to get the 0.

Friendly Regards

Octavio Nogueira
===================================================
spam_OUTnogueiraTakeThisOuTspampropic2.com                  ICQ# 19841898
ProPic tools - low cost PIC programmer and emulator
http://www.propic2.com
===================================================
-----Mensagem Original-----
De: "Somasundaram Meiyappan" <.....meisomsKILLspamspam@spam@MD4.VSNL.NET.IN>
Para: <PICLISTspamKILLspamMITVMA.MIT.EDU>
Enviada em: Quinta-feira, Maro 23, 2000 11:55
Assunto: Multimedia Card - SPI mode [OT]


> Now, I am building an SPI interface with an MMC. I think Barry or Octavio
> would have already done this. After power-up (I am connecting CS line
> always to ground), I send the Command0(CMD0 - 0x40 00 00 00 00 95). Then,
> the MMC responds with 0x7E - Response Format R1. If we map this response
to
> the bits in R1, then I have all the error bits set. On sending the first
> CMD1 after that, I keep getting logic zeros.
>
> I would like to know if the response I received for CMD0 is correct.
Please
> let me know your views.
>
> Thanks and regards,
> Somasundaram Meiyappan.

2000\03\24@090844 by Somasundaram Meiyappan

flavicon
picon face
At 10:53 AM 3/24/00 -0300, you wrote:
>Well I had to control the CS line as well.

But Sandisk's manual does not mention about that. Is that really necessary?

>Continue to read the CMD0 command until you read 0,
>the same to CMD1, it usually takes 2 reads to get the 0.
>

I got these - Thanks.

Also please tell me what was the data transfer rate that you obtained using
your interface.

Thanks and Regards,
Somasundaram Meiyappan

2000\03\24@100256 by Octavio Nogueira

flavicon
face
I received this message from "Michael Nguyen" <.....MLNGUYENKILLspamspam.....sandisk.com>

>8-clock at the end after you are completed the command  and
>put CS to high (INACTIVE) before the next command.
>Here is the procedure:
>- CS active (LOW)
>- Send the command
>- Wait for response
>- Get the data if exist
>- CS high (INACTIVE)  ************
>- 8-clock  ***************************
>then next command

I'm using it at a 18.534MHz Pic in SPI mode
so the maximun I can get is 4.6MHz.
Please note, at the CMD0 time the maximun
clock rate is 400KHz.

Friendly Regards

Octavio Nogueira
===================================================
EraseMEnogueiraspam_OUTspamTakeThisOuTpropic2.com                  ICQ# 19841898
ProPic tools - low cost PIC programmer and emulator
http://www.propic2.com
===================================================
-----Mensagem Original-----
De: "Somasundaram Meiyappan" <meisomsspamspam_OUTMD4.VSNL.NET.IN>
Para: <@spam@PICLISTKILLspamspamMITVMA.MIT.EDU>
Enviada em: Domingo, Outubro 24, 1999 11:24
Assunto: Re: Multimedia Card - SPI mode [OT]


> At 10:53 AM 3/24/00 -0300, you wrote:
> >Well I had to control the CS line as well.
>
> But Sandisk's manual does not mention about that. Is that really
necessary?
>
> >Continue to read the CMD0 command until you read 0,
> >the same to CMD1, it usually takes 2 reads to get the 0.
> >
>
> I got these - Thanks.
>
> Also please tell me what was the data transfer rate that you obtained
using
> your interface.
>
> Thanks and Regards,
> Somasundaram Meiyappan

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...