GithubHelp home page GithubHelp logo

SPI initiation sequence about sdspi HOT 3 CLOSED

zipcpu avatar zipcpu commented on August 18, 2024
SPI initiation sequence

from sdspi.

Comments (3)

ZipCPU avatar ZipCPU commented on August 18, 2024

@watmes ,
Thank you for posting this issue. Do you have a reference at all for a document or specification stating this fact? I'm not finding it anywhere in the SD Card specification. Worse, in general with SPI, the clock can typically be anything if CSn is high (inactive). This would break SPI compatibility with other devices, and in particular compatibility on shared SPI buses, if true.
Dan

from sdspi.

ZipCPU avatar ZipCPU commented on August 18, 2024

Nevermind, I think I found in it section 6.4.1.1, Power Up Time of Card", of the SD Specifications Part 1 Physical Layer Simplified Specification. My copy is marked as version 4.1 and dated 22 January, 2013.

:/ Fixing this will break some other things, but I suppose it needs to be done.

from sdspi.

ZipCPU avatar ZipCPU commented on August 18, 2024

Should be fixed now. I also made the SPI bus arbitration optional (only one of my designs ever used it), and the core now supports SPI clocks as fast as half the bus rate.

Dan

from sdspi.

Related Issues (8)

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.