Accessory port pinout: Difference between revisions

From WSdev Wiki
Jump to navigationJump to search
(Created page with "The WonderSwan accessory (EXT) port provides an UART serial port and I<sup>2</sup>S digital audio output. == Pinout == (Female 8-pin port on peripheral) <pre> MISO_ _MOSI \ / +3V_ \ / _GND ______\ __\ __ /__ /______ | 04__03__02__01 | | __|"" "" "" ""|__ | | |__ __| | '. |..__..__..__..| .' \____05__06__07__08____/ _/ / \ \_ BCLK /...")
 
No edit summary
Line 69: Line 69:
|-
|-
! EXT !! HDMI
! EXT !! HDMI
|-
| 01 (GND)
| 01 (GND)
| 15 (SCL)
| 15 (SCL)

Revision as of 09:29, 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 female HDMI connectors are - to some extent - electrically compatible with male EXT port connectors:

  • 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)