• AVR Freaks

[CLOSE] How to interface a micro SD card with a pic24FJ64GB004 via SPI bus

Author
jasrad
New Member
  • Total Posts : 25
  • Reward points : 0
  • Joined: 2015/01/19 01:08:40
  • Location: 0
  • Status: offline
2015/08/18 04:32:56 (permalink)
0

[CLOSE] How to interface a micro SD card with a pic24FJ64GB004 via SPI bus

Hello everyone,

I try to interface a micro SD card with a pic24FJ64GB004 via spi BUS. I found several examples in the MLA package.
But the examples are for classical SD cards. Do you know if the SPI protocol is identical?
What the changes to apply in the "SD card demo" project?
Thanks you in advance.
 
post edited by jasrad - 2016/08/18 11:56:54
#1
DarioG
Allmächtig.
  • Total Posts : 54081
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: Oesterreich
  • Status: offline
Re: How to interface a micro SD card with a pic24FJ64GB004 via SPI bus 2015/08/18 05:28:38 (permalink)
5 (1)
It should, I used the same code for both SD and microSD (via standard adapter).

GENOVA :D :D ! GODO
#2
jasrad
New Member
  • Total Posts : 25
  • Reward points : 0
  • Joined: 2015/01/19 01:08:40
  • Location: 0
  • Status: offline
Re: How to interface a micro SD card with a pic24FJ64GB004 via SPI bus 2015/08/18 05:52:37 (permalink)
0
Thanks.
I use too a standard adapter. You have not problem without CD pin for detect the presence of the card?
#3
jasrad
New Member
  • Total Posts : 25
  • Reward points : 0
  • Joined: 2015/01/19 01:08:40
  • Location: 0
  • Status: offline
Re: How to interface a micro SD card with a pic24FJ64GB004 via SPI bus 2015/08/27 01:19:26 (permalink)
0
Just one last question. Do you know the max write speed on a micro SD card via the MLA?
#4
DarioG
Allmächtig.
  • Total Posts : 54081
  • Reward points : 0
  • Joined: 2006/02/25 08:58:22
  • Location: Oesterreich
  • Status: offline
Re: How to interface a micro SD card with a pic24FJ64GB004 via SPI bus 2015/08/27 04:53:56 (permalink)
0
I have not tested that personally, but you should be able to find some threads about that in here:
try searching the forum with google

GENOVA :D :D ! GODO
#5
jasrad
New Member
  • Total Posts : 25
  • Reward points : 0
  • Joined: 2015/01/19 01:08:40
  • Location: 0
  • Status: offline
Re: How to interface a micro SD card with a pic24FJ64GB004 via SPI bus 2015/09/21 04:26:02 (permalink)
0
Just for information, I can write on my micros SD card at 16 Mb/s with a frequency 400 Hz. I have just some error writing but in my case it's passable.
#6
Jump to:
© 2019 APG vNext Commercial Version 4.5