Hello,
On our prototype, we make the USB-OTG port available to a docking station via a set of gold contacts molded into the bottom of the device. We discovered that sometimes the device could be turned on when these contacts were touched. I did a little more research, and found that any time there's a voltage on VBUS over 550mV, this sends a signal to the power manager module to power on the device. I read through the relevant sections of the TRM, and tried making adjustments to the kernel to ignore this interrupt, but to no avail. I tried the following things:
-Set USB_PRES_RISING within PWR_EDR1 to 0.
-Set USB_PRES within PWR_IMR2 to 1.
-Set USB_PRES within PWR_IMR1 to 1.
-Set USB_PRES within PWR_ISR1 to 1.
All of these steps were done individually, and all with the goal of having the power module ignore the interrupt generated by the VBUS Wake-Up interrupt. What's wrong with my method or can this even be done?
Thanks,
Jake