Product Specs

Table Of Contents
44 I
2
S Inter-IC sound interface
Page
454
I
2
S signal
I
2
S pin
Direction
Output value Comment
SCK
As specified in PSEL.SCK
Output
0
SDIN
As specified in PSEL.SDIN
Input
Not applicable
SDOUT
As specified in PSEL.SDOUT
Output
0
Table 107: GPIO configuration before enabling peripheral (slave mode)
I
2
S signal
I
2
S pin
Direction
Output value
Comment
MCK
As specified in PSEL.MCK
Output
0
LRCK
As specified in PSEL.LRCK
Input
Not applicable
SCK
As specified in PSEL.SCK
Input
Not applicable
SDIN
As specified in PSEL.SDIN
Input
Not applicable
SDOUT
As specified in PSEL.SDOUT
Output
0
44.10 Registers
Table 108: Instances
Base address
Peripheral
Instance
Description
Configuration
0x40025000
I2S
I2S
Inter-IC Sound Interface
Table 109: Register Overview
Register
Offset
Description
TASKS_START
0x000
Starts continuous I2S transfer. Also starts MCK generator when this is enabled.
TASKS_STOP
0x004
Stops I2S transfer. Also stops MCK generator. Triggering this task will cause the {event:STOPPED}
event to be generated.
EVENTS_RXPTRUPD
0x104
The RXD.PTR register has been copied to internal double-buffers. When the I2S module is started
and RX is enabled, this event will be generated for every RXTXD.MAXCNT words that are received on
the SDIN pin.
EVENTS_STOPPED
0x108
I2S transfer stopped.
EVENTS_TXPTRUPD
0x114
The TDX.PTR register has been copied to internal double-buffers. When the I2S module is started
and TX is enabled, this event will be generated for every RXTXD.MAXCNT words that are sent on the
SDOUT pin.
INTEN
0x300
Enable or disable interrupt
INTENSET
0x304
Enable interrupt
INTENCLR
0x308
Disable interrupt
ENABLE
0x500
Enable I2S module.
CONFIG.MODE
0x504
I2S mode.
CONFIG.RXEN
0x508
Reception (RX) enable.
CONFIG.TXEN
0x50C
Transmission (TX) enable.
CONFIG.MCKEN
0x510
Master clock generator enable.
CONFIG.MCKFREQ
0x514
Master clock generator frequency.
CONFIG.RATIO
0x518
MCK / LRCK ratio.
CONFIG.SWIDTH
0x51C
Sample width.
CONFIG.ALIGN
0x520
Alignment of sample within a frame.
CONFIG.FORMAT
0x524
Frame format.
CONFIG.CHANNELS
0x528
Enable channels.
RXD.PTR
0x538
Receive buffer RAM start address.
TXD.PTR
0x540
Transmit buffer RAM start address.
RXTXD.MAXCNT
0x550
Size of RXD and TXD buffers.
PSEL.MCK
0x560
Pin select for MCK signal.
PSEL.SCK
0x564
Pin select for SCK signal.
PSEL.LRCK
0x568
Pin select for LRCK signal.
PSEL.SDIN
0x56C
Pin select for SDIN signal.
PSEL.SDOUT
0x570
Pin select for SDOUT signal.
44.10.1 INTEN
Address offset: 0x300
Enable or disable interrupt