
V PeRiPheRaL MoDuLes 3 (inteRFaCe): i2s inteRFaCe (i2s)
s1C33L17 teChniCaL ManuaL
ePson
V-4-39
V
I2S
0x00301C20: i2s Ch.0 FiFo Register (pi2s_FiFo_Ch0)
Register name
address
Bit
name
Function
setting
init. R/W
Remarks
i2s Ch.0 FiFo
Register
(pi2s_FiFo_
Ch0)
0x00301C20
(32 bits)
D31–0 i2sFiFo0
[31:0]
I2S CH.0 FIFO (output data)
0 to 0xffffffff (32 bits)
0x0
W For 16-bit data (word
write) or 24-bit data
(word write)
0 when being read.
0x00301C20
(16 bits)
D15–0 i2sFiFo0
[15:0]
0 to 0xffff (16 bits)
For 16-bit data (half-
word write)
0 when being read.
0x00301C22
(16 bits)
D15–0 i2sFiFo0
[31:16]
note: This register must be accessed using:
A 16-bit write instruction (ld.h [%rb],%rs) or a 32-bit write instruction (ld.w [%rb], %rs)
for writing 16-bit audio data.
A 32-bit write instruction (ld.w [%rb],%rs) for writing 24-bit audio data.
D[31:0]
i2sFiFo0[31:0]: i2s Ch.0 FiFo (output Data)
With 16-bit data, use a 16-bit memory write (ld.h [%rb],%rs) instruction or a 32-bit write instruc-
tion (ld.w [%rb], %rs) to write data.
With 16-bit memory write instructions, the first write instruction (with FIFO address 0x301C20) will
fill the data for the Left channel, while the second write instruction (with FIFO address 0x301C22)
will fill the data for the Right channel.
With 32-bit memory write instructions (with FIFO address 0x301C20), the upper 16-bit data will fill
the data for the Right channel, while the lower 16-bit data will fill the data for the Left channel.
Note that 8-bit memory write instructions cannot be used with 16-bit data.
With 24-bit data, use a 32-bit memory write (ld.w [%rb],%rs) instruction to write data.
With 32-bit memory write instructions (with FIFO address 0x301C20), the first write instruction will
fill the data for the Left channel (upper 8-bit data will be omitted), while the second write instruction
will fill the data for the Right channel (upper 8-bit data will be omitted).
Note that 8-bit and 16-bit memory write instructions cannot be used with 24-bit data.
First write L-channel data, then R channel data. Both channel data must be written as a pair even if
“mono” is selected as the output channel mode.