INTERFACE
The PICtail Daughter Board สำหรับ SD and MMC cards, Microchip product number AC164122, จัดให้มี an interface ระหว่าง SD or MMC cards และ a PIC® microcontroller โดยทาง the SPI bus. The PICtail Daughter Board ถูกออกแบบให้ทำงานร่วมกับความหลากหลายของ demonstration boards, รวมทั้งเหล่านั้นทั้งหมดที่มี PICtail or PICtail Plus Daughter Board interfaces.
The SPI protocol ใช้ four basic pins สำหรับ communication: data in (SDI), data out (SDO), clock (SCK), and chip select (CS). นอกจากนี้, SD card sockets เกือบทั้งหมดมี two electrically determined signals, card detect และ write-protect, ที่ยอมให้ผู้ใช้ตรวจสอบว่าการ์ดถูกเสียบเข้าไปและ/หรือป้องกันการเขียน.
The MMC ไม่มี a physical write-protect signal, แต่ card connectors ส่วนใหญ่จะเริ่มต้นเป็น a non-write-protected state ในกรณีนี้.
ข้อมูลเพิ่มเติมเกี่ยวกับการอินเตอร์เฟซ PIC® microcontrollers ไปยัง SD cards or MMCs ถูกรวมใน AN1003, USB Mass Storage Device Using a PIC® MCU (DS01003), มีให้ใช้ประโยชน์จาก the Microchip web site.