Close

SD Card Physical Connections

A project log for 3-Chip Z80 Design

Combining a Z80 retro design with a modern PSoC CPU.

land-boardscomland-boards.com 10/23/2019 at 09:190 Comments

Created a SPI_Master in the PSoC TopDesign.cysch file:

PCB Schematic

PSoC pin list

Signal NamePSoC PinH3 pin
MISO76H3-6
MOSI77H3-5
SCK78H3-4
SS79H3-3
Power+5VH3-2
GroundGNDH3-1

SD Card Adapter

These adapters are dirt cheap on Ebay. The extra row of pins allows debugging to be done easier. 

The Z80 runs at 5V and SD Cards run at 3.3V. The adapter card has a voltage regulator to make 3.3V from the 5V. They don't typically have level shifters for the digital lines but they have 10K resistor in series with the 4 control lines so that should be OK.

Cable to connect adapter to Z80_PSoC connector.

Modified the schematic to make SS an output pin. That's because It needs to be held high for at least 74 clocks during initialization. Could be better to use a mux so that after initialization it could be switched to the in-built SPI interface.

Discussions