110118-0001A
37
4.5.5
Secure Digital (SD/SDIO) and Multimedia Card (MMC) Controller
The BitsyXb supports Secure Digital Memory (SD), Secure Digital I/O (SDIO), MultiMedia Card
(MMC) and synchronous serial (SPI) modes of operation. SD and SDIO cards can run in 4-bit, 1-
bit and SPI modes. MMC cards run in 1-bit or SPI modes. The PXA270 SD/MMC controller has
FIFOs that support Direct Memory Access (DMA) to and from memory.
Signals for the MMC controller are brought out to header J7. This manual lists the signals for use
in 4-bit SDIO mode. The following table illustrates how the signals are mapped differently
depending on the mode of operation. Signal names and types denote the direction of the signal
relative to the BitsyXb.
SD socket
BitsyXb
name
Description
J7
pin
pin
name
4-bit Mode
1-bit Mode
SPI Mode
1
DAT3
SD_DAT3
Data 3
IO
unused
-
/MMC_CS1
O
6
2
CMD
SD_CMD
Command
IO Command IO Data Out O
7
3
VSS1
ground
-
P
-
P
-
P
3
4
VDD
(VDDX)
-
PO
-
PO
-
PO 11
5
CLK
SD_CLK
Clock
O
Clock
O
Clock
O
9
6
VSS2
ground
-
P
-
P
-
P
4
7
DAT0
SD_DAT0
Data 0
IO
Data
IO
Data In
I
8
8
DAT1
SD_DAT1
Data 1
IO Interrupt
I
Interrupt
I
16
9
DAT2
SD_DAT2
Data 2
IO
unused
-
/MMC_CS0
O
5
The BitsyXb provides a signal to control power to the Secure Digital socket. An external circuit,
usually just a power transistor and related pull-ups, is required to make use of this signal.
BitsyX name
Description
Type
J7
pin
/SD_PWREN
Power Enable (driven by CPLD)
O
15
Some Secure Digital sockets supply the following signals, which are not part of the SD/SDIO
standard. These signals are also connected on header J7.
SD pin
BitsyX name
Description
Type
J7
pin
10
/SD_CD
Card Detect
I
10
11
/SD_WP
Write Protect
I
13
Operating system drivers may not be available for all modes of operation. Contact Eurotech for
driver availability for the operating system you are using.
Eurotech provides an adapter (170115-020R) that brings these signals out to a Secure Digital
socket. It includes power control circuitry and required pull-up resistors. The adapter can plug
onto a bare BitsyXb (no personality board) or cable out to a location off the BitsyXb. Schematics
and additional details are available on the Eurotech support site.
14
The Secure Digital standard references SPI-mode signals with respect to the card. Pin 2 of the
SD header is listed as "Data In". This user manual and PXA270 documents reference the signals
with respect to the socket. Pin 2 is listed as "Data Out".
15
In SPI mode, pin 9 of an SD/MMC card is unused. Chip Select 0 is shown in this row to
illustrate the alternate signal mapping to SD_DAT2 and would normally be routed to pin 1 of an
SD/MMC socket. Chip Select 0 is not used on the BitsyXb.