Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > Attempt on Creating SD Card Interface

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Attempt on Creating SD Card Interface
Moderator:
JFMD

Post Reply
Follow this topic



Attempt on Creating SD Card Interface

victoraargote posted on 08 Mar 2011 11:41 PM PST
Top Contributor
26 Forum Posts

I had work some weeks on a SD Card interface module for PSoC 3, the module is not stable yet, i get read and write operations, read operation work always fine, but write operation sometimes corrupt the file system. In this post you can find a binary hex file to program the PSoC 3 module in the CY8CKIT-001. The firmware contains a test program for any sd card capacity, the test program list the directories and files on the root directory, no write operation is implemented in the test program to avoid cases where any sd card could be damaged. All the information is transmited using the serial port in the development kit, working at 115200bps.

To get the test program working and dont damage the SD Card the development kit MUST be working at 3.3v. The SD Card pins can be conected directly to the pins of the PSoC. The pin conection im using looks like this:

SDCard DO pin to P0(1)
SDCard SCK pin to P0(3)
SDCard DI pin to P0(4)
SDCard CS pin to P0(6)

RX to P1(6)
TX to P1(7)

Get the program running is easy, you only have to program the PSoC 3 device, plug the RS232 port to the PC open a terminal, push the reset button and the directory listing will start.

Im sorry that source code is not avaliable because a commercial project is being developed using the module im creating, i hope psoc creator comes soon with the SD Card module by default, will be nice to have a customizer for easy configuration.

 

Victor Andres




Re: Attempt on Creating SD Card Interface

me2 posted on 08 Mar 2011 08:05 AM PST
Senior Member
16 Forum Posts

Moderators,

is it possible to delete all but the latest post to this topic? SD card is interesting and it would be too bad if answers would be diluted through multiple posts.

Thanks!



Re: Attempt on Creating SD Card Interface

victoraargote posted on 08 Mar 2011 11:49 AM PST
Top Contributor
26 Forum Posts

Yes, I think the same teufelrob, sorry i tried many times to upload the file clicking the post button, the topic was posted many times but without the file, the last post have a link, i think all the other post could be deleted, i dont find a function that allow me to do that.

Thanks






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20