Accessory power with Lightning Camera Adapter: Electrical Engineering question
Hi,
I'm an electronics hardware developer. The latest version of my hardware gives a power consumption warning whereas the previous version does not. I'm seeking advice and details on what is actually behind the message "This accessory requires too much power."
The accessory is a class-compliant USB 2.0 audio DAC connected with a USB-C port. It works when I connect a PC. When I connect my iPhone 13 with the Camera Adapter and a generic USB A-C cable, it enumerates and gives the power message.
See below for the tests I have performed. It seems that the error message does not correlate with either DC current on the VBUS line or the inrush current. What then triggers the iPhone to give the error?
The same iPhone, Camera Adapter and A-C cable work perfectly in the previous hardware prototype. The two prototypes use the same firmware. They are both externally powered.
When I replace the iPhone and Camera adapter at the USB-C plug with a lab DC supply at 5V, I get a DC current consumption on the VBUS line of 608µA on the working one. The one with the error message has been tested at 640µA and 297µA. I have a fast current-to-voltage converter that I use to monitor inrush current. The working and failing device are very similar. VBUS capacitance in the working device is 5.6µF. The failing device has been tested with anywhere from 0.9 to 5.6µF. Both devices use the same TVS diodes on USB.
When connected to the iPhone again, the failing device gives the same error message when the failing device is tested in different hardware configurations: both with and without TVS, with and without USB common-mode filter, with the different DC currents, with the different inrush currents etc.
The only practical difference that remains is that the two devices use a different USB data multiplexer. The failing device uses an improved MUX with lower capacitance on the USB power lines.
I have yet to test the devices with a USB hub (powered and passive) and powered USB3 Lightning Camera Adapter.
I wish to make the final product work with the USB 2 Camera Adapter. It is not an option to permanently use USB3 powered Camera Adapter or USB hub.
Best regards,
Børge