
V PeRiPheRaL MoDuLes 3 (inteRFaCe): i2s inteRFaCe (i2s)
V-4-40
ePson
s1C33L17 teChniCaL ManuaL
0x00301C30: i2s Ch.1 FiFo Register (pi2s_FiFo_Ch1)
Register name
address
Bit
name
Function
setting
init. R/W
Remarks
i2s Ch.1 FiFo
Register
(pi2s_FiFo_
Ch1)
0x00301C30
(32 bits)
D31–0 i2sFiFo1
[31:0]
I2S CH.1 FIFO (input data)
0 to 0xffffffff (32 bits)
0x0
R For 16-bit data (word
read) or 24-bit data
(word read)
0x00301C30
(16 bits)
D15–0 i2sFiFo1
[15:0]
0 to 0xffff (16 bits)
For 16-bit data (half-
word read)
0x00301C32
(16 bits)
D15–0 i2sFiFo1
[31:16]
note: This register must be accessed using:
A 16-bit read instruction (ld.h %rd, [%rb]) or a 32-bit read instruction (ld.w %rd, [%rb])
for reading 16-bit audio data.
A 32-bit read instruction (ld.w %rd, [%rb]) for reading 24-bit audio data.
D[31:0]
i2sFiFo1[31:0]: i2s Ch.1 FiFo (input Data)
Read receive data from the FIFO through this address.
Up to four stereo data (24 or 16 bits
× 2 channels (L & R) × 4) can be stored in the FIFO.
With 16-bit data, use a 16-bit memory read (ld.h %rd, [%rb]) instruction or a 32-bit read instruc-
tion (ld.w %rd, [%rb]) to read data.
With 16-bit memory read instructions, the first read instruction (with FIFO address 0x301C30) will
fetch data for the Left channel, while the second read instruction (with FIFO address 0x301C32) will
fetch data for the Right channel.
With 32-bit memory read instructions (with FIFO address 0x301C30), the upper 16-bits data corre-
spond to the Right channel, while the lower 16-bit data correspond to the Left channel.
Note that 8-bit memory read instructions cannot be used with 16-bit data.
With 24-bit data, use a 32-bit memory read (ld.w %rd, [%rb]) instruction to read data.
With 32-bit memory read instructions (with FIFO address 0x301C30), the first read instruction will
fetch data for the Left channel (lower 24-bits data), while the second read instruction will fetch data
for the Right channel (lower 24-bits data).
Note that 8-bit and 16-bit memory read instructions cannot be used with 24-bit data.
Both channel data should be read as a pair. L-channel data is read first, then R-channel data.