Code Monkey home page Code Monkey logo

stm32f103-sdcard's Introduction

STM32F103-SDCARD

STM32F103 sdcard implementation with spi access. this repository contains hardware driver level file, Board Support Packages, Middleware and application layer test api. communication to sdcard is spi connection and we have one gpio output for detecting if sdcard is inserted or not. the needed explanation to use this library is concluded as comment on source code.

In this repository , we have four working layer that we used them altogether. the layer are :

  • First Layer : Hardware Driver Layer The Driver Directory in source code contains some source code that we are using as hardware driver. this files contains basic function that we use to control hardwares such as initializing spi , read/write data to spi actions. in this project we also have gpio driver for spi chip-selection and sdcard input detection functionality.

  • Second Layer : Middleware The Middleware is an externaly added layer to include fatfs base functions and actions.

  • Third Layer : Library The Third Layer is customized library to coordinate fatfs middleware sources with driver layer. becuase the fatfs function for performing the read/write action on sdcard need direct connection. so we should link theme with drivers , and we done it with Library Layer.

  • Fourth Layer : BSP This Layer is the board support package layer. in this layer we gather all of the work that we done in lower level an provide an logical , easy and end-user api to write/read on sdacard.

After using this layer , the system is ready to use sdcard Api easily.

stm32f103-sdcard's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

stm32f103-sdcard's Issues

"clock.h" header file missing.

Hello NimaMX, first of all, I want to thank you for putting this project out there. I am working on a similar project that writes log data on a SD card, I am using STM32F103 in Keil uVision. I wanted to use your project as a reference but I have an error with the header file "clock.h" that you included in the file "gpio.h". It can't be found. It seems like you forgot to include it in the project. Can you please verify that and possibly add it or tell me how I can resolve this issue please? Thanks in advance!

Gaston.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.