Hello friends,
I'm trying to make TPS659x usbotg transceiver work with Mistral REV G board. I rebuilt the OS with OTG Driver (TPS659x) selected. Hardware was also modified properly. When I run the new OS and connected activesync cable to PC, activesync connection was established and I could browse the EVM and copy files between EVM and PC. If I connected USB memory stick to EVM, the USB memory stick could be recognized also.
However I noticed one issue with activesync connection. After a while (sometimes 1 hour, sometime shorter), activesync connection was broken and re-established again. I put some debug messages in the driver and found that the driver got interrupted with m_pOTG->intr_usb = 0x28 which INTRUSB_DISCONN was set to 1. Therefore OTG_ConfigISR_stage2 calls m_pOTG->pFuncs[DEVICE_MODE-1]->Disconnect((void *)m_pOTG);. But later on PC would reconnect to EVM.
I have a BeagleBoardXm with pre-built CE7 OS image and I observed the same issue.
Both boards have the same problem with two different PCs.
I haven't observed the same problem when EVM connects to a USB memory stick which leads me suspect something wrong on VBUS.
If the VBUS comparator inside the TPS659x USBOTG transceiver dectects VBUS lower than threshold, it will issue an interrupt saying host-disconnected. Am I correct?
Has anybody encountered the similar problem?
Regards,
James