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.
Best regards,
Takashima
Hi Takashima,
The VBUS_DT signal of the USB3300 USBHS PHY has nothing with Over-Current condition, it is used to detect the external VBUS availability. so on TWR-SER2, when the VBUS switch detects an external available, it would notify the USB3300 USBHS PHY, which would be reflected in its internal status register.
Have a great day,
Kan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------