/**
@page SDIO_Example SDIO_Example
@verbatim
******************** (C) COPYRIGHT 2009 STMicroelectronics *******************
* @file SDIO/readme.txt
* @author MCD Application Team
* @version V3.1.2
* @date 09/28/2009
* @brief Description of the SDIO Example.
******************************************************************************
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
******************************************************************************
@endverbatim
@par Example Description
This example provides a basic example of how to use the SDIO firmware library and
an associate driver to perform read/write operations on the SD Card memory (SD Card
V1.0, V1.1, V2.0 and SDHC (High Capacity) protocol)that could be mounted on the
STM3210E-EVAL board.
Below is a description of the different example steps:
- Configure the SDIO according to the desired SDIO_CK clock frequency.
- Reset the SD Card
- Identify the SD Card
- Initializes the SD Card
- Get the SD Card Info
- Select the SD Card
- Enable the Wide Bus mode (4-bit data)
- Erase the correponding blocks
- Read the Erased blocks
- Test if the corresponding Blocks are well erased: check if the EraseStatus
variable is equal to PASSED.
- Set the Data Transfer Mode to DMA
- Write a single Block
- Read a single Block
- Comapare the written Block and the read one: check if the TransferStatus1
variable is equal to PASSED.
- Write multiple Blocks (2)
- Read multiple Blocks (2)
- Comapare the written Blocks and the read one: check if the TransferStatus2
variable is equal to PASSED.
@par Directory contents
- SDIO/stm32f10x_conf.h Library Configuration file
- SDIO/stm32f10x_it.c Interrupt handlers
- SDIO/stm32f10x_it.h Header for stm32f10x_it.c
- SDIO/sdcard.c SD Card Driver file
- SDIO/sdcard.h Header for sdcard.c
- SDIO/main.c Main program
@par Hardware and Software environment
- This example runs only on STM32F10x High-Density Devices.
- This example has been tested with STMicroelectronics STM3210E-EVAL (STM32F10x
High-Density) evaluation board and can be easily tailored to any other
supported device and development board.
@note Make sure that the Jumper 17 (JP17) is closed and Jumper 20 (JP20) is open
in STM3210E-EVAL
@par How to use it ?
In order to make the program work, you must do the following:
- Create a project and setup all project configuration
- Add the required Library files:
- stm32f10x_gpio.c
- stm32f10x_rcc.c
- misc.c
- stm32f10x_sdio.c
- stm32f10x_dma.c
- system_stm32f10x.c (under Libraries\CMSIS\Core\CM3)
- Edit stm32f10x.h file to select the device you are working on (#define
STM32F10X_HD, in this case).
@b Tip: You can tailor the provided project template to run this example, for
more details please refer to "stm32f10x_stdperiph_lib_um.chm" user
manual; select "Peripheral Examples" then follow the instructions
provided in "How to proceed" section.
- Link all compiled files and load your image into target memory
- Run the example
@note
- Low-density devices are STM32F101xx and STM32F103xx microcontrollers where
the Flash memory density ranges between 16 and 32 Kbytes.
- Medium-density devices are STM32F101xx and STM32F103xx microcontrollers where
the Flash memory density ranges between 32 and 128 Kbytes.
- High-density devices are STM32F101xx and STM32F103xx microcontrollers where
the Flash memory density ranges between 256 and 512 Kbytes.
- Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers.
* <h3><center>© COPYRIGHT 2009 STMicroelectronics</center></h3>
*/
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
STM32串口驱动(拼音检索测试通过)(环形队列+内存动态分配+DMA) (103个子文件)
FATFS_uvopt.bak 74KB
STM32-FD-SDCard-SDIO_uvopt.bak 66KB
FATFS_uvproj.bak 21KB
STM32-FD-SDCard-SDIO_uvproj.bak 17KB
STM32-FD-SDCard-SDIO_Opt.Bak 3KB
STM32-FD-SDCard-SDIO_Uv2.Bak 3KB
STM32-FD-SDCard-SDIO.Uv2.bak 3KB
STM32-FD-SDCard-SDIO.opt.bak 2KB
cc936.c 707KB
cc949.c 554KB
cc950.c 440KB
cc932.c 244KB
stm32f10x_tim.c 100KB
ff.c 97KB
sdcard.c 95KB
stm32f10x_adc.c 46KB
stm32f10x_i2c.c 36KB
stm32f10x_fsmc.c 34KB
stm32f10x_usart.c 34KB
stm32f10x_rcc.c 33KB
stm32f10x_can.c 30KB
ccsbcs.c 29KB
stm32f10x_sdio.c 28KB
stm32f10x_spi.c 27KB
stm32f10x_dma.c 27KB
stm32f10x_flash.c 26KB
system_stm32f10x.c 24KB
system_stm32f10x.c 24KB
stm32f10x_gpio.c 18KB
core_cm3.c 16KB
stm32f10x_dac.c 13KB
USART1ConFig.c 12KB
USART1.c 10KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
misc.c 7KB
stm32f10x_exti.c 7KB
stm32f10x_wwdg.c 5KB
stm32f10x_it.c 5KB
stm32f10x_iwdg.c 5KB
SDDriver.c 5KB
OSQMem.c 4KB
stm32f10x_dbgmcu.c 4KB
syncobj.c 4KB
diskio.c 3KB
stm32f10x_crc.c 3KB
main.c 2KB
HardInit.c 2KB
FATFS_STM32-SDCard-SDIO.dep 49KB
STM32-FD-SDCard-SDIO_STM32-SDCard-SDIO.dep 11KB
stm32f10x.h 519KB
stm32f10x_tim.h 48KB
core_cm3.h 41KB
ff.h 34KB
stm32f10x_adc.h 19KB
stm32f10x_dma.h 18KB
stm32f10x_sdio.h 18KB
stm32f10x_fsmc.h 17KB
stm32f10x_i2c.h 17KB
stm32f10x_rcc.h 16KB
sdcard.h 15KB
sdcard.h 15KB
stm32f10x_gpio.h 15KB
stm32f10x_spi.h 15KB
stm32f10x_usart.h 14KB
stm32f10x_flash.h 14KB
stm32f10x_can.h 14KB
stm32f10x_dac.h 10KB
stm32f10x_bkp.h 7KB
stm32f10x_exti.h 6KB
misc.h 5KB
stm32f10x_pwr.h 4KB
stm32f10x_iwdg.h 4KB
stm32f10x_rtc.h 4KB
stm32f10x_conf.h 3KB
stm32f10x_conf.h 3KB
stm32f10x_dbgmcu.h 3KB
stm32f10x_wwdg.h 3KB
system_stm32f10x.h 2KB
stm32f10x_crc.h 2KB
stm32f10x_it.h 2KB
diskio.h 2KB
Config.h 857B
integer.h 835B
OSQMem.h 759B
USART.h 636B
JLinkArm_STM3210B-EVAL.ini 205B
startup_stm32f10x_hd.lst 51KB
startup_stm32f10x_hd.lst 50KB
STM32_FD_SDCard-SDIO.map 121KB
STM32_FD_SDCard-SDIO.map 97KB
startup_stm32f10x_hd.s 16KB
startup_stm32f10x_md.s 12KB
startup_stm32f10x_ld.s 12KB
JLinkLog.txt 67KB
00readme.txt 5KB
readme.txt 4KB
readme.txt 297B
FATFS.uvopt 74KB
共 103 条
- 1
- 2
tulingwangbo
- 粉丝: 92
- 资源: 51
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 实验项目一:线性表(模板 ).docx
- 基于LM317A设计交流220V输入可调5V-12V直流输出稳压电源电路multisim10仿真源文件.zip
- Screenshot_2024-04-25-17-04-18-55_2332cb9b27b851b548ba47a91682926c.jpg
- -基于AVR单片机的LNG加液机控制器设计.pdf
- ThePowerOfNow-EckhartTolle.mobi
- BLOCK_TYPE_HEARTBEAT_D70A3465D4EE4E9_046141_dump_1st.dmp
- 项目方法测试调用接口工具
- studyupdate
- 基于西瓜数据集的决策树实现.zip
- 60套HTML网站源码-响应式-涵盖(简历&作品展示&商业&科技&培训&商城&课设等)-适配移动设备-解压即用.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页