Cartridge connector: Difference between revisions

From SNESdev Wiki
Jump to navigationJump to search
(Clarifications and reversed all arrows.)
(Renames CPU lines to be more explicit.)
Line 13: Line 13:
                   |      |
                   |      |
           GND -- |05  36| -- GND
           GND -- |05  36| -- GND
          A11 -> |06  37| <- A12
      CPU A11 -> |06  37| <- CPU A12
          A10 -> |07  38| <- A13
      CPU A10 -> |07  38| <- CPU A13
            A9 -> |08  39| <- A14
        CPU A9 -> |08  39| <- CPU A14
            A8 -> |09  40| <- A15
        CPU A8 -> |09  40| <- CPU A15
            A7 -> |10  41| <- A16
        CPU A7 -> |10  41| <- CPU A16
            A6 -> |11  42| <- A17
        CPU A6 -> |11  42| <- CPU A17
            A5 -> |12  43| <- A18
        CPU A5 -> |12  43| <- CPU A18
            A4 -> |13  44| <- A19
        CPU A4 -> |13  44| <- CPU A19
            A3 -> |14  45| <- A20
        CPU A3 -> |14  45| <- CPU A20
            A2 -> |15  46| <- A21
        CPU A2 -> |15  46| <- CPU A21
            A1 -> |16  47| <- A22
        CPU A1 -> |16  47| <- CPU A22
            A0 -> |17  48| <- A23
        CPU A0 -> |17  48| <- CPU A23
           /IRQ <- |18  49| <- /ROMSEL
           /IRQ <- |18  49| <- /ROMSEL
            D0 <> |19  50| <> D4
        CPU D0 <> |19  50| <> CPU D4
            D1 <> |20  51| <> D5
        CPU D1 <> |20  51| <> CPU D5
            D2 <> |21  52| <> D6
        CPU D2 <> |21  52| <> CPU D6
            D3 <> |22  53| <> D7
        CPU D3 <> |22  53| <> CPU D7
          /RD -> |23  54| <- /WR
      CPU /RD -> |23  54| <- CPU /WR
     CIC data 1 <> |24  55| <> CIC data 2
     CIC data 1 <> |24  55| <> CIC data 2
  key CIC reset -> |25  56| -> CIC CLK
  key CIC reset -> |25  56| -> CIC CLK
         /reset <> |26  57| <- PHI2
         /RESET <> |26  57| <- PHI2
           +5V -- |27  58| -- +5V
           +5V -- |27  58| -- +5V
                   |_______|
                   |_______|
Line 47: Line 47:
* '''SYSTEM CLK''': 21.47727 MHz system clock.
* '''SYSTEM CLK''': 21.47727 MHz system clock.
* '''PHI2''': This is the CPU clock output. When this signal is high, this means only that the CPU bus address is in a stable state. For both reads and writes, data is only guaranteed or required to be valid at the falling edge of this signal. /RD, /WR, /PRD, and /PWR are normally used instead of this.
* '''PHI2''': This is the CPU clock output. When this signal is high, this means only that the CPU bus address is in a stable state. For both reads and writes, data is only guaranteed or required to be valid at the falling edge of this signal. /RD, /WR, /PRD, and /PWR are normally used instead of this.
* '''A23..0, /RD, /RW''': The CPU address bus, also known as the '''A bus'''.
* '''CPU A23..0''': The CPU address bus, also known as the '''A bus'''.
* '''A23..16''': Also known as bank address or '''BA7..0'''.
** '''CPU A23..16''': Also known as bank address or '''BA7..0'''.
** '''CPU /RD, CPU /WR''': Read and write control lines for this bus.
* '''/ROMSEL''': Asserted when accessing ROM ($00-3F,80-BF:8000-FFFF, $40-7D,C0-FF:0000-FFFF). Also known as '''/CART'''.
* '''/ROMSEL''': Asserted when accessing ROM ($00-3F,80-BF:8000-FFFF, $40-7D,C0-FF:0000-FFFF). Also known as '''/CART'''.
* '''/WRAMSEL''': Asserted when accessing work RAM ($00-3F,80-BF:0000-1FFF, $7E-7F:0000-FFFF).
* '''/WRAMSEL''': Asserted when accessing work RAM ($00-3F,80-BF:0000-1FFF, $7E-7F:0000-FFFF).
* '''PA7..0''': The peripheral address bus, also known as the '''B bus'''.
* '''PA7..0''': The peripheral address bus, also known as the '''B bus'''.
** '''/PRD, /PWR''' Read and write control lines for this bus.
** '''/PRD, /PWR''': Read and write control lines for this bus.
* '''D7..0''': Data lines, shared between the CPU and peripheral buses.
* '''D7..0''': Data lines, shared between the CPU and peripheral buses.
* '''CIC CLK''': Either 4 MHz or 3.072 MHz, depending on the console.
* '''CIC CLK''': Either 4 MHz or 3.072 MHz, depending on the console.

