Apple’s Lightning Digital AV Adapter Has a Tiny Computer Inside With 256MB RAM and an ARM SoC

apple lightning av adapter chip

While we knew that Lightning accessories packed in an embedded Texas Instruments chip to handle its adaptive 8-pin interface, a new teardown of the $50 Lightning Digital AV Adapter shows that the complexity in some of these accessories is far more than we’ve imagined.

lightning av adapter

The teardown, done by the folks at Panic software, reveals that the Adapter contains an ARM SoC and a 256MB RAM running what appears to be a mini version of iOS to power the video out functionality on the iPhone, iPad and iPod touch that come with the new Lightning connector.

The folks at Panic noticed this when they saw that the Lightning adapter wasn’t capable of natively sending 1080p video. Moreover, the stream that was sent contained MPEG artifacts indicative of the AirPlay-like lossy compression, which in turn degraded video quality.

From Panic’s post:

There are a lot of questions. What OS does it boot? @jmreid thinks the adapter copies over a “mini iOS” (!) from the device and boots it in a few seconds every time it’s connected, which would explain the fairly lengthy startup time for video out. Why do this crazy thing at all? All we can figure is that the small number of Lightning pins prevented them from doing raw HDMI period, and the elegance of the adapter trumped the need for traditional video out, so someone had to think seriously out of the box. Or maybe they want get as much functionality out of the iPad as possible to reduce cost and complexity. Another floated theory: efficient HDCP [High-bandwidth Digital Content Protection] enforcement [presumably required by hollywood studios].

Sadly, even though this AV adapter is technologically more superior to its predecessors, it’s more of a downgrade due to its non-native 1080p support, the lossy video streaming and in certain cases even laggy performance.

Have you used the Lightning Digital AV Adapter? What has been your experience?

Update: Over at the Panic blog, an anonymous commenter, possibly with internal knowledge about the AV adapter, explains what’s going on here:

Airplay is not involved in the operation of this adapter.

It is true that the kernel the adapter SoC boots is based off of XNU, but that’s where the similarities between iOS and the adapter firmware end. The firmware environment doesn’t even run launchd. There’s no shell in the image, there’s no utilities (analogous to what we used to call the “BSD Subsystem” in Mac OS X). It boots straight into a daemon designed to accept incoming data from the host device, decode that data stream, and output it through the A/V connectors. There’s a set of kernel modules that handle the low level data transfer and HDMI output, but that’s about it. I wish I could offer more details then this but I’m posting as AC for a damned good reason.

The reason why this adapter exists is because Lightning is simply not capable of streaming a “raw” HDMI signal across the cable. Lightning is a serial bus. There is no clever wire multiplexing involved. Contrary to the opinions presented in this thread, we didn’t do this to screw the customer. We did this to specifically shift the complexity of the “adapter” bit into the adapter itself, leaving the host hardware free of any concerns in regards to what was hanging off the other end of the Lightning cable. If you wanted to produce a Lightning adapter that offered something like a GPIB port (don’t laugh, I know some guys doing exactly this) on the other end, then the only support you need to implement on the iDevice is in software- not hardware. The GPIB adapter contains all the relevant Lightning -> GPIB circuitry.

It’s vastly the same thing with the HDMI adapter. Lightning doesn’t have anything to do with HDMI at all. Again, it’s just a high speed serial interface. Airplay uses a bunch of hardware h264 encoding technology that we’ve already got access to, so what happens here is that we use the same hardware to encode an output stream on the fly and fire it down the Lightning cable straight into the ARM SoC the guys at Panic discovered. Airplay itself (the network protocol) is NOT involved in this process. The encoded data is transferred as packetized data across the Lightning bus, where it is decoded by the ARM SoC and pushed out over HDMI.

This system essentially allows us to output to any device on the planet, irregardless of the endpoint bus (HDMI, DisplayPort, and any future inventions) by simply producing the relevant adapter that plugs into the Lightning port. Since the iOS device doesn’t care about the hardware hanging off the other end, you don’t need a new iPad or iPhone when a new A/V connector hits the market.

Certain people are aware that the quality could be better and others are working on it. For the time being, the quality was deemed to be suitably acceptable. Given the dynamic nature of the system (and the fact that the firmware is stored in RAM rather then ROM), updates **will** be made available as a part of future iOS updates. When this will happen I can’t say for anonymous reasons, but these concerns haven’t gone unnoticed.

