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.

[PIC] how to transfer data to SD card

Status
Not open for further replies.

Raady Here

Full Member level 5
Full Member level 5
Joined
Jun 8, 2013
Messages
242
Helped
26
Reputation
52
Reaction score
26
Trophy points
28
Location
India
Visit site
Activity points
1,571
pic30f5011/mplab8.8

I have float variable motor reading data, and need to transfer that variable data to a SD card(2/4 gb) where I should create a file with time stamp and all variables in it.

microsd card is preferred. does writing to microSD and SD card differ ?

Eg: when opened example.txt it should look like.
-------------------
14/8/2014 10:10:25

vibration - mm/s
@1 12.03

@256 08.09
...
...
-------------------

i have set up connections for SPI and gone through link

for sending block i need to send CMD24, but it doesn't recognize it. what is the header file required for it.


if any one had worked with data transfer using SPI and SD cards help with any sample code !
any related links also helpful for me to make a start.
 

have you tried Microchip's MLA (Microchip Libraries for Applications)
**broken link removed**

it has functions to access SD cards, e.g. if you download the MLA look in C:\microchip\mla\v2013_12_20\apps\fileio
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top