I need to test the SD Interface on my K64 dev board, but there is no example show me how to init, read or write SD cards.
Please help to send me the link if there is one.
Add to mark's comments, I would suggest you also refer to the sdcard_fs demo in MCUXpresso SDK , this project is a demonstration program that uses the SDK software. It mounts a file system based on a SD card then does "creat directory/read directory/create file/write file/read file"operation.
There is a powerful SD card (utFAT) interface for your board (including expert functions for analysing the FAT), working together with FTP or web servers, and also for USB-MSD operation.
utFAT (on SPI or SDHC) http://www.utasker.com/docs/uTasker/uTasker_utFAT.PDF
It also allows SD card emulation for complete testing of applications using SD cards in (approx.) real-time in Visual Studio. [This video shows the lowest level of operation: https://youtu.be/VY-I0_h5p4Q]All available in the open source version linked to below. Or run some of the binary references as the board links below to see immediate operation.
Kinetis: http://www.utasker.com/kinetis.htmlKinetis K64:- http://www.utasker.com/kinetis/FRDM-K64F.html- http://www.utasker.com/kinetis/TWR-K64F120M.html- http://www.utasker.com/kinetis/TEENSY_3.5.html- http://www.utasker.com/kinetis/Hexiwear-K64F.html
Free Open Source solution: https://github.com/uTasker/uTasker-KinetisWorking project in 15 minutes video: https://youtu.be/K8ScSgpgQ6M
For better, faster, cheaper product developments consider the uTasker developer's version, professional Kinetis support, one-on-one training and complete fast-track project solutions to set you apart from the herd : http://www.utasker.com/support.html
It works and I found the sdhc example I want in NXP SDK.
Was sdcard_fatfs example removed in SDK_2.4.0_FRDM-K64F ? It is not in here... neither sdhc...
Kevin, where did you find SDHC example in NXP SDK ?
I do not see any example of sdcard neither sdhc in the latest SDK v2.4 - was it removed?
See my list of driver_examples which came with FRDM-K64F SDK v2.4.0 . Notice - I've built this SDK with SDHC and fatFS components chosen.
What happened? Was it removed? Please advise
sdcard_fs was removed to this folder
Thanks for reply, Daniel . In my current SDK folder boards\frdmk64f\ there is no "fatfs_examples" . When configuring SDK package for FRDM-K64F board , I included SDHC and fatFS drivers. Did you include something else or was your SDK not latest ?
Retrieving data ...