Using the iMX6UL as a USB host controller, with an external power switch with over current status.
If I wire the OC status to a iMX6UL OC pin (as described in table 54-1 of the iMX6UL Reference Manual). Will there be any HW dependencies when a OC situation occurs:
1: Activating the OC input, will the USB data transfer be interrupted?
2: Will the OC input by any means directly control the PWR output?
I am thinking of any HW links between functions of the USB block.
A lot of reference designs are using any other GPIO pin for OC status, which I assume requires the USB driver to be adapted to that. But as the Reference Manual lists a number of dedicated pins for OC status, I'm wondering if the on-chip HW has any functionality for handling OC situations.
Hi Hans,
There is no hardware dependency that I'm aware of, this is all software controlled, behaviour is programmable to a certain extent, an interrupt can be generated when an OC is detected, what happens next is software controlled.
Refer to the RM Port Reporting Over-Current section for more details, if searching through the RM USB chapters, use "current" as the search term to help avoid missing any OC associated information.
Regards
Ross