Is there a SDHC example for K64? I cannot find it with Pack Installer.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Is there a SDHC example for K64? I cannot find it with Pack Installer.

跳至解决方案
2,672 次查看
kevinyuthermo
Contributor III

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.

标签 (1)
1 解答
1,810 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Kevin:

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. 

SDK_2.3.0_FRDM-K64F\boards\frdmk64f\driver_examples\sdcard_fatfs

Regards

Daniel

在原帖中查看解决方案

8 回复数
1,810 次查看
Anonymous
不适用

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.

SDK_examples_list.JPG

What happened? Was it removed? Please advise

0 项奖励
1,810 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi  Vladimir

sdcard_fs was removed to this folder

FRDM-K64F_2.4_all_20180605\boards\frdmk64f\fatfs_examples\fatfs_sdcard

Regards

Daniel

0 项奖励
1,810 次查看
Anonymous
不适用

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 ?

1,810 次查看
danielchen
NXP TechSupport
NXP TechSupport

In the latest SDK 2.5 for Frdm-k64f board, you can see fatfs_examples.

pastedImage_1.png

Regards

Daniel

0 项奖励
1,811 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi Kevin:

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. 

SDK_2.3.0_FRDM-K64F\boards\frdmk64f\driver_examples\sdcard_fatfs

Regards

Daniel

1,810 次查看
Anonymous
不适用

Was sdcard_fatfs example removed in SDK_2.4.0_FRDM-K64F  ? It is not in here... neither sdhc...

1,810 次查看
kevinyuthermo
Contributor III

It works and I found the sdhc example I want in NXP SDK.

0 项奖励
1,810 次查看
mjbcswitzerland
Specialist V


Hi

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.

Regards

Mark

Kinetis: http://www.utasker.com/kinetis.html
Kinetis 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-Kinetis
Working 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