47.6.4 SPI Control Frame Register

Table 47-7. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: FRAMECTRL
Offset: 0x0C
Reset: 0x00
Property: PAC Write-Protection

Bit 3130292827262524 
 TDMWSZ[2:0]  TDMSSZ[2:0] 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 2322212019181716 
    FRMCNT[4:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 
Bit 15141312111098 
  FRMSLVFRMPOL    FRMCOINC 
Access R/WR/WR/W 
Reset 000 
Bit 76543210 
     FRMSYPW[3:0] 
Access R/WR/WR/WR/W 
Reset 0000 

Bits 31:29 – TDMWSZ[2:0] TTDM Number of Bits in a Word Size

Note: TDMWSZ can only be written when ON bit =’0’, and is only valid for TDM_EN = 1.
ValueDescription
111Reserved
110word size number of bits = 32
101word size number of bits = 28
100word size number of bits = 24
011word size number of bits = 20
010word size number of bits = 16
001word size number of bits = 12
000word size number of bits = 8

Bits 26:24 – TDMSSZ[2:0] TTDM Number of Bits in a Slot Size

Note: TDMSSZ can only be written when ON bit =’0’, and is only valid for TDM_EN = 1.
ValueDescription
111Reserved
110slot size number of bits = 32
101slot size number of bits = 28
100slot size number of bits = 24
011slot size number of bits = 20
010slot size number of bits = 16
001slot size number of bits = 12
000slot size number of bits = 8

Bits 20:16 – FRMCNT[4:0] Frame Sync Pulse Counter

Controls the number of Slots (Serial Words) transmitted per sync pulse.

Note:
  • FRMCNT is only valid when FRMEN = 1 (i.e., Framed SPI mode/TDM mode)
  • Can only be written when ON bit = ’0’
ValueDescription
10011-11111Reserved
10010Number of slots per frame sync pulse is 32
10001Number of slots per frame sync pulse is 30
10000Number of slots per frame sync pulse is 28
01111Number of slots per frame sync pulse is 26
01110Number of slots per frame sync pulse is 24
01101Number of slots per frame sync pulse is 22
01100Number of slots per frame sync pulse is 20
01011Number of slots per frame sync pulse is 18
01010Number of slots per frame sync pulse is 16
01001Number of slots per frame sync pulse is 14
01000Number of slots per frame sync pulse is 12
00111Number of slots per frame sync pulse is 10
00110Number of slots per frame sync pulse is 8
00101Number of slots per frame sync pulse is 6
00100Number of slots per frame sync pulse is 5
00011Number of slots per frame sync pulse is 4
00010Number of slots per frame sync pulse is 3
00001Number of slots per frame sync pulse is 2
00000Generate a frame sync pulse on each Serial Word.

Bit 14 – FRMSLV Frame Sync Pulse Direction Control bit

Note: Can only be written when ON bit = ’0’.
ValueDescription
0Frame sync pulse output (Host)
1Frame sync pulse input (Client)

Bit 13 – FRMPOL Frame Sync/Client Select Polarity bit

Note:
  • Can only be written when ON bit = ’0’
  • Valid when FRMEN = ‘1’ or SPI Host mode and CSEN = ‘1’
ValueDescription
0Frame pulse/Client Select is active low
1Frame pulse/Client Select is active high

Bit 8 – FRMCOINC Frame Sync Pulse Edge Select bit

Note: Can only be written when ON bit = ’0’.
ValueDescription
0Frame synchronization pulse (idle-to-active edge) precedes the first bit clock.
1Frame synchronization pulse (idle-to-active edge) coincides with the first bit clock.

Bits 3:0 – FRMSYPW[3:0] Frame Sync Pulse Width in Serial Words

(As defined by AUDWDMODE[1,0], or MODE[32,16] or TDMSSZ/TDMWSZ for TDM) -- (i.e., Framed SPI Mode, I2S, I8S, TDM,TPD).)

Not all settings are valid for all MODES, and must be set by the user correctly for different MODES like AUDIO, TDM, TPD SPI.

Not all settings are valid for all MODES and must be set by the user correctly for different MODES like AUDIO, TDM, TPD SPI.

Note:
  • Can only be written when ON bit =’0’.
  • The sync pulse is four Serial Word Length wide used for I8S.
  • In TDM mode the serial word length is defined by TDMSSZ/TDMWSZ and not (AUDWDMODE[1:0] or MODE[32,16])
ValueDescription
1011 - 1111Reserved
1010Frame sync pulse is thirty-two Serial Word (32 slot) Length wide
1001Frame sync pulse is sixteen Serial Word (16 slot) Length wide
1000Frame sync pulse is eight Serial Word (8 slot) Length wide
0111Frame sync pulse is seven Serial Word (7 slot) Length wide
0110Frame sync pulse is six Serial Word (6 slot) Length wide
0101Frame sync pulse is five Serial Word (5 slot) Length wide
0100Frame sync pulse is four Serial Word (4 slot) Length wide
0011Frame sync pulse is three Serial Word (3 slot) Length wide
0010Frame sync pulse is two Serial Word (2 slot) Length wide
0001Frame sync pulse is one Serial Word (1 slot) Length wide
0000Frame sync pulse is one clock (SCK) wide