Difference between revisions of "I2S Registers"

From 3dbrew
Jump to navigation Jump to search
m
(unfuck this page)
Line 8: Line 8:
 
|-
 
|-
 
| style="background: green" | Yes
 
| style="background: green" | Yes
| [[#I2S_CNT|I2S_CNT]]?
+
| [[#I2S1_CNT|I2S1_CNT]]
 
| 0x10145000
 
| 0x10145000
 
| 2
 
| 2
| codec module, AgbBg, TwlBg
+
| Codec sysmodule, AgbBg, TwlBg
 
|-
 
|-
 
| style="background: green" | Yes
 
| style="background: green" | Yes
| [[#?|?]]
+
| [[#I2S2_CNT|I2S2_CNT]]
 
| 0x10145002
 
| 0x10145002
 
| 2
 
| 2
| codec module, AgbBg, TwlBg
+
| Codec sysmodule, AgbBg, TwlBg
 
|}
 
|}
  
  
==I2S_CNT==
+
==I2S1_CNT==
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
!  Bit
 
!  Bit
Line 41: Line 41:
 
| Enable (0=Disabled, 1=Enabled)
 
| Enable (0=Disabled, 1=Enabled)
 
|}
 
|}
 +
 +
This I2S line is used the DSP and microphone.
  
 
This is usually set to 0xC800 or 0xC820 when the DSP is active.
 
This is usually set to 0xC800 or 0xC820 when the DSP is active.
  
  
==?==
+
==I2S2_CNT==
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
!  Bit
 
!  Bit
Line 56: Line 58:
 
| Enable (0=Disabled, 1=Enabled)
 
| Enable (0=Disabled, 1=Enabled)
 
|}
 
|}
 +
 +
This I2S line is used by CSND.
  
 
Usually set to 0xE000.
 
Usually set to 0xE000.

Revision as of 23:43, 19 January 2021

Registers

Old3DS Name Address Width Used by
Yes I2S1_CNT 0x10145000 2 Codec sysmodule, AgbBg, TwlBg
Yes I2S2_CNT 0x10145002 2 Codec sysmodule, AgbBg, TwlBg


I2S1_CNT

Bit Description
0-5 DSP volume (doesn't affect csnd)
6-11 Another volume?
12 ?
13-14 ?
15 Enable (0=Disabled, 1=Enabled)

This I2S line is used the DSP and microphone.

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


I2S2_CNT

Bit Description
13-14 ?
15 Enable (0=Disabled, 1=Enabled)

This I2S line is used by CSND.

Usually set to 0xE000.