Difference between revisions of "UDC"

From Vita Development Wiki
Jump to navigation Jump to search
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
There is a USB client on handheld Vita devices. It uses a proprietary multi-connector on the OLED (PCH-1XXX) units and a micro-USB on the LCD (PCH-2XXX) units.
+
There is a USB client on handheld PS Vita devices. It uses a proprietary multi-connector on the OLED (PCH-1XXX) units and a micro-USB on the LCD (PCH-2XXX) units.
  
 
== PCH-1XXX Pinout ==
 
== PCH-1XXX Pinout ==
Line 5: Line 5:
 
[[File:UDC_male_pins.png|thumb|400px]]
 
[[File:UDC_male_pins.png|thumb|400px]]
  
Because of the existence of the USB ethernet adaptor, that means there exists a way to use the port in host mode probably through USB OTG or something similar.
+
Because of the existence of the USB Ethernet adaptor, there exists a way to use the port in host mode probably through USB OTG or something similar.
 +
 
 +
Teardown of PS Vita OLED dock [https://twitter.com/Jpk25Cr/status/1054750346734559232 here].
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 14: Line 16:
 
| 1
 
| 1
 
| Power?
 
| Power?
| No known use (N/C on cables, USB ethernet), goes to [[SN99057]] pins 31-32
+
| N/C on cables and DevKit USB Ethernet adaptor, but connected on TestKit USB Ethernet adaptor. Goes to [[SN99057]] pins 31-32.
 
|-
 
|-
 
| 2
 
| 2
Line 21: Line 23:
 
|-
 
|-
 
| 3
 
| 3
| Host detect?
+
| Dock Analog Ground (TRRS Pin 3)
| GND on Vita and charger cable, connected to something on USB ethernet adapter
+
| For stereo audio output
 
|-
 
|-
 
| 4
 
| 4
| Digital audio out
+
| Dock Right Channel Audio (TRRS Pin 2)
 
| To audio codec IC
 
| To audio codec IC
 
|-
 
|-
 
| 5
 
| 5
| Digital audio out
+
| Dock Left Channel Audio (TRRS Pin 1)
| Same net as pin 4
+
| To audio codec IC
 
|-
 
|-
 
| 6
 
| 6
| UART RX
+
| Syscon UART RX
 
| See [[UART Console]]
 
| See [[UART Console]]
 
|-
 
|-
 
| 7
 
| 7
| UART TX
+
| Syscon UART TX
 
| See [[UART Console]]
 
| See [[UART Console]]
 
|-
 
|-
 
| 8
 
| 8
| UART CTS
+
| Syscon UART CTS
 
| See [[UART Console]]
 
| See [[UART Console]]
 
|-
 
|-
 
| 9
 
| 9
| UART RTS
+
| Syscon UART RTS
 
| See [[UART Console]]
 
| See [[UART Console]]
 
|-
 
|-
 
| 10
 
| 10
 
| Audio?
 
| Audio?
| To audio codec IC
+
| To audio codec IC. Not seen used anywhere.
 
|-
 
|-
 
| 11
 
| 11
| ?Headset GND?
+
| Accessory Enable?
| To Syscon
+
| Digital signal. Pull-down to GND on dock. To Syscon (C11). Connected on USB Ethernet adaptor.
 
|-
 
|-
 
| 12
 
| 12
| ?Headset?
+
| Dock TRRS Pin 4
| To Syscon
+
| Digital signal. To Syscon (F9). Connected on USB Ethernet adaptor.
 
|-
 
|-
 
| 13
 
| 13
 
| ?
 
| ?
| To Syscon
+
| To Syscon (G4). Not seen used anywhere.
 
|-
 
|-
 
| 14
 
| 14
| ?GND?
+
| GND 1
| GND on Vita and USB ethernet adapter, N/C on charging cable  
+
| GND on PS Vita and USB Ethernet adaptor. N/C on charging cable and dock.
 
|-
 
|-
 
| 15
 
| 15
 
| ?Peripheral Detect?
 
| ?Peripheral Detect?
| To large ceramic chip, 125K pull-down
+
| To large ceramic chip. 125K pull-down.
 
|-
 
|-
 
| 16
 
| 16
| GND
+
| GND 2
| GND on Vita, N/C on USB ethernet and charging cable
+
| GND on PS Vita. N/C on USB Ethernet adaptor and charging cable. Small cap to USB GND on dock.
 
|-
 
|-
 
| 17
 
| 17
Line 85: Line 87:
 
|-
 
|-
 
| 19
 
| 19
| GND
+
| GND 3
| GND on Vita and charging cable, N/C on USB ethernet
+
| GND on PS Vita and charging cable. N/C on USB Ethernet adaptor. Large cap to USB GND on dock.
 
|-
 
|-
 
| 20
 
| 20
Line 99: Line 101:
 
== PCH-2XXX Pinout ==
 
== PCH-2XXX Pinout ==
  
Port is a standard USB micro. Highly likely that USB OTG is supported in hardware although there's no evidence that it's enabled in software.
+
Port is a standard micro-USB Type B. USB OTG is also supported in hardware and software, as there is an Ethernet adaptor containing a micro-USB 2.0 type B connector as well (there exists a rare PTEL-20xx TestKit Ethernet Adapter:
 +
https://i.ibb.co/HDNHNDx/image0.jpg)
 +
 
 +
[https://forum.devchroma.nl/index.php/topic,194.msg448.html#msg448 The "CBPS" also managed to get USB OTG working and was able to mount a USB drive via VitaShell].
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 125: Line 130:
 
| GND
 
| GND
 
| Ground
 
| Ground
|-
 
 
|}
 
|}
 +
  
 
[[Category:USB]]
 
[[Category:USB]]

Revision as of 21:15, 30 August 2021

There is a USB client on handheld PS Vita devices. It uses a proprietary multi-connector on the OLED (PCH-1XXX) units and a micro-USB on the LCD (PCH-2XXX) units.

PCH-1XXX Pinout

UDC male pins.png

Because of the existence of the USB Ethernet adaptor, there exists a way to use the port in host mode probably through USB OTG or something similar.

Teardown of PS Vita OLED dock here.

Pin Name Description
1 Power? N/C on cables and DevKit USB Ethernet adaptor, but connected on TestKit USB Ethernet adaptor. Goes to SN99057 pins 31-32.
2 Power? Same net as pin 1
3 Dock Analog Ground (TRRS Pin 3) For stereo audio output
4 Dock Right Channel Audio (TRRS Pin 2) To audio codec IC
5 Dock Left Channel Audio (TRRS Pin 1) To audio codec IC
6 Syscon UART RX See UART Console
7 Syscon UART TX See UART Console
8 Syscon UART CTS See UART Console
9 Syscon UART RTS See UART Console
10 Audio? To audio codec IC. Not seen used anywhere.
11 Accessory Enable? Digital signal. Pull-down to GND on dock. To Syscon (C11). Connected on USB Ethernet adaptor.
12 Dock TRRS Pin 4 Digital signal. To Syscon (F9). Connected on USB Ethernet adaptor.
13 ? To Syscon (G4). Not seen used anywhere.
14 GND 1 GND on PS Vita and USB Ethernet adaptor. N/C on charging cable and dock.
15 ?Peripheral Detect? To large ceramic chip. 125K pull-down.
16 GND 2 GND on PS Vita. N/C on USB Ethernet adaptor and charging cable. Small cap to USB GND on dock.
17 VCC +5V VDC
18 VCC Same net as pin 17
19 GND 3 GND on PS Vita and charging cable. N/C on USB Ethernet adaptor. Large cap to USB GND on dock.
20 D- USB Data
21 D+ USB Data

PCH-2XXX Pinout

Port is a standard micro-USB Type B. USB OTG is also supported in hardware and software, as there is an Ethernet adaptor containing a micro-USB 2.0 type B connector as well (there exists a rare PTEL-20xx TestKit Ethernet Adapter: https://i.ibb.co/HDNHNDx/image0.jpg)

The "CBPS" also managed to get USB OTG working and was able to mount a USB drive via VitaShell.

Pin Name Description
1 VCC +5V VDC
2 D+ USB Data
3 D- USB Data
4 ID USB OTG
5 GND Ground