Recent Posts


  • Fredlead

    No 1080p?
    What is going on with those guys at Apple?

    • http://rounak.me/ Rounak Jain

      They do ultimately upscale whatever res video they get to 1080p, but obviously the experience is crappy.

  • Unvaluablespace

    See, it’s crap like this swaying me away from apple (or at least iPhone devices) only apple could get away with stuff like this, and its kinda bs. I know you apple fanboys are gonna scream ” then go to android” and trust me, by the time my contract is up, if a newer more reliable iPhone isn’t out, then yes I will be gone. How the hell can they get away with announcing something like Siri, which is clearly a beta, yet advertise it on tv and such as though it were flawless, or even a part of the purchase? Like they’re justifying the cost of the iPhone by Siri as one of its main selling points, but its a BETA. Or even maps, granted a lot of people have been complaining, so they’ve been a bit more hush hush about it, but again, a beta advertised as a selling point. If google, or any other manufacturer did this, they would completely get crapped on. Now a hdmi connector, which secretly acts as AirPlay? I’d be pissed if I bought a $50 adapter that doesn’t give me a full hdmi experience. One of the reasons i don’t like AirPlay is for the lag, and frame drops. Most people who just use it for streaming wont notice, but if you dare try to play a game or something interactive with AirPlay, it becomes almost not worth it. My tv doesn’t even suffer from input lag, even without “game mode” but AirPlay still sucks, and my Internet connection is solid, my router is good, I hardly have any traffic on it, etc. one of the reasons I would buy a cable over wireless is for the faster response. Apple does get flack here and there for certain “issues” but not nearly as much as what they do get away with.

    • Unvaluablespace

      Oh yeah, and iPhones as of late have become less and less stable. My first iPhone practically never crashed. My iPhone 5 crashes at least twice a day, and I’ve reinstalled iOS, and it still occurred before jail break, and I even went and had it exchanged at apple store, same issues. One of the reasons I originally jumped to apple and stayed clear of android was because apple was so much more reliable, and stable, and smoother. Latest galaxy phone seems just as good nowadays. Of course I own an iPhone so I can’t say for sure, but every time I play with a galaxy phone on display, it’s smooth, and sometimes almost seems faster. Also, my iPhone 5 wifi has been complete sh*t. I can hold a 4s and my 5 side by side, and the 4s wifi reaches farther than the 5, which is almost horrid, most routers I have to be within 10-15 feet of. And again, this was before and after swapping my 5 for a new one. :-|

    • Kimk69

      I hear you on all that sh*t.
      Air play pissed me off when I bought that Apple TV 2, and have a 4S, wanted the Apple TV mainly for Real Racing 2 and it sucked. Couldn’t use it to play because of the little bit of lag would be enough to put you into the wall. But, I have the iPhone 5 now and don’t know if that’s it or software fixed it but no more lag with real racing 2 and iPhone 5. I know the i5 has beefed up power so maybe that’s why. Also tried pinball HD and that has lag which makes it impossible to play. I just don’t get it, that pinball game has an remote app where you can play using your computer screen and the iPhone as a remote on the same network and its great. No lag. WTF. I love apple but come on. This sh*ts been out for a while now. Unless its a problem with the pinball game but I doubt it. At least I have real racing 2 without wires.

      • Unvaluablespace

        I have an iPhone 5, and had iPad 2, then iPad 3. AirPlay has never worked up to my expectations. Gaming is horrible. Even just regular non gaming related stuff can be lame at times. Tried 2.4 ghz, 5ghz, wireless g, wireless n, Etc. result is always the same, if it even does work, then it only works for the first 5 minutes. I’ve replaced routers, tried at other people’s houses, etc. trying anything seriously on AirPlay just sucks, it only seems to work well long enough to ” show off to your friends”

    • http://rounak.me/ Rounak Jain

      Agree with you here. Where a lot of companies might be taken down by the tech media, Apple manages to get away. One such example: No export option in iCloud. If Google or Facebook were to do it, they would get burned for “locking” users and violating principles of the open web etc. But there hasn’t been any sort of thing for iCloud. So pissing off.

      And when they do get burned by the media, most Apple bloggers dismiss that as overblown hysteria.