STM3232F10 SDIO C Code

Make it to the Right and Larger Audience

Download/IP

STM3232F10 SDIO C Code

STM32F10xx is ARM Cortex-M3 based 32bit low power processor.

In low-density (flash 16-32Kbytes), medium-density (flash 4-128Kbytes), and high density (flash 256-512 Kbytes) devices, the processor architecture is as below:

 

sdio_1

 

For connectivity line devices, processor architecture is as below:

sdio_2

 

The sample C project/code we show here is for SDIO access. The SD/SDIO MMC card host interface (SDIO) provides an interface between the AHB peripheral bus and MultiMediaCards (MMCs), SD memory cards, SDIO cards and CE-ATA devices.

sdio_3

 

Communication over the bus is based on command and data transfers. The basic transaction on the MultiMediaCard/SD/SD I/O bus is the command/response transaction. These types of bus transaction transfer their information directly within the command or response structure. In addition, some operations have a data token. Data transfers to/from SD/SDIO memory cards are done in data blocks. Data transfers to/from MMC are done data blocks or streams. Data transfers to/from the CE-ATA Devices are done in data blocks.

Single access:

sdio_p1

Block read access:

sdio_p2

Block write access:

sdio_p3

Sequential read access:

sdio_p4

Sequential write access:

sdio_p5

Part of sdio_sd.c code is as below with comments removed.

 

The full SDIO C project/code is in below.

The following is site premium content.
To gain access you can purchase points or contribute content and use contribution points to gain access.
Highlights: 57 words
 
Profile Photo
Consultant at Independent
Independent consultant. 10 year experience in firmware design, from driver, RTOS to full-blown firmware package.
1 Comment
  1. jQiu 1 year ago
    0
    -0

    Jay, how much data rate can you achieve with the code you show?

    0

Contact Us

Thanks for helping us better serve the community. You can make a suggestion, report a bug, a misconduct, or any other issue. We'll get back to you using your private message ASAP.

Sending

©2017  ValPont.com

Forgot your details?