9 years, 10 months ago.

FRDM-K64F SD card pin assignments?

What are the mbed-named pin assignments for the uSDHC card slot on the FRDM-K64F? The schematic of the slot is given on page 13 of http://cache.freescale.com/files/32bit/doc/user_guide/FRDMK64FUG.pdf but it doesn't give me the SPI pin combination.

Question relating to:

SDFileSystem FAT, file, SD, System

1 Answer

9 years, 10 months ago.

Thomas, This information is on the K64F platform page, but for your convenience here are the pin assignments:

/media/uploads/JimCarver/k64f_sd_card.png

For this device since it is not connected to pins, but instead directly to the MCU you use the port assignment names, ie.

SPI sd_card( PTE3, PTE1, PTE2);
DigitalOut cs( PTE4);
DigitalIn detect( PTE6);

Accepted Answer

Well, it's good that it's somewhere in the documentation. SDFileSystem now initializes correctly.

posted by Thomas Murphy 23 May 2014