Two 4 bit SDIO buses on Kinetis K60

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

Two 4 bit SDIO buses on Kinetis K60

1,756 次查看
alexandersavche
Contributor I

Hi, everyone. I need to use two SDIO bus on the same Kinetis K60 board. One for SD card, another for Wi-Fi module with SDIO interface. Is is t posible to use GPIO as a BUS like SDIO? I want to use SD card in 4 bit mode.

标签 (1)
0 项奖励
回复
3 回复数

1,472 次查看
larryc
Contributor II

Alex

This is controlled by the Port Control Module on the K60, which selects which alternate configurations are in use.  Those are listed in the Signal Multiplexing and Pin Assignments section in Document K60P144M120SF3.


I looked briefly and I saw only one SDHC assignable in the table.

Good luck,

Larry

0 项奖励
回复

1,472 次查看
alexandersavche
Contributor I

I saw it. But I want to use one dedicated bus and one additional with free pins (mat be it will software emulated bus).

0 项奖励
回复

1,472 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Alexander Savchencko:

There is only one SDHC module in the K60, so you are correct, the solution would be a software emulated bus. I guess you could emulate the SDIO bus by using SPI peripheral. Unfortunately we do not have an example for this.

Maybe you can look at the implementation of MSD host from the Freescale USB stack v4.1.1 (download from USB Stack|Freescale). The USB MSD example has an option to use SPI interface to talk to an SD card.

Regards!

Jorge Gonzalez