PICtail Daughter Board for SD and MMC Cards Signal Interface Pin (PICtail Pin Overview Function I/O Description Daughter Board) (PICtail Plus) The PICtail Daughter Board for SD and MMC Cards is a demonstration board for evaluating reading and writing data on SD or MMC cards. It is an expansion board compatible with a number of PICDEM demonstration boards. A complete SCK O RC3/RB1 RF6/RG6 SPI Clock Out list of compatible PICDEM demonstration boards is available on Microchips web site. SDI I RC4/RB0 RF7/RG7 SPI Data In Note: The implementation and use of the FAT file system, SD card specifications, MMC card specifications and other SDO O RC5/RC7 RF8/RG8 SPI Data Out third party tools may require a license from various entities, including, but not limited to Microsoft Corporation, SD Card Association and MMCA. It is your responsibility to obtain more information regarding any applicable licensing CD I RB4 RF0/RG0 Physical Card Insertion Detect Signal obligations. Some third party web sites have been listed in References for your convenience. WD I RA4 RF1/RG1 Physical Write-Protect Switch Status Signal Getting Started CS O RB3 RB1/RB9 Low Asserting SPI Chip Select To get started, a compatible PICDEM demonstration board is required. In general, a board is compatible if it has a PICtail Daughter Board interface expansion port or a PICtail Plus board interface expansion port. Most PICDEM Other Information demonstration boards do not have the female PICtail Daughter Board header installed, so a 14x2 female connector is To obtain additional information about how this demonstration board can be used, including application examples and included with this kit for the user to install onto the PICDEM demonstration board if necessary. When connecting this source code, please refer to AN1189 Implementing a Mass Storage Device Using Microchip USB Device Firmware daughter board to a board with the PICtail Plus connector, like the Explorer 16 Development Board, the connector Framework and AN1045 Implementing File I/O Functions Using Microchips Memory Disk Drive File System should be inserted in the first slot of the demonstration board (aligned with Pin 1) to communicate using the SPI1 Library. module, or in the second slot of the demonstration board (aligned with Pin 33) to communicate using the SPI2 module. Note that the pins used for other signals will change as well, depending on the slot selected. References Features FAT File System Specification available by license, M M M M PICtail Daughter Board for SD and MMC Cards Board Schematic J4 R11 .15in +3.3V 1 2 U1 powered RE2 RE2 RA5 RA5 12 11 by +3.3V 180 3 4 RE3 MCLR RA4 RA4 +3.3V U1:D 13 R1 R2 R3 R4 R5 C3 5 6 RA7 OSC1 RA3 RA3 .01 F CS CS D1 7 8 2 3 RA6 OSC2 RC5 RC5 Activity 10K 10K 10K 10K 10K U1:A 9 10 1 RC7 RC7 RC4 RC4 11 12 RC6 RC6 RC3 RC3 SDO SDO J1 5 6 J1A 13 14 RB7 RB7 RA0 RA0 U1:B 4 1 1 CS 15 16 RB6 RB6 RA1 RA1 2 2 Cut to SCK SCK SDO 17 18 9 8 measure RB5 RB5 RA2 RA2 3 3 U1:C current 19 20 10 RB4 RB4 RC0 RC0 4 4 +3.3V 21 22 RB3 RB3 RC1 RC1 5 5 SCK 23 24 RB2 RB2 RC2 RC2 6 6 25 26 RB1 RB1 VCC VPIC (+5V) SDI SDI 3 2 7 7 SDI 27 28 RB0 U2:A 1 8 8 9 9 CD CD 6 5 1 2 10 RD1 RD1 RD0 RD0 U2:B 4 3 4 10 11 RD3 RD3 RD2 RD2 CD WD WD 8 9 5 6 11 12 RD5 RD5 RD4 RD4 WD U2:C 7 8 10 12 U2 powered RD7 RD7 RD6 RD6 by VCC 9 10 RE1 RE1 RE0 RE0 11 12 11 12 VCC VPIC (+5V) U2:D VCC 13 J10 Bottom J2 Top JP7 +3.3V 1 2 RB2/RG9 RF2/RF4 1 3 4 RF6/RG6 SCK RF3/RF5 2 JP1 JP4 U3 5 6 R12 RF7/RG7 SDI RG2/RA2 1 1 3 C5 PIC18-EXP RC3 NC RA5 7 8 1 8 10 F 180 RF8/RG8 SDO RG3/RA3 PGOOD SELECT 2 2 SCK CD 9 10 2 7 VOUT SHDN 3 3 FS-USB RB1 RB4 11 12 3 6 RB0/RB8 CS RB1/RB9 VCC VIN C+ D2 13 14 R9 4 5 C4 RB3/RA9 RB4/RA10 GND C- JP2 JP5 15 16 10K 1 1 C2 1 F PIC18-EXP RC4 NC MCP1253 17 18 10 F RE9/RA15 RE8/RA14 2 2 SDI WD 19 20 RD14/RF12 RD15/RF13 3 3 FS-USB RB0 RA4 21 22 +3.3V VCC VCC +3.3V 23 24 +5V +5V JP3 JP6 25 26 +9V +9V 1 1 PIC18-EXP RC5 NC 27 28 RG0/NC CD RF0/RG0 2 2 SDO CS 29 30 RG1/NC WD RF1/RG1 3 3 FS-USB RC7 RB3 Card edge connector DS51583B 40 - 44 pins 8 - 14 - 18 - 20 - 28 pins PICtail Daughter Board