4 02h (ovfl) overflow status register, 5 03h (ovfm) overflow mask register, Cs5364 – Cirrus Logic CS5364 User Manual

Page 33

Advertising
background image

DS625F5

33

CS5364

Bits[5:4] MDIV[1:0] Each bit selects an XTI divider. When either bit is low, an XTI divide-by-1 function is
selected. When either bit is HIGH, an XTI divide-by-2 function is selected. With both bits HIGH, XTI is divid-
ed by 4.

The table below shows the composite XTI division using both CLKMODE and MDIV[1:0].

Bits[3:2] DIF[1:0] Determine which data format the serial audio interface is using to clock-out data.

DIF[1:0]
0x00 Left-Justified format
0x01 I²S format
0x02 TDM
0x03 Reserved

Bits[1:0] MODE[1:0] This bit field determines the device sample rate range and whether it is operating as
an audio clocking Master or Slave.

MODE[1:0]
0x00 Single-Speed Mode Master
0x01 Double-Speed Mode Master
0x02 Quad-Speed Mode Master
0x03 Slave Mode all speeds

5.4

02h (OVFL) Overflow Status Register

Default: 0xFF, no overflows have occurred.

Note: This register interacts with Register 03h, the Overflow Mask Register.

The Overflow Status Register is used to indicate an individual overflow in a channel. If an overflow condition
on any channel is detected, the corresponding bit in this register is asserted (low) in addition to the open
drain active low OVFL pin going low. Each overflow status bit is sticky and is cleared only when read, pro-
viding full interrupt capability.

5.5

03h (OVFM) Overflow Mask Register

Default: 0xFF, all overflow interrupts enabled.

The Overflow Mask Register is used to allow or prevent individual channel overflow events from creating
activity on the OVFL pin. When a particular bit is set low in the Mask register, the corresponding overflow
bit in the Overflow Status register is prevented from causing any activity on the OVFL pin.

CLKMODE,MDIV[1],MDIV[0]

DESCRIPTION

000

Divide-by-1

100

Divide-by-1.5

001 or 010

Divide-by-2

101 or 110

Divide-by-3

011

Divide-by-4

111

Reserved

R/W

7

6

5

4

3

2

1

0

R

RESERVED RESERVED RESERVED RESERVED

OVFL4

OVFL3

OVFL2

OVFL1

R/W

7

6

5

4

3

2

1

0

R/W

RESERVED RESERVED RESERVED RESERVED

OVFM4

OVFM3

OVFM2

OVFM1

Advertising