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.

mmcsd.c vs mmc_spi.c in CCS complier

Status
Not open for further replies.

stoyanoff

Full Member level 4
Joined
Aug 10, 2011
Messages
195
Helped
8
Reputation
16
Reaction score
8
Trophy points
1,298
Activity points
2,725
Hi! In CCS complier driver folder there are 2 mmc files - mmcsd.c and mmc_spi.c. So the SD card could be connected in SD mode and in SPI mode. Can anyone tell me should I have to use mmc_spi.c if I have connected my sd card in SPI mode?? Both driver files have SPI adjustments, but there isn`t example for mmc_spi usage.
Thanks!
 

It depends; there might be some specific functions that spi mode would call on that reside in mmcsd.c file. If all the required functions are present in the mmc_spi.c file however, then I don't think there would be a need for the mmcsd file. could you list the two files?

-Willis
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top