Gamecard - Nintendo Switch Brew
Gamecard - Nintendo Switch Brew
Gamecard
is page documents the Nintendo Switch Gamecard.
Contents
Pinout
Slot Pinout
Protocol
Manufacturers
Pinout
VCC
8 Input
3.3v
VCC
11 Input
1.8v
16 GND
All IO use 1.8V for logic HIGH and 0V for logic LOW.
Slot Pinout
is just maps the cartridge pinout onto the slot on the console.
Pin Name
1 GND
2 CD#
3 CLK
4 RCLK
5 CS#
6 DAT1
7 DAT0
VCC
8
3.3v
9 DAT3
10 DAT2
VCC
11
1.8v
12 DAT5
13 DAT4
14 DAT6
15 DAT7
16 GND
Protocol
Switch game cartridges use a simple (but Nintendo proprietery) SPI-like bus with 8-bit width (DAT7..0). It is very
similar to the bus interface of 3DS game cartridges, except with very different commands.
e Switch host starts a transfer by first pulling CS low, followed by clocking a byte each clock cycle. e bus data
will always be ready before the rising edge of the CLK signal, so that it can be captured on the rising edge. Aer
command bytes are wrien to the bus, the direction of the bus implicitly changes and the game cartridge responds.
e Switch host keeps clocking while the game cartridge responds. Aer the transfer is ended, the CS line is pulled
high again.
Commands are 16 bytes long, and followed immediately by a 4-byte CRC-32 over the command bytes. Aer this,
the Switch stops driving the data bus, and the bus will be 'floating'. Due to the pull-ups on the bus, it will slowly
converge to logic HIGH state. e Switch will clock 2 cycles to allow the bus to sele a direction change. e
Switch host will then clock another cycle and if the game cartridge didn't receive the CRC OK, it will respond with
"01". Otherwise it will respond with "00" and pull DAT0 low on the next cycle to signal it is busy. e Switch host
will then keep clocking until the cartridge is ready.
When the game cartridge is ready to send the actual data response, it will pull the DAT0 pin high for 2 cycles to let
the Switch host know. Aer this, the game cartridge will send the actual data response bytes.
e actual response bytes are also followed immediately by a 4-byte CRC-32 over the actual data response bytes.
Manufacturers
MegaChips
Uses package: LGA, TSOP-48
Uses card id: 0xC2
Lapis
Uses package: LGA, TSOP-48
Uses card id: 0xAE
Renesas
Uses package: LGA, TSOP-48
Uses card id: 0x23
SanDisk?
Uses package: ??
Uses card id: 0x45 ?