Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

OMAP-L138: I add TXB0108 between the MMC/SD interface and the slot , and the uboot : Card did not respond to voltage select!

$
0
0

Part Number:OMAP-L138

Card did not respond to voltage select! 

I think I make a mistake, when I design the circuit of OMAPL138. The voltage of the EMIFA is 1.8V, so I use the TXB0108 to change the voltage (1.8V to 3.3V) between the slot and the interface. And here if my question:

  1. When I use the project “MMCSD_FATFS” writen by “广州创龙电子科技有限公司” to test the MicroSD, I can write the file into the SanDISK 16GB.
  2. When I use the uboot2017.01 and type “mmc info”, it comes out ” Card did not respond to voltage select!”

So I want some suggetion for my design.

Thank you for listenning.

u-boot-2017.01/drivers/mmc/mmc.c


static int mmc_send_if_cond(struct mmc *mmc)
{
	struct mmc_cmd cmd;
	int err;


	cmd.cmdidx = SD_CMD_SEND_IF_COND;
	/* We set the bit if the host supports voltages between 2.7 and 3.6 V */
	cmd.cmdarg = ((mmc->cfg->voltages & 0xff8000) != 0) << 8 | 0xaa;
	cmd.resp_type = MMC_RSP_R7;

	err = mmc_send_cmd(mmc, &cmd, NULL);

	if (err)
		return err;

	if ((cmd.response[0] & 0xff) != 0xaa)
		return -EOPNOTSUPP;
	else
		mmc->version = SD_VERSION_2;

	return 0;
}


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>