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.
Retrieving data ...