The Switch will clock 2 cycles to allow the bus to settle a direction change. Due to the pull-ups on the bus, it will slowly converge to logic HIGH state. After this, the Switch stops driving the data bus, and the bus will be 'floating'. The Switch host keeps clocking while the game cartridge responds.Īfter the transfer is ended, the CS line is pulled high again.Ĭommands are 16 bytes long, and followed immediately by a 4-byte CRC-32 over the command bytes. The bus data will always be ready before the rising edge of the CLK signal, so that it can be captured on the rising edge.Īfter command bytes are written to the bus, the direction of the bus implicitly changes and the game cartridge responds. The Switch host starts a transfer by first pulling CS low, followed by clocking a byte each clock cycle. It is very similar to the bus interface of 3DS game cartridges, except with very different commands. Switch game cartridges use a simple (but Nintendo proprietery) SPI-like bus with 8-bit width (DAT7.0). This just maps the cartridge pinout onto the slot on the console.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |