Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: Error while using MMC2 for wlan in Am335x evm based board

$
0
0

I'm my case, the configurations are the same as those used in the EVM board. The only difference are the pins I use.

Our custom board uses the following pinmux configuration:

static struct pinmux_config mmc2_pin_mux[] = {    {"gpmc_csn3.mmc2_cmd",  OMAP_MUX_MODE3 | AM33XX_PIN_INPUT_PULLUP},    {"gpmc_clk.mmc2_clk",   OMAP_MUX_MODE3 | AM33XX_PIN_INPUT_PULLUP},    {"gpmc_ad12.mmc2_dat0", OMAP_MUX_MODE3 | AM33XX_PIN_INPUT_PULLUP},    {"gpmc_ad13.mmc2_dat1", OMAP_MUX_MODE3 | AM33XX_PIN_INPUT_PULLUP},    {"gpmc_ad14.mmc2_dat2", OMAP_MUX_MODE3 | AM33XX_PIN_INPUT_PULLUP},    {"gpmc_ad15.mmc2_dat3", OMAP_MUX_MODE3 | AM33XX_PIN_INPUT_PULLUP},    {NULL, 0}, };

While EVM uses the following configuration:

static struct pinmux_config mmc2_wl12xx_pin_mux[] = {    {"gpmc_a1.mmc2_dat0",   OMAP_MUX_MODE3 | AM33XX_PIN_INPUT_PULLUP},    {"gpmc_a2.mmc2_dat1",   OMAP_MUX_MODE3 | AM33XX_PIN_INPUT_PULLUP},    {"gpmc_a3.mmc2_dat2",   OMAP_MUX_MODE3 | AM33XX_PIN_INPUT_PULLUP},    {"gpmc_ben1.mmc2_dat3", OMAP_MUX_MODE3 | AM33XX_PIN_INPUT_PULLUP},    {"gpmc_csn3.mmc2_cmd",  OMAP_MUX_MODE3 | AM33XX_PIN_INPUT_PULLUP},    {"gpmc_clk.mmc2_clk",   OMAP_MUX_MODE3 | AM33XX_PIN_INPUT_PULLUP},    {NULL, 0}, };

We used the program Pinmux Utility in order to choose those pins, but a few days ago it came to our attention that we ended up mixing two MUXs for the MMC2 bus. Regardless, the program does NOT flag that as an error, so now we are confused, it seems that MMC is the only bus that can mix MUX0 with MUX1... The EVM board uses every pin in the same MUX (MUX0) and the WL1271 attached to the MMC2 bus does work there.

I'm attaching the configuration file for further analysis. Would this pins work, meaning I don't need to focus my attention in which balls I'm using?

(Please visit the site to view this file)

Regards,

DAVI


Viewing all articles
Browse latest Browse all 25965

Trending Articles



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