I'm using the K61 to support USB High-Speed Host controller.
According to the TWR-K70F120M and TWR-SER2 schematics, the Fault Flag signal of the VBUS switch connected to the VBUS_DT signal of the USB3300 USBHS PHY.
According to the K61 reference manual (K61P256M150SF3RM, Rev 2), the K61USBHS OTG controller will detect over-current condition by below two bit in the USBHS_PORTSC1 register.
- bit 5 OCC Over-Current Change
- bit 4 OCA Over-current active
But the K61 does not have the USBn_PWRFAULT, and does not connect the Fault Flag signal of the VBUS switch to any pin of the K61.
Here is questions.
1. Can we use the USBHS_PORTSC1 bit 5 OCC and bit 4 OCA to detect over-current condition?
2. To detect over-current condition, should we connect the Fault Flag signal of the VBUS switch to a pin of the K61?
If so, please let us know it pin name.
Please reply as soon as possible.