What is difference between 4bit and 8bit sdio mode?

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

What is difference between 4bit and 8bit sdio mode?

跳至解决方案
6,509 次查看
pt
Senior Contributor I

Hi Qiang_FSL, PeterChan

Did  MCIMX28EVK use 8 bit sdio mode or 4 bit sdio mode?

Regards

Pt

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
5,151 次查看
qiang_li-mpu_se
NXP Employee
NXP Employee

Yes, the two SD socket on iMX28 supports 8 bits mode on iMX28 EVK board.

static struct mxs_mmc_platform_data mmc0_data = {

...

.caps   = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA

    | MMC_CAP_DATA_DDR,

...

};

static struct mxs_mmc_platform_data mmc1_data = {

...

.caps   = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA

    | MMC_CAP_DATA_DDR,

...

};

在原帖中查看解决方案

0 项奖励
回复
5 回复数
5,151 次查看
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Pt, till SDIO 3.0 specification, there is only 4 bit SDIO mode, no 8 bit SDIO mode was defined. Only eMMC was defined for 8 bits mode, for iMX28, it can support 8 bits mode too.

5,151 次查看
pt
Senior Contributor I

Did MCIMX28EVK use 8-bit mode?

0 项奖励
回复
5,152 次查看
qiang_li-mpu_se
NXP Employee
NXP Employee

Yes, the two SD socket on iMX28 supports 8 bits mode on iMX28 EVK board.

static struct mxs_mmc_platform_data mmc0_data = {

...

.caps   = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA

    | MMC_CAP_DATA_DDR,

...

};

static struct mxs_mmc_platform_data mmc1_data = {

...

.caps   = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA

    | MMC_CAP_DATA_DDR,

...

};

0 项奖励
回复
5,151 次查看
pt
Senior Contributor I

Hi Qiang_FSL

Thank you. What is the advantage of 8 bit mode? For our customized board we are providing a sd card socket. is 4bit mode enough for that?

Regards

Pt

0 项奖励
回复
5,151 次查看
chrdcv
Contributor II

IMHO, I think that the main advantage of 8bit mode concern into the speed for data reading, as observed in the eMMC. The writting not suffer some speed-up as reading when use 8bits instead of 4bits.

0 项奖励
回复