Created Tue, 26 Aug 2014 23:21:26 +0000 by edmondson@ieee.org
Tue, 26 Aug 2014 23:21:26 +0000
Hi All! Silly question, but I purchased an SD card module from Amazon, comes from LC studios, probably in China. I was trying to figure out where to attach it to my Max32 board, and I am not sure how. I had hoped that they had the pinouts on the connector arranged so that I could just slide it on the end of J15, but that doesn't look like it will work. How would you attach it? Do you build a little set of jumpers between the two boards? Are there custom cables you can buy somewhere? Just curious to see if there is a shortcut to building out an adapter cable or board...
Tue, 26 Aug 2014 23:38:06 +0000
SD cards operate on SPI. You need to connect the adaptor board up to one of the SPI ports on your chipKIT - usually pins 11-13 are SPI, but can vary depending on your board (check the manual).
The pins are clearly labelled on the SD card board, so connect MOSI to MOSI, MISO to MISO, and SCK to SCK. CS connects to any pin you like. +3.3 to 3.3V and GND to GND. Leave "+5" disconnected.
Incidentally, on the PIC32, MOSI is usually called SDO and MISO is usually called SDI.
Wed, 27 Aug 2014 00:04:16 +0000
So, the standard method is to just make up a little jumper cable that goes from pin to jack. Oh, well, it is never as easy as it should be...
Wed, 27 Aug 2014 08:58:56 +0000
Well, it can be simple, or it can be cheap. You opted for cheap, so simple goes out the window.
That kind of board is really designed to plug into a breadboard.