Abstract

This chapter focuses on how to interface one of the most common and inexpensive mass storage device types to a PIC32 microcontroller using the smallest amount of processor resources. The Secure Digital (SD) card standard is one of the most commonly adopted mass storage media for digital cameras and many other multimedia consumer applications. The Secure Digital Card Association (SDCA) owns and controls the technical specification standards for SD memory cards, and they require all companies that plan to actively engage in the design, development, manufacture, or sale of products that utilize the SD specifications to become members of the association. SD cards require only nine electrical contacts and an SD/MMC compatible connector, which can be purchased online. Two main modes of communication are available: the SD/MMC standard and SPI bus standard. When an SD/MMC card is inserted in the connector and powered up, it starts in the default mode of communication: the SD bus mode. In SPI mode, commands are sent to an SD/MMC card as packets of 6 bytes. The Cyclic Redundancy Check (CRC) feature is used in SD bus mode to make sure that every command and block is free from error.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.