Abstract:
Electronic devices may be provided with audio circuits and controller circuitry configured to support test mode operations. A connector such as a reversible connector may be inserted into a mating device connector in an electronic device. The reversible connector may be connected to the device connector in either a normal orientation or a reversed orientation in which the reversible connector is rotated 180° with respect to the normal orientation. During test mode operations, a tester may be coupled to the device connector using the reversible connector. The tester may generate voltages, resistances, time-varying signals, or other input that directs the device to configure switching circuitry to support testing. Monitoring circuitry in the device may be used to detect input from the tester. In response to detected input from the tester, the switching circuitry may be adjusted to couple the controller to the device connector.
Abstract:
Computer readable storage mediums, electronic devices, and accessories having stored thereon data structures. A data structure includes a pin selection field operable to identify a connector pin and cause a host device to select one of a plurality of communication protocols for communicating with an accessory over the identified connector pin. The data structure also includes an accessory capability field defining an accessory identifier that uniquely identifies the accessory.
Abstract:
Methods, systems, and apparatus for enabling a power path between a power source and a host device via an accessory. A host device may send, to an accessory arranged within the power path, via a first data pin arranged in the host device, a request for an accessory identifier. The accessory identifier identifies the accessory. The host device may then determine whether the accessory identifier is received from the accessory within a specified period of time or whether a received accessory identifier is valid. If the accessory identifier is not received from the accessory within the specified period of time, or a received accessory identifier is not valid, the host device sends a new request for the accessory identifier to the accessory via a second data pin different than the first data pin.
Abstract:
Methods, systems, and apparatus for determining whether an accessory includes particular circuitry. A host device may measure a first voltage and a second voltage received from an accessory, where the voltages are provide through the accessory from a power source. Before measuring the second voltage, the host device may send an instruction to the accessory instructing the accessory to alter an impedance of the power path between the power source and the host device, and the host device may draw at least a threshold amount of current from the power source via the accessory. The host device may then determine whether the accessory includes particular circuitry based on the relationship between the first voltage and the second voltage.
Abstract:
A system that detects electrical disconnection of one connector from another connector includes a detection circuitry and a protection circuitry. The detection circuitry detects that a plug connector has been electrically disconnected from a corresponding receptacle connector. In response to the detection, the detection circuitry sends a signal to the protection circuitry. In response to the signal, the protection circuitry lowers or terminates power being supplied to a host device via one of the contacts of the plug connector. This helps to prevent shocks/shorts that may be caused by accidental disconnection of the plug connector.
Abstract:
Systems and methods for configuring contacts of a first connector includes detecting mating of a second connector with the first connector and in response to the detection, sending a command over one of the contacts and waiting for a response to the command. If a valid response to the command is received, the system determines the orientation of the second connector. The response also includes configuration information for contacts in the second connector. The system then configures some of the other contacts of the first connector based on the determined orientation and configuration information of the contacts of the second connector.