I2S Registers

I2S Registers

Registers #

Old3DSNameAddressWidthUsed by
YesI2S1_CNT0x101450002Codec sysmodule, AgbBg, TwlBg
YesI2S2_CNT0x101450022Codec sysmodule, AgbBg, TwlBg

I2S1_CNT #

BitDescription
0-5DSP volume (doesn’t affect csnd).
6-11GBA hardware master volume. And DSi too?
12Unknown purpose. Maybe direction for microphone input?
13I2S frequency. 0=32.728498046875 kHz, 1=47.605088068181818181818 kHz.
14First MCLK output. 0=8.3784955 MHz, 1=16.756991 MHz.
15Enable (0=Disabled, 1=Enabled)

This I2S line is used the DSP, GBA hardware and microphone.

This is usually set to 0xC800 or 0xC820 when the DSP is active.

I2S2_CNT #

BitDescription
0-12Unused (0).
13I2S frequency. 0=32.728498046875 kHz, 1=47.605088068181818181818 kHz.
14Second MCLK output. Connected to the CODEC chip. 0=8.3784955 MHz, 1=16.756991 MHz.
15Enable (0=Disabled, 1=Enabled)

This I2S line is used by CSND.

Usually set to 0xE000.