Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 4 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:
1 Answer
10 years, 4 months ago.
Thomas,
This information is on the K64F platform page, but for your convenience here are the pin assignments:
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);