# The DSi: a later row Source: GBATEK "DSi Reference" (Basic Differences to NDS, Memory Map, Control Registers (SCFG), new shared WRAM (MBK), NDMA, AES, SD/MMC, I2C, cameras, the XpertTeak DSP, the touchscreen/sound controller, cartridge header and modcrypt). DOC unless marked. Proposed as a **later model row of this board** (as the DS Lite is a row), not a new board, because a DSi in NDS mode is a DS with switches off, and its DSi mode extends the same machine. ## What changes | Area | DSi | Effect on the specification | | --- | --- | --- | | ARM9 clock | 67.03 or 134.06 MHz (SCFG_CLK bit 0), switched from ITCM | arm946es-python's `clock_ratio` 2 or 4, settable at run time | | Main RAM | 16 MB, mirrored at 0C000000h | map row | | New shared WRAM | 800 KB shared RAM in all (GBATEK "DSi Memory Map"): WRAM A, B and C mapped by the MBK registers to either CPU or the DSP | a new memory-control module | | New DMA (NDMA) | four more channels per CPU with fill and better modes | a new DMA module beside the DS one | | Revised behaviour | SCFG_EXT bits switch fixed versions on (the divide-by-zero flag fixed, larger VRAM access, etc.) | per-feature switches, off in NDS mode | | Security | AES engine, SHA1 and RSA in the BIOS, RSA-signed headers, modcrypt-encrypted ARM9i/ARM7i areas | functional models judged on the census's DSi titles; keys come from the player's BIOS/NAND | | Storage | eMMC NAND (system menu, DSiWare, saves), SD card (SD/MMC controller) | a NAND image from the player (census: No-Intro holds factory NAND dumps; never copied) | | BIOS | 64 KB each (ARM7 at 0, ARM9 at FFFF0000h), as the census's DSi images | map rows | | DSP | the "XpertTeak" digital signal processor (GBATEK "DSi XpertTeak (DSP)") | **a new CPU core** (`teak-python`, chip rule), only needed by DSi software that uses it | | Cameras | two cameras on I2C with a camera interface | a device behind a socket (static images) | | Touchscreen and sound | a TI codec replaces the TSC in DSi mode (NDS-compatibility mode available); sound adds an I2S path and 47.6 kHz | new device rows | | Interrupts | IE2/IF2 on the ARM7, new IF bits | table rows | | Wireless | a new Atheros module in DSi mode (the DS controller in NDS mode) | late, as for the DS | ## Why later The census holds 52 DSi-only cartridge images and 1,726 DSiWare titles against 7,626 DS images (census.md); DSi mode needs the DSi BIOS pair and a NAND from the player, the Teak core, AES and the new shared WRAM. Nothing in the DS board blocks it if the board keeps three things switchable from the start: the ARM9 clock ratio, the memory map's sizes, and the SCFG revision switches. ## Unknowns (U) - U1 The DSi ARM946E-S's configuration (cache and TCM sizes are believed identical; GBATEK gives CP15 values for the NDS9 only). - U2 How much of DSi mode is needed for DSi-enhanced (unit code 02h, 299 DS images) titles to run their DS mode only: none (they run as DS games on a DS). - U3 The Teak DSP's documentation depth (GBATEK credits wwylele's findings; a separate Phase 0 when the time comes).