Arm® Corstone™ SSE
-300 with Cortex®-
M55 and Ethos™
-U55 :
Example Subsystem for MPS3 - Application Note AN547
DAI 0547C
Issue C
4 Programmers Model
Copyright
©
2020, 2021 Arm Limited (or its affiliates). All rights reserved.
Non-Confidential
Page 32 of 64
4.14
Audio I
2
S
The I
2
S interface supports transfer of digital audio to and from the Audio CODEC.
The following table shows the register memory map for I
2
S Audio registers in address offset order from the base
memory address. The I2S non-secure base address is 0x49301000, the secure base address is 0x59301000.
Offset
Name
Description
0x000
CONTROL Control Register
Bits [31:18]
Reserved
Bit [17]
Audio codec reset control (output pin)
Bit [16]
FIFO reset
Bit [15]
Reserved
Bits [14:12]
Rx Buffer IRQ Water Level - Default 2 (IRQ triggers when less than
two-word space is available)
Bit [11]
Reserved
Bits [10:8]
TX Buffer IRQ Water Level - Default 2 (IRQ triggers when more than
two-word space is available)
Bits [7:4]
Reserved
Bit [3]
Rx Interrupt Enable
Bit [2]
Rx Enable
Bit [1]
Tx Interrupt Enable
Bit [0]
Tx Enable
0x004
STATUS
Status Register
Bits [31:6]
Reserved
Bit [5]
Rx Buffer Full
Bit [4]
Rx Buffer Empty
Bit [3]
Tx Buffer Full
Bit [2]
Tx Buffer Empty
Bit [1]
Rx Buffer Alert (Depends on Water level)
Bit [0]
Tx Buffer Alert (Depends on Water level)
0x008
ERROR
Error Status Register
Bits [31:2]
Reserved
Bit [1]
Rx overrun. Set this bit to clear.
Bit [0]
Tx overrun or underrun. Set this bit to clear.
0x00C DIVIDE
Clock Divide Ratio Register (for left or right clock)
Bits [31:10]
Reserved
Bits [9:0]
LRDIV (Left/Right). The default value is 0x80. 12.288MHz / 48kHz /
2*(L+R) = 128.
0x010
TXBUF
Transmit Buffer FIFO Data Register. This is a write-only register.
Bits [31:16]
Left channel
Bits [15:0]
Right channel
0x014
RXBUF
Receive Buffer FIFO Data Register. This is a read-only register.
Bits [31:16]
Left channel
Bits [15:0]
Right channel
0x018- RESERVED -