Embedded / RTOS

Moderators: None (Apply to moderate this forum)
Number of threads: 362
Number of posts: 665

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Using the SPI for data transfer from an Embedded system board to an SD Posted by abhimenon on 11 Oct 2004 at 10:41 AM
hi,

I hav looked all over the net for some info on writing data to an SD card using the SPI(Serial Peripheral Interface) from the main memory on my embedded DSP, without much luck. I am hoping that some of u may b able to help me out.
I am using the ADSP 21065L board. I am yet to figure out what SD card to use. I was just looking for some resources on writing code to work with the SPI format.

Thanks in advance,
Abhi Menon

Report
Re: Using the SPI for data transfer from an Embedded system board to a Posted by Lundin on 13 Oct 2004 at 11:16 PM
: hi,
:
: I hav looked all over the net for some info on writing data to an SD card using the SPI(Serial Peripheral Interface) from the main memory on my embedded DSP, without much luck. I am hoping that some of u may b able to help me out.
: I am using the ADSP 21065L board. I am yet to figure out what SD card to use. I was just looking for some resources on writing code to work with the SPI format.
:
: Thanks in advance,
: Abhi Menon
:
:

You don't mention if the DSP has hardware support for SPI, or if you must simulate it through software.

Here is an example for a microcontroller (Motorola 68HC12), that has SPI hardware:

http://www.ee.nmt.edu/~rison/ee308_spr02/supp/020320.pdf

Report
Re: Using the SPI for data transfer from an Embedded system board to a Posted by abhimenon on 14 Oct 2004 at 9:39 AM
hi,

Thanks for the response. The board dosent support SPI but it can be simulated according to the accompanying data sheets.

Thanks,
Abhilash
Report
Re: Using the SPI for data transfer from an Embedded system board to a Posted by Lundin on 18 Oct 2004 at 6:11 AM
: hi,
:
: Thanks for the response. The board dosent support SPI but it can be simulated according to the accompanying data sheets.
:
: Thanks,
: Abhilash
:


If it can handle synchronous serial communication, then you only need MOSI & clock attached to it(assuming your CPU is master). SS can be used as chip select, and MISO will probably not be used.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.