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.

OMAP3530 EVM: Setting T2_GPIO_2 breaks USB?

Other Parts Discussed in Thread: TPS65950

I'm working with an OMAP 3530 EVM (Rev G) with WinCE 6.0 R3 and the v6.14.01 BSP.  We're trying to get video input working through the expansion connector and the EE on the team instructed me to change the state of GPIO 2 on the TPS65950 power management chip (defined in gpio.h as T2_GPIO_2).  This was to be done so that the EVM would select the expansion connector as the input source instead of the CVBS In connector.

In the BSP under \TI_EVM_3530\SRC\BOOT\EBOOT I found the following code in main.c at line 281:

            // enable new EVM2 control signals (T2_GPIO2 = 0)
            //OALLog(L"Enable new EVM2 IO\r\n");
            OALTritonWrite(hTwl, TWL_CLEARGPIODATAOUT1, 1 << 2);
            OALTritonSet(hTwl, TWL_GPIODATADIR1, 1 << 2);

So I changed TWL_CLEARGPIODATAOUT1 to TWL_SETGPIODATAOUT1.  But when I boot with this change in the bootloader, all USB functionality ceases to work on the EHCI port.  I did not try the OTG port as I'm not using it.

Not being an expert on the OMAP 3530 or the TPS65950, I don't know why this is happening.  Does someone know why USB is lost when this GPIO line is changed?  If this is not the correct line to change for using the expansion connector for video, does someone know what the correct one is?

Thanks,

Dan