Hello I have been working with Arduinos and SD cards recently and I was able to use the SPI pins and a library to retrieve and send data from an SD card using an Arduino. I have been building a transistor computer with some D flip-flops for RAM. I was wondering how I would extract data from a txt file on the sd card with my logic gate transistor computer. I know the pinout for the SPI on the SD card: 1. CS 2. Data In 3. GND 4. 5v 5. clk 6. GND 7. Data out 8. unused 9. unused
So I know how to connect 5v and ground. What I am not sure is what to connect CS, CLK and the data pins to. DO I connect the clk pin to my 555 timer and have it run at the same speed as my logic gate transistor computer? Say I wanted to write "10001001" to the first txt file on the SD card. What would I send to the data pin and CS pins of the SPI/SD card?