Apple retailers offering big discounts on iPhones, Macs, iPads and more for Black Friday.
Apple's Lightning Connector Uses Adaptive Technology to Dynamically Assign Pin Functions
Developer Rainer Brockerhoff has been examining Lightning's technical features and over the weekend outlined his thinking on how the "adaptive" nature of the Lightning connector highlighted by Apple during the technology's introduction at the iPhone 5 media event has enabled flexible functionality with a minimum of pins. Brockerhoff notes that the Lightning connector appears able to sense what kinds of devices are being connected and to use chips embedded in the cable to assign pin functionalities appropriate for each situation.
- The device watches for a momentary short on all pins (by the leading edge of the plug) to detect plug insertion/removal.Double Helix Cables has now shared with AppleInsider a mapping of the pins on the two sides of the Lightning connector, demonstrating that this adaptive assignment of pin functions is required for the reversible nature of the plug.
- The pins on the plug are deactivated until after the plug is fully inserted, when a wake-up signal on one of the pins cues the chip inside the plug. This avoids any shorting hazard while the plug isn’t inside the connector.
- The controller/driver chip tells the device what type it is, and for cases like the Lightning-to-USB cable whether a charger (that sends power) or a device (that needs power) is on the other end.
- The device can then switch the other pins between the SoC’s data lines or the power circuitry, as needed in each case.
- Once everything is properly set up, the controller/driver chip gets digital signals from the SoC and converts them – via serial/parallel, ADC/DAC, differential drivers or whatever – to whatever is needed by the interface on the other end of the adapter or cable. It could even re-encode these signals to some other format to use fewer wires, gain noise-immunity or whatever, and re-decode them on the other end; it’s all flexible. It could even convert to optical.
"Take top pin 2 for example," he wrote in an e-mail to AppleInsider. "It is contiguous, electrically, with bottom pin 2. So, as the plug is inserted into the iPhone, if you have the cable in one way, pin 2 would go into the left side of the jack, flip it the other way and the same pair of pins is going to match up with the other side of the jack (as the electrical contacts in the iPhone's jacks are along the bottom)."
Mapping of pins in Apple's new Lightning connector
The adaptive nature of the Lightning connector may explain to some degree the rather high cost of cables and adapters for the new standard, as the $29 and $39 adapters for connecting 30-pin dock accessories to Lightning-equipped devices are required to contain hardware capable of working with the dynamically assigned pin functions. In addition, the adaptive nature indicates that the same Lightning interface could evolve over time to support new technologies within existing hardware.