Skip to content

SPI speedup is working!

December 13, 2013

terminalOK!  The SPI interface is stable at 400khz for reading the SD card.  The terminal image on the right is the same text as when I originally got it working but it popped up in a blink instead of a crawl.  Peak data transfer for reading is about 16,000 bytes per second and the sustained speed is about 10,000 bytes/second.  At 400khz it should be 25,000 bytes/sec peak but when reading you have to send a byte before you can read one and you have to wait two instruction times between the write and the read for the external shift to complete. I suspect there’s a clever way to tighten the loop a bit but I haven’t seen it yet.  The schematic is below:


From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: