Yifan Lu attempts a PS Vita HDMI mod

sample_.png

A while ago, Yifan Lu, a member of PS Vita hacking group Team Molecule, posted a technical blog on his website, explaining how he attempted an HDMI mod for the OLED PS Vita and why it didn't end up as successful as he hoped it would be. He also explains the truth about the OLED's "mystery port", whether the Vita has any video output capabilities as well as other interesting discoveries. You can read the whole thing here.

He begins with explaining that the PS Vita's SoC, which is named Kermit, has two MIPI DSI output ports. Depending on the PS Vita model, the first port is connected to a custom 40-pin high speed board-to-board connector (OLED) or a ZIF connector (LCD), which are either connected to an OLED or LCD panel. The second port is only used in development kits and Vita TVs. There it is connected to an ADV7533 MIPI/DSI Receiver with HDMI Transmitter, which is why he suspects that the Vita has those two ports in the first place. He goes on making clear that the Vita's SoC lacks any native support for HDMI/TMDS signaling, shooting down any rumors of handheld PS Vita's with HDMI output capabilities. Remember the second port on OLED models that is often dubbed as "mystery port" and was rumored to be a scrapped HDMI port? That port is actually just a USB host port with a custom physical connector with no video output capabilities.

The pins of the second, unused MIPI DSI port are not routed and therefore it is impossible to use them for an HDMI mod. So Yifan Lu's idea was to intercept the DSI output to the OLED panel and let the same signals drive a custom board that can convert it to HDMI. After successfully soldering wires and locating test points for the desired signals, his original idea was to use the same MIPI DSI to HDMI conversion chip that the Vita TV uses. Unfortunately he had to scrap this due to a number of reasons quoted below:

  • I wanted to expose a mini-HDMI port on the bottom of the OLED Vita right next to the multi-connector. There is unused space inside the Vita near that region but it is only about 15mm x 15mm. That means all the components I choose will have to be extremely space efficient and therefore expensive.
  • The ADV7533 only comes in a 49-BGA package which means layout requires at least a 6 layer board with low pitch and drill sizes. This means that prototyping the boards will be very expensive. A normal 2 layer PCB with standard drills can be fabricated for about $10 for each prototype run. A 6 layer board with small drill sizes goes for about $300 for each prototype run.
  • I do not have the equipment to solder and test small pitch BGA parts which I would have to use to meet the space constraints.
  • You cannot buy the ADV7533 from standard US suppliers because the part is under NDA and requires you to have a HDMI license which costs thousands of dollars per year.

Because he wasn't going to make profit off these boards, he couldn't justify investing the time and money for this design, which leads to his next approach, cheap MCU evaluation boards with MIPI DSI support from ST. What follows was building a small 15mm x 15mm breakout board to be placed into the Vita and a host board that connects to that breakout board and the MIPI DSI adapter from ST. The host board is also connected to a RaspberryPi which supplies it with power and is used to program the ADV7533 MIPI/DSI Receiver of the Vita.

Next task is communicating with the ADV7533. Since it is under NDA, an official programming guide is not available to the public. So Yifan Lu looked at various open source implementations and was able to write a Python-based configuration sequence that allowed him to successfully build communication with the ADV7533. Under normal circumstances, video should show up now, but it didn't. Trying to figure out what's wrong, he brought out his trusty oscilloscope. An oscilloscope is a device that analyzes various signals and displays them as waveforms to observe changes in voltage. To summarize his fairly technical observations, he concluded that there is an issue with the ADV7533's clock and data lanes entering HS (high-speed) and LP (low-power) modes and the lack of any logic to handle clock lane LP transition. His tests showed that on the OLED Vita, it is not possible to have the OLED and HDMI working at the same time, but implies that it can be fixed with a hacked PS Vita. However, as he doesn't want to limit the adapter to hacked PS Vitas, he tried to find another solution but unfortunately without success.

Nonetheless, Yifan continued this project to hone his design skills and in the end was able to redesign his board and made it programmable without a RaspberryPi. He says he doesn't plan to pursue this project any more than that, but open sourced his designs in case others want to continue where he left off. In that case he provided a couple of tips to start:

  • If you only care about hacked Vitas, you can try to get the existing design to work with a custom driver that sets the auto clock configuration to output to the screen or to the external adapter. You can also try to find the test-points on a Vita slim. Finally, if you want sound, you need to find the an I2S output somewhere.
  • If you want to try another part, you can look at one of various MIPI DSI to eDP chips (for example this) and chain it with a DP to HDMI chip or with a DP cable. Make sure the chip you’re using supports LP mode!
  • If you want to design your own part using a FPGA, that might be the best route but you need to make sure your FPGA supports MIPI D-PHY, which most likely it won’t and you’ll have to make a level translation circuit. I think this is what the existing Vita video out mod does.

What do you think of this? The PS Vita TV aside, do you care about a Vita HDMI mod?

:arrow: Source
 

Attachments

  • mystery_port.jpg
    mystery_port.jpg
    12 KB · Views: 1,449

Pluupy

_(:3」∠)_
Member
Joined
Sep 13, 2009
Messages
1,945
Trophies
1
XP
2,265
Country
United States
Is this...really worth front paging? An attempt? Yifan not proceeding with this minor pet project?

I like the technical details involved but it is a rather strange post to throw up here. Probably not as bad as those "some people got Linux on switch" posts, I guess.
 

Tom Bombadildo

Dick, With Balls
Member
Joined
Jul 11, 2009
Messages
14,578
Trophies
2
Age
29
Location
I forgot
Website
POCKET.LIKEITS
XP
19,235
Country
United States
Is this...really worth front paging? An attempt? Yifan not proceeding with this minor pet project?

I like the technical details involved but it is a rather strange post to throw up here. Probably not as bad as those "some people got Linux on switch" posts, I guess.
I see no reason why an article such as this shouldn't be on the front page. It's hacking related, well written, and dives into a hacking scene not commonly talked about in depth here on the Temp. All in all an excellent front page post.

It's not like the front page is limited to OMG SUPER IMPORTANT NEWS only, that'd be silly, we'd never have anything on the front page then.

As to the article, interesting read. I personally see little point in trying to make something like this work, what with the PSTV existing along with the whitelist hack. But dissecting and messing around with the Vita's hardware and trying to figure out some unconventional methods to do things is always fun.
 

Reploid

Well-Known Member
Member
Joined
Jan 20, 2010
Messages
2,830
Trophies
2
XP
6,276
Country
Serbia, Republic of
I don't care at all. Games that arent even having Vitat's native resolution on some cases, won't look good on TV. Bad trade off for vita's small, but really nice display.
 

Yepi69

Jill-sandwiched
Member
Joined
Nov 29, 2010
Messages
2,862
Trophies
2
Age
28
Location
Behind you
XP
1,776
Country
Portugal
I don't think its necessary, not to be that guy but the PSTV is basically a big screen Vita which can be used with capture cards regardless.
I appreciate the fact that this is being made however I don't think anyone would go through all the trouble to solder up a few pins and whatnot just to have their own Vita screen on their huge screen when a PSTV is about 20 to 30$ and it practically does the exact same thing.
 
D

Deleted User

Guest
Pstv can’t play all games. Petz for example doesn’t work.
And someone I know wants to play it on a big screen because of eye problems.

I bought a pstv but the camera plugin doesn’t work with that game so I had to set up streaming (which is a bit laggy ) so why not hdmi :P I guess that would make her happy
 
Last edited by ,

huntertron1

dancing to music!
Member
Joined
Oct 28, 2017
Messages
576
Trophies
0
Age
21
XP
625
Country
United States

A while ago, Yifan Lu, a member of PS Vita hacking group Team Molecule, posted a technical blog on his website, explaining how he attempted an HDMI mod for the OLED PS Vita and why it didn't end up as successful as he hoped it would be. He also explains the truth about the OLED's "mystery port", whether the Vita has any video output capabilities as well as other interesting discoveries. You can read the whole thing here.

