Accessory port pinout: Difference between revisions
From WSdev Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 32: | Line 32: | ||
| 02 (MOSI) | | 02 (MOSI) | ||
| rowspan="2" | [[UART]] | | rowspan="2" | [[UART]] | ||
| WonderSwan -> | | WonderSwan -> Accessory | ||
|- | |- | ||
| 03 (MISO) | | 03 (MISO) | ||
Line 57: | Line 57: | ||
== HDMI connector mapping == | == HDMI connector mapping == | ||
Thanks to luck, it turns out that | Thanks to luck, it turns out that male HDMI connectors are - to some extent - electrically compatible with male EXT port connectors, allowing to use them as a replacement for a female EXT port connector: | ||
* Using an HDMI plug may cause increased wear on the connector. | * Using an HDMI plug may cause increased wear on the connector. |
Latest revision as of 09:30, 25 August 2023
The WonderSwan accessory (EXT) port provides an UART serial port and I2S digital audio output.
Pinout
(Female 8-pin port on peripheral)
MISO_ _MOSI \ / +3V_ \ / _GND ______\ __\ __ /__ /______ | 04__03__02__01 | | __|"" "" "" ""|__ | | |__ __| | '. |..__..__..__..| .' \____05__06__07__08____/ _/ / \ \_ BCLK / \ /HDPN _/ \_ LRCK SDAT
Pin | Group | Description |
---|---|---|
01 (GND) | Power | Ground |
02 (MOSI) | UART | WonderSwan -> Accessory |
03 (MISO) | Accessory -> WonderSwan | |
04 (+3V) | Power | 3.3 volt? |
05 (BCLK) | I2S | Bit clock |
06 (LRCK) | Channel clock | |
07 (SDAT) | Bit data | |
08 (/HDPN) | Headphone detect |
HDMI connector mapping
Thanks to luck, it turns out that male HDMI connectors are - to some extent - electrically compatible with male EXT port connectors, allowing to use them as a replacement for a female EXT port connector:
- Using an HDMI plug may cause increased wear on the connector.
- A typical HDMI cable port lacks the plastic sleeve around the connector, leading to a loose connection.
- One solution is to 3D-print a sleeve to improve connection.
- Another solution is to include some type of LED/indicator in order to validate proper connection.
Nonetheless, due to the lack of availability of new EXT port connectors, this is a popular solution for DIY users and lower-end aftermarket accessories. The HDMI pinout maps as follows:
EXT | HDMI |
---|---|
01 (GND) | 15 (SCL) |
02 (MOSI) | 11 (TMDS Clock Shield) |
03 (MISO) | 7 (TMDS Data 0 +) |
04 (+3V) | 3 (TMDS Data 2 -) |
05 (BCLK) | 4 (TMDS Data 1 +) |
06 (LRCK) | 8 (TMDS Data 0 Shield) |
07 (SDAT) | 12 (TMDS Clock -) |
08 (/HDPN) | 16 (SDA) |