iPhone 5 Lightning Port Dynamically Assigns Pins For Reversible Use

Apple’s iPhone 5, 5th generation iPod touch and 7th generation iPod nano that were unveiled on Wednesday came with a new dock connector dubbed Lightning, which replaced the 30-pin dock connector that was first launched in 2003.

We’ve already told you everything we knew about Apple’s new Lightning connector, but we didn’t know how it worked.

Developer Rainer Brockerhoff provides a detailed explanation on how the Lightning connector and port works:

  • Lightning is adaptive.
  • All 8 pins are used for signals, and all or most can be switched to be used for power. So it makes no sense to say “Lightning is USB2-only” or whatever.
  • The outer plug shell is used as ground reference and connected to the device shell.
  • At least one (probably at most two) of the pins is used for detecting what sort of plug is plugged in.
  • All plugs have to contain a controller/driver chip to implement the “adaptive” thing.
  • The device watches for a momentary short on all pins (by the leading edge of the plug) to detect plug insertion/removal.
  • 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.

AppleInsider also reports that according to cable experts at Double Helix Cables, iPhone 5′s Lightning port dynamically assigns pins for reversible use, which makes it a lot easier to use rather than the 30-pin connector port.

“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).”

Apple’s new Lightning connector, as mapped out by Peter Bradstock of Double Helix Cables

The apparent complexity of the Lightning dock connector could be one reason for the high cost of cables and Lightning adapters, which are available for $29 and $39.

By adopting an adaptive interface Apple may have future proofed the Lightning connector to support new technologies.

[AppleInsider via MacRumors]

  • Gabzor

    Just the reason I needed to get a galaxy. Thank you apple for making the decision easier.

    • Please Explain

      What’s the reason?

      • Drei

        Dynamic pin assignment is unacceptable – there should be only ONE way to plug a cable into a phone! If next-gen USB connections do this, I give up on technology.

        • Drei

          ^That was a joke, by the way

    • http://SaephanServices.com/ Kao Saephan

      How many Apple websites and articles have you visited so far? To tell everyone that you’ve decided to get a galaxy. Just wondering. I come across a post or two on EVERY Apple article by someone who proclaims their hatred towards Apple for one reason or another and how they’re moving to android.

  • Andy

    So has anyone tried one of the cheap 30 pin to lightning adapters yet? Are they working?

    • Vince

      I ordered a cheap $8 adapter and $10 cable from China – not delievered yet. Will report back once I get them! I must admit I’m a little worried about testing in my brand new i5 but whatever… I will NEVER pay 40$ for an adapter or cable.

      • genXhippie

        Likewise.

  • Completely Connected

    Gabzor did you read the article! Pretty impressive technology. Think of the accessory possibilitys. It’s called progress! The 30pin had a good run. I love being able to just plug my phone in without looking at which way the cable is facing.

  • MuscleMass

    Again, them Apples are stayin’ a step ahead. But soon they’re going to run out of “electrifying” names for their ports/connectors. First, THUNDERBOLT cable and port, now LIGHTNING port. What’s next? SPARK? JOLT?

  • CutItOut

    “Or Whatever.”