He begins with explaining that the PS Vita's SoC, which is named Kermit, has two MIPI DSI output ports. Depending on the PS Vita model, the first port is connected to a custom 40-pin high speed board-to-board connector (OLED) or a ZIF connector (LCD), which are either connected to an OLED or LCD panel. The second port is only used in development kits and Vita TVs. There it is connected to an ADV7533 MIPI/DSI Receiver with HDMI Transmitter, which is why he suspects that the Vita has those two ports in the first place. He goes on making clear that the Vita's SoC lacks any native support for HDMI/TMDS signaling, shooting down any rumors of handheld PS Vita's with HDMI output capabilities. Remember the second port on OLED models that is often dubbed as "mystery port" and was rumored to be a scrapped HDMI port? That port is actually just a USB host port with a custom physical connector with no video output capabilities.

The pins of the second, unused MIPI DSI port are not routed and therefore it is impossible to use them for an HDMI mod. So Yifan Lu's idea was to intercept the DSI output to the OLED panel and let the same signals drive a custom board that can convert it to HDMI. After successfully soldering wires and locating test points for the desired signals, his original idea was to use the same MIPI DSI to HDMI conversion chip that the Vita TV uses. Unfortunately he had to scrap this due to a number of reasons quoted below:



Because he wasn't going to make profit off these boards, he couldn't justify investing the time and money for this design, which leads to his next approach, cheap MCU evaluation boards with MIPI DSI support from ST. What follows was building a small 15mm x 15mm breakout board to be placed into the Vita and a host board that connects to that breakout board and the MIPI DSI adapter from ST. The host board is also connected to a RaspberryPi which supplies it with power and is used to program the ADV7533 MIPI/DSI Receiver of the Vita.

Next task is communicating with the ADV7533. Since it is under NDA, an official programming guide is not available to the public. So Yifan Lu looked at various open source implementations and was able to write a Python-based configuration sequence that allowed him to successfully build communication with the ADV7533. Under normal circumstances, video should show up now, but it didn't. Trying to figure out what's wrong, he brought out his trusty oscilloscope. An oscilloscope is a device that analyzes various signals and displays them as waveforms to observe changes in voltage. To summarize his fairly technical observations, he concluded that there is an issue with the ADV7533's clock and data lanes entering HS (high-speed) and LP (low-power) modes and the lack of any logic to handle clock lane LP transition. His tests showed that on the OLED Vita, it is not possible to have the OLED and HDMI working at the same time, but implies that it can be fixed with a hacked PS Vita. However, as he doesn't want to limit the adapter to hacked PS Vitas, he tried to find another solution but unfortunately without success.

Nonetheless, Yifan continued this project to hone his design skills and in the end was able to redesign his board and made it programmable without a RaspberryPi. He says he doesn't plan to pursue this project any more than that, but open sourced his designs in case others want to continue where he left off. In that case he provided a couple of tips to start:



What do you think of this? The PS Vita TV aside, do you care about a Vita HDMI mod?

:arrow: Source
ok i see why people want this. the pstv is just a vita with limited stuff (i think your can install cfw on to it to add more psvita games on to it) and to have a HDMI mod for the psvita will most defiantly make it shine more then the pstv. (SONY DONT RELEASE A PSTV2 UNLESS ITS GOOD)
 

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
12,994
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,040
Country
United States
I had always assumed the Vita had HDMI output, like the PSP had component output. Now I'm not going to buy one, that's a deal-breaker.
 
Last edited by Jayro,

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,850
Country
Poland
People misunderstand this project, I think. Yifan does this for fun, it entertains him. It's opensource, so anyone can follow in his footsteps, but with little market demand I can't imagine a for profit picking this up to come up with a dongle. Grab a PS TV - in my area they're so cheap stores are practically giving them away. You'll also get the benefit of comfortable controls, which is a big plus.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Even my mum slept on that uremum