This section provides information on the I2S Module Instance within this product. Each of the registers within the Module Instance is described separately below.
I2S Audio **DMA** module supporting formats **I2S**, **LJF**, **RJF** and **DSP** INTERNAL_NOTE: [Functional Specification](https://spsemea.itg.ti.com/sites/lpw/proj/CC26xx/Modules/I2S/I2S_Func_Spec.docx)
|
Register Name |
Type |
Register Width (Bits) |
Register Reset |
Address Offset |
|
RW |
32 |
0x0000 0000 |
0x0000 0000 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0004 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0008 |
|
|
RW |
32 |
0x0000 0170 |
0x0000 000C |
|
|
RW |
32 |
0x0000 0003 |
0x0000 0010 |
|
|
RW |
32 |
0x0000 0003 |
0x0000 0014 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0020 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0024 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0028 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 002C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0034 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0038 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 003C |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0040 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0044 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0048 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 004C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0050 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0054 |
|
|
RW |
32 |
0x0000 FFFF |
0x0000 0058 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 005C |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0060 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0070 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0074 |
|
|
WO |
32 |
0x0000 0000 |
0x0000 0078 |
|
|
WO |
32 |
0x0000 0000 |
0x0000 007C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0080 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0084 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0088 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 008C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 1000 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 1004 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 1008 |
|
Address offset |
0x0000 0000 |
||
|
Description |
WCLK Source Selection |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:3 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
2 |
WCLKINV |
Inverts **WCLK** source (pad or internal) when set. |
RW |
0 |
||
|
1:0 |
WBCLKSRC |
Selects **WCLK**/**BCLK** source for **AIF**. |
RW |
0x0 |
||
|
|
|
0x0 |
NONE |
|
||
|
|
|
0x1 |
EXT |
|
||
|
|
|
0x2 |
INT |
|
||
|
|
|
0x3 |
RESERVED |
|
||
|
Address offset |
0x0000 0004 |
||
|
Description |
DMA Buffer Size Configuration |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:8 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 0000 |
||
|
7:0 |
ENDFRAMIDX |
Defines the length of the DMA buffer. Writing a non-zero value to this register field enables and initializes AIF. Note that before doing so, all other configuration must have been done, and [AIFINPTNXT.*]/[AIFOPTNXT.*] must have been loaded. |
RW |
0x00 |
||
|
Address offset |
0x0000 0008 |
||
|
Description |
Pin Direction |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:8 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 0000 |
||
|
|
|
Read 0x00 0000 |
DIS |
|
||
|
|
|
Read 0x00 0001 |
IN |
|
||
|
|
|
Read 0x00 0002 |
OUT |
|
||
|
7:6 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
5:4 |
AD1 |
Configures the **AD1** audio data pin usage: |
RW |
0x0 |
||
|
|
|
0x0 |
DIS |
|
||
|
|
|
0x1 |
IN |
|
||
|
|
|
0x2 |
OUT |
|
||
|
3:2 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
1:0 |
AD0 |
Configures the **AD0** audio data pin usage: |
RW |
0x0 |
||
|
|
|
0x0 |
DIS |
|
||
|
|
|
0x1 |
IN |
|
||
|
|
|
0x2 |
OUT |
|
||
|
Address offset |
0x0000 000C |
||
|
Description |
Serial Interface Format Configuration |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:8 |
DATADELAY |
The number of **BCLK** periods between a **WCLK** edge and **MSB** of the first word in a phase: |
RW |
0x01 |
||
|
7 |
LEN32 |
The size of each word stored to or loaded from memory: |
RW |
0 |
||
|
|
|
0 |
_16BIT |
|
||
|
|
|
1 |
_32BIT |
|
||
|
6 |
SMPLEDGE |
On the serial audio interface, data (and wclk) is sampled and clocked out on opposite edges of BCLK. |
RW |
1 |
||
|
|
|
0 |
NEG |
|
||
|
|
|
1 |
POS |
|
||
|
5 |
DUALPHASE |
Selects dual- or single-phase format. |
RW |
1 |
||
|
4:0 |
WORDLEN |
Number of bits per word (8-24): |
RW |
0x10 |
||
|
Address offset |
0x0000 0010 |
||
|
Description |
Word Selection Bit Mask for Pin 0 |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:8 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RW |
0x00 0000 |
||
|
7:0 |
MASK |
Bit-mask indicating valid channels in a frame on AD0. |
RW |
0x03 |
||
|
Address offset |
0x0000 0014 |
||
|
Description |
Word Selection Bit Mask for Pin 1 |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:8 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 0000 |
||
|
7:0 |
MASK |
Bit-mask indicating valid channels in a frame on AD1. |
RW |
0x03 |
||
|
Address offset |
0x0000 0020 |
||
|
Description |
DMA Input Buffer Next Pointer |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
PTR |
Pointer to the first byte in the next **DMA** input buffer. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 0024 |
||
|
Description |
DMA Input Buffer Current Pointer |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
PTR |
Value of the **DMA** input buffer pointer currently used by the **DMA** controller. Incremented by 1 (byte) or 2 (word) for each **AHB** access. |
RO |
0x0000 0000 |
||
|
Address offset |
0x0000 0028 |
||
|
Description |
DMA Output Buffer Next Pointer |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
PTR |
Pointer to the first byte in the next **DMA** output buffer. |
RW |
0x0000 0000 |
||
|
Address offset |
0x0000 002C |
||
|
Description |
DMA Output Buffer Current Pointer |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
PTR |
Value of the **DMA** output buffer pointer currently used by the **DMA** controller Incremented by 1 (byte) or 2 (word) for each **AHB** access. |
RO |
0x0000 0000 |
||
|
Address offset |
0x0000 0034 |
||
|
Description |
Samplestamp Generator Control Register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:3 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
2 |
OUTRDY |
Low until the output pins are ready to be started by the samplestamp generator. When started (that is [STMPOTRIG.*] equals the **WCLK** counter) the bit goes back low. |
RO |
0 |
||
|
1 |
INRDY |
Low until the input pins are ready to be started by the samplestamp generator. When started (that is [STMPINTRIG.*] equals the **WCLK** counter) the bit goes back low. |
RO |
0 |
||
|
0 |
STMPEN |
Enables the samplestamp generator. The samplestamp generator must only be enabled after it has been properly configured. |
RW |
0 |
||
|
Address offset |
0x0000 0038 |
||
|
Description |
Captured **XOSC** Counter Value, Capture Channel 0 |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
CAPTVAL |
The value of the samplestamp **XOSC** counter ([STMPXCNT.CURRVAL]) last time an event was pulsed (event source selected in [EVENT.I2SSTMPSEL0.EV] for channel 0). This number corresponds to the number of 24 MHz clock cycles since the last positive edge of the selected **WCLK**. |
RO |
0x0000 |
||
|
Address offset |
0x0000 003C |
||
|
Description |
XOSC Period Value |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
VALUE |
The number of 24 MHz clock cycles in the previous **WCLK** period (that is - the next value of the **XOSC** counter at the positive **WCLK** edge, had it not been reset to 0). |
RO |
0x0000 |
||
|
Address offset |
0x0000 0040 |
||
|
Description |
Captured **WCLK** Counter Value, Capture Channel 0 |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
CAPTVAL |
The value of the samplestamp **WCLK** counter ([STMPWCNT.CURRVAL]) last time an event was pulsed (event source selected in [EVENT:I2SSTMPSEL0.EV] for channel 0). This number corresponds to the number of positive **WCLK** edges since the samplestamp generator was enabled (not taking modification through [STMPWADD.*]/[STMPWSET.*] into account). |
RO |
0x0000 |
||
|
Address offset |
0x0000 0044 |
||
|
Description |
**WCLK** Counter Period Value |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
VALUE |
Used to define when [STMPWCNT.*] is to be reset so number of **WCLK** edges are found for the size of the sample buffer. This is thus a modulo value for the **WCLK** counter. This number must correspond to the size of the sample buffer used by the system (that is the index of the last sample plus 1). |
RW |
0x0000 |
||
|
Address offset |
0x0000 0048 |
||
|
Description |
WCLK Counter Trigger Value for Input Pins |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
INSTRTWCNT |
Compare value used to start the incoming audio streams. |
RW |
0x0000 |
||
|
Address offset |
0x0000 004C |
||
|
Description |
WCLK Counter Trigger Value for Output Pins |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
OSTRTWCNT |
OUT START WCNT: |
RW |
0x0000 |
||
|
Address offset |
0x0000 0050 |
||
|
Description |
WCLK Counter Set Operation |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
VALUE |
**WCLK** counter modification: Sets the running **WCLK** counter equal to the written value. |
WO |
0x0000 |
||
|
Address offset |
0x0000 0054 |
||
|
Description |
WCLK Counter Add Operation |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
VALINC |
**WCLK** counter modification: Adds the written value to the running **WCLK** counter. If a positive edge of **WCLK** occurs at the same time as the operation, this will be taken into account. |
WO |
0x0000 |
||
|
Address offset |
0x0000 0058 |
||
|
Description |
XOSC Minimum Period Value |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
VALUE |
Each time [STMPXPER.*] is updated, the value is also loaded into this register, provided that the value is smaller than the current value in this register. |
RW |
0xFFFF |
||
|
Address offset |
0x0000 005C |
||
|
Description |
Current Value of WCNT |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
CURRVAL |
Current value of the **WCLK** counter |
RO |
0x0000 |
||
|
Address offset |
0x0000 0060 |
||
|
Description |
Current Value of XCNT |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
CURRVAL |
Current value of the **XOSC** counter, latched when reading [STMPWCNT.*]. |
RO |
0x0000 |
||
|
Address offset |
0x0000 0070 |
||
|
Description |
Interrupt Mask Register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:7 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 0000 |
||
|
6 |
XCNTCPT |
[IRQFLAGS.XCNTCPT] interrupt mask |
RW |
0 |
||
|
5 |
AIFDMAIN |
[IRQFLAGS.AIFDMAIN] interrupt mask |
RW |
0 |
||
|
4 |
AIFDMAOUT |
[IRQFLAGS.AIFDMAOUT] interrupt mask |
RW |
0 |
||
|
3 |
WCLKTOUT |
[IRQFLAGS.WCLKTOUT] interrupt mask |
RW |
0 |
||
|
2 |
BUSERR |
[IRQFLAGS.BUSERR] interrupt mask |
RW |
0 |
||
|
1 |
WCLKERR |
[IRQFLAGS.WCLKERR] interrupt mask |
RW |
0 |
||
|
0 |
PTRERR |
[IRQFLAGS.PTRERR] interrupt mask. |
RW |
0 |
||
|
Address offset |
0x0000 0074 |
||
|
Description |
Raw Interrupt Status Register |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:7 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 0000 |
||
|
6 |
XCNTCPT |
Will be set when xcnt counter is captured either by events or software. |
RO |
0 |
||
|
5 |
AIFDMAIN |
Set when condition for this bit field event occurs (auto cleared when input pointer is updated - [AIFINPTNXT.*]), see description of [AIFINPTNXT.*] register for details. |
RO |
0 |
||
|
4 |
AIFDMAOUT |
Set when condition for this bit field event occurs (auto cleared when output pointer is updated - [AIFOPTNXT.*]), see description of [AIFOPTNXT.*] register for details |
RO |
0 |
||
|
3 |
WCLKTOUT |
Set when the sample stamp generator does not detect a positive **WCLK** edge for 65535 clk periods. This signalizes that the internal or external **BCLK** and **WCLK** generator source has been disabled. |
RO |
0 |
||
|
2 |
BUSERR |
Set when a **DMA** operation is not completed in time (that is audio output buffer underflow, or audio input buffer overflow). |
RO |
0 |
||
|
1 |
WCLKERR |
Set when: |
RO |
0 |
||
|
0 |
PTRERR |
Set when [AIFINPTNXT.*] or [AIFOPTNXT.*] has not been loaded with the next block address in time. |
RO |
0 |
||
|
Address offset |
0x0000 0078 |
||
|
Description |
Interrupt Set Register |
||
|
Type |
WO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:7 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
WO |
0x000 0000 |
||
|
6 |
XCNTCPT |
1: Sets the interrupt of [IRQFLAGS.XCNTCPT] (unless a auto clear criteria was given at the same time, in which the set will be ignored) |
WO |
0 |
||
|
5 |
AIFDMAIN |
1: Sets the interrupt of [IRQFLAGS.AIFDMAIN] (unless a auto clear criteria was given at the same time, in which the set will be ignored) |
WO |
0 |
||
|
4 |
AIFDMAOUT |
1: Sets the interrupt of [IRQFLAGS.AIFDMAOUT] (unless a auto clear criteria was given at the same time, in which the set will be ignored) |
WO |
0 |
||
|
3 |
WCLKTOUT |
1: Sets the interrupt of [IRQFLAGS.WCLKTOUT] |
WO |
0 |
||
|
2 |
BUSERR |
1: Sets the interrupt of [IRQFLAGS.BUSERR] |
WO |
0 |
||
|
1 |
WCLKERR |
1: Sets the interrupt of [IRQFLAGS.WCLKERR] |
WO |
0 |
||
|
0 |
PTRERR |
1: Sets the interrupt of [IRQFLAGS.PTRERR] |
WO |
0 |
||
|
Address offset |
0x0000 007C |
||
|
Description |
Interrupt Clear Register |
||
|
Type |
WO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:7 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
WO |
0x000 0000 |
||
|
6 |
XCNTCPT |
1: Clears the interrupt of [IRQFLAGS.XCNTCPT] (unless a set criteria was given at the same time in which the clear will be ignored) |
WO |
0 |
||
|
5 |
AIFDMAIN |
1: Clears the interrupt of [IRQFLAGS.AIFDMAIN] (unless a set criteria was given at the same time in which the clear will be ignored) |
WO |
0 |
||
|
4 |
AIFDMAOUT |
1: Clears the interrupt of [IRQFLAGS.AIFDMAOUT] (unless a set criteria was given at the same time in which the clear will be ignored) |
WO |
0 |
||
|
3 |
WCLKTOUT |
1: Clears the interrupt of [IRQFLAGS.WCLKTOUT] (unless a set criteria was given at the same time in which the clear will be ignored) |
WO |
0 |
||
|
2 |
BUSERR |
1: Clears the interrupt of [IRQFLAGS.BUSERR] (unless a set criteria was given at the same time in which the clear will be ignored) |
WO |
0 |
||
|
1 |
WCLKERR |
1: Clears the interrupt of [IRQFLAGS.WCLKERR] (unless a set criteria was given at the same time in which the clear will be ignored) |
WO |
0 |
||
|
0 |
PTRERR |
1: Clears the interrupt of [IRQFLAGS.PTRERR] (unless a set criteria was given at the same time in which the clear will be ignored) |
WO |
0 |
||
|
Address offset |
0x0000 0080 |
||
|
Description |
**MCLK** Division Ratio |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:10 |
RESERVED10 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 0000 |
||
|
9:0 |
MDIV |
An unsigned factor of the division ratio used to generate **MCLK** [2-1024]: |
RW |
0x000 |
||
|
Address offset |
0x0000 0084 |
||
|
Description |
**BCLK** Division Ratio |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:10 |
RESERVED10 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 0000 |
||
|
9:0 |
BDIV |
An unsigned factor of the division ratio used to generate **BCLK** [2-1024]: |
RW |
0x000 |
||
|
Address offset |
0x0000 0088 |
||
|
Description |
**WCLK** Division Ratio |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
RESERVED16 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
WDIV |
If [AIFCLKCTL.WCLKPHASE.*] = 0, Single phase. **WCLK** is high one **BCLK** period and low WDIV[9:0] (unsigned, [1-1023]) **BCLK** periods. |
RW |
0x0000 |
||
|
Address offset |
0x0000 008C |
||
|
Description |
Internal Audio Clock Control |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:4 |
RESERVED4 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 0000 |
||
|
3 |
MEN |
0: **MCLK** geneartion disabled, 1: **MCLK** generation enabled |
RW |
0 |
||
|
2:1 |
WCLKPHASE |
Decides how the WCLK division ratio is calculated and used to generate different duty cycles (See [AIFWCLKDIV.WDIV.*]). |
RW |
0x0 |
||
|
0 |
WBEN |
0: WCLK/BCLK geneartion disabled, 1: WCLK/BCLK generation enabled |
RW |
0 |
||
|
Address offset |
0x0000 1000 |
||
|
Description |
Audio clock source selection and **I2S** enable register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:8 |
RESERVED8 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 0000 |
||
|
7 |
ADFSEN |
ADFS enable field |
RW |
0 |
||
|
6:4 |
CLKSEL |
Audio clock selection |
RW |
0x0 |
||
|
|
|
0x0 |
SEL_0 |
|
||
|
|
|
0x1 |
SEL_1 |
|
||
|
|
|
0x2 |
SEL_2 |
|
||
|
|
|
0x3 |
SEL_3 |
|
||
|
3:1 |
RESERVED1 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
0 |
EN |
0: **I2S** clock disabled |
RW |
0 |
||
|
Address offset |
0x0000 1004 |
||
|
Description |
ADFS TREF control register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:21 |
RESERVED21 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 |
||
|
20:0 |
TREF |
TREF value for ADFS |
RW |
0x00 0000 |
||
|
Address offset |
0x0000 1008 |
||
|
Description |
ADFS general configuration register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:30 |
RESERVED30 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
29:20 |
DIV |
ADFS div value field |
RW |
0x000 |
||
|
19:18 |
RESERVED18 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
17 |
DELTASIGN |
ADFS delta sign field |
RW |
0 |
||
|
16:0 |
DELTA |
ADFS delta value field |
RW |
0x0 0000 |
||