After having some difficulty putting the Molex SD-105027-001 socket onto a FRDM-K22F board, I wanted to impart a few hints to anybody that wants to do this on the K22F or any other boards which have the same footprint.
Parts and tools:
Installation Steps:
Pin Reference:
This is starting with "P1" and then going down to "P8". Because "G1" is located between "P4" and "P5", I found it easier to think of them in terms of pins 1 through 9. The list below is the order I found it best to solder the pins:
1. "P1", use DMM to check connection to TP20.
9. "P8", use DMM to check connection to TP24.
4. "P4", use DMM to check connection to 3.3V. I check for connection to J6 pin 2. Make sure not shorted to any other pins.
5. "G1", use DMM to check connection to R42. Run application and use breadboard wire to validate operation. This is "SD_DETECT".
6. "P5", use DMM to check connection to R35. Run application and use breadboard wire to validate operation. This is "SD_CLK"
3. "P3", use DMM to check connection to R40. Run application and use breadboard wire to validate operation. This is "SD_DO"
2. "P2", use DMM to check connection to R37. Run application and use breadboard wire to validate operation. This is "SD_CS"
7. "P6", use DMM to check connection to Gnd. I check for connection to J6 pin 1.
8. "P7", use DMM to check connection to R49. Run application and use breadboard wire to validate operation. This is "SD_DI"
Good luck!
myke
Original Attachment has been moved to: k22f_sd_card_01.zip
Hi Erich,
Sorry I've been quiet on the issue - I've been working through this on my own and I have posted a console interface with full read-write capability here https://community.freescale.com/message/612390
I'd like to ask you if you have tested your WRITE_MULTIPLE_BLOCK code - there seems to be some confusion on how the stop token works and it seems to me that it does not return a 0xE5 byte like the other token commands (it just returns 0xFF after it is executed). Your SD1_SendCmd code is basically identical to the "Generic" example from ChaN's website, but when I tried to get it working, I found that 0xE5 is never returned after the 0xFD token is sent. Looking at other examples, I discovered that the 0xFD token is just sent but nothing is checked.
I'm going to follow up with ChaN on this issue.
Thanx for your help and sorry I've been quiet - I had a number of issues to resolve (the 0xFD token being one of them) as well as a few distractions.
myke