Revision as of 01:11, 25 April 2022

Pinout

This diagram represents a view from the right side of the console, looking down into its connector. Pins 01-31 are closest to the front of the console and correspond to the front of the cartridge.

    SNES (front) | Cart  |  SNES (back)
                  _______
                 |       |
   SYSTEM CLK -> |01   32| <- /WRAMSEL
       EXPAND <> |02   33| <- REFRESH
          PA6 -> |03   34| <- PA7
         /PRD -> |04   35| <- /PWR
                 |_______|
                 |       |
          GND -- |05   36| -- GND
      CPU A11 -> |06   37| <- CPU A12
      CPU A10 -> |07   38| <- CPU A13
       CPU A9 -> |08   39| <- CPU A14
       CPU A8 -> |09   40| <- CPU A15
       CPU A7 -> |10   41| <- CPU A16
       CPU A6 -> |11   42| <- CPU A17
       CPU A5 -> |12   43| <- CPU A18
       CPU A4 -> |13   44| <- CPU A19
       CPU A3 -> |14   45| <- CPU A20
       CPU A2 -> |15   46| <- CPU A21
       CPU A1 -> |16   47| <- CPU A22
       CPU A0 -> |17   48| <- CPU A23
         /IRQ <- |18   49| <- /ROMSEL
       CPU D0 <> |19   50| <> CPU D4
       CPU D1 <> |20   51| <> CPU D5
       CPU D2 <> |21   52| <> CPU D6
       CPU D3 <> |22   53| <> CPU D7
      CPU /RD -> |23   54| <- CPU /WR
   CIC data 1 <> |24   55| <> CIC data 2
key CIC reset -> |25   56| -> CIC CLK
       /RESET <> |26   57| <- PHI2
          +5V -- |27   58| -- +5V
                 |_______|
                 |       |
          PA0 -> |28   59| <- PA1
          PA2 -> |29   60| <- PA3
          PA4 -> |30   61| <- PA5
left audio in <- |31   62| -> right audio in
                 |_______|

Signal descriptions

  • EXPAND: Connects to expansion port pin 24 and is pulled high.
  • SYSTEM CLK: 21.47727 MHz system clock.
  • PHI2: This is the CPU clock output. When this signal is high, this means only that the CPU bus address is in a stable state. For both reads and writes, data is only guaranteed or required to be valid at the falling edge of this signal. /RD, /WR, /PRD, and /PWR are normally used instead of this.
  • CPU A23..0: The CPU address bus, also known as the A bus.
    • CPU A23..16: Also known as bank address or BA7..0.
    • CPU /RD, CPU /WR: Read and write control lines for this bus.
  • /ROMSEL: Asserted when accessing ROM ($00-3F,80-BF:8000-FFFF, $40-7D,C0-FF:0000-FFFF). Also known as /CART.
  • /WRAMSEL: Asserted when accessing work RAM ($00-3F,80-BF:0000-1FFF, $7E-7F:0000-FFFF).
  • PA7..0: The peripheral address bus, also known as the B bus.
    • /PRD, /PWR: Read and write control lines for this bus.
  • D7..0: Data lines, shared between the CPU and peripheral buses.
  • CIC CLK: Either 4 MHz or 3.072 MHz, depending on the console.