This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, all
I am newer to OMAP3530, now I learn to port WinCE 6.0 to our platform. Our board need to configure MMC1_DATA4 and MMC_DATA6 to be output, and output Logic High, so I modified the file platform.c under X-loader for WinCE. But when board started, the pin keep low, and does not output logic high. I have check all, but no hint. We also configured MMC2_DATA6 to output logic high as above, and it works well, I am confused.
Would someone here give me some help?
Thanks in advance
Hi,
May I know which BSP you are using as based to port??
You are modifing PinMux at right place platfrom.c only. Have you tried something like this,
OUTREG16(&pConfig->CONTROL_PADCONF_MMC1_DAT4, (INPUT_DISABLE | PULL_UP| MUX_MODE_0)); /*MMC1_DAT4*/
OUTREG16(&pConfig->CONTROL_PADCONF_MMC2_DAT6, (INPUT_DISABLE | PULL_UP MUX_MODE_0)); /*MMC2_DAT6*/
You can print the pin state in bootloader to verify and then check once again in your SDHC driver to see if some other driver is changing it???
Regards,
Himanshu Gajjar
First, I think the above pin mux configuaration are wrong,
OUTREG16(&pConfig->CONTROL_PADCONF_MMC1_DAT4, (INPUT_DISABLE | PULL_UP| MUX_MODE_0)); /*MMC1_DAT4*/
pin mmc1_dat4--mmc1_dat6 does not have pull up resistor inside, you should add external pull up resistor if needed.
Second, in your board design, the power for these pins are 1.8V or 3V, if 1.8V, you should do something as follows
http://processors.wiki.ti.com/index.php?title=Additional_Configuration_for_GPIO120-129_on_OMAP35x