beautypg.com

1 master volume control, 18 beep frequency & on time (address 15h), 1 beep frequency – Cirrus Logic CS42L56 User Manual

Page 69: P 70, Cs42l56

background image

DS851F2

69

CS42L56

6.17 Master Volume Control:

MSTA (Address 13h) & MSTB (Address 14h)

6.17.1 Master Volume Control

Sets the volume of the signal out the DSP.

6.18 Beep Frequency & On Time (Address 15h)

6.18.1 Beep Frequency

Sets the frequency of the beep signal.

Notes:
1. This setting must not change when BEEP is enabled.
2. Beep frequency will scale directly with sample rate, Fs.

7

6

5

4

3

2

1

0

MSTxVOL7

MSTxVOL6

MSTxVOL5

MSTxVOL4

MSTxVOL3

MSTxVOL2

MSTxVOL1

MSTxVOL0

MSTxVOL[7:0]

Master Volume

0001 1000

+12.0 dB

···

···

0000 0000

0 dB

1111 1111

-0.5 dB

1111 1110

-1.0 dB

···

···

0011 0100

-102 dB

0011 0011

Mute

···

···

0001 1001

Mute

Step Size:

0.5 dB

7

6

5

4

3

2

1

0

FREQ3

FREQ2

FREQ1

FREQ0

ONTIME3

ONTIME2

ONTIME1

ONTIME0

FREQ[3:0]

Frequency (Fs = 12, 24, 48 or 96 kHz)

Pitch

0000

260.87 Hz

C4

0001

521.74 Hz

C5

0010

585.37 Hz

D5

0011

666.67 Hz

E5

0100

705.88 Hz

F5

0101

774.19 Hz

G5

0110

888.89 Hz

A5

0111

1000.00 Hz

B5

1000

1043.48 Hz

C6

1001

1200.00 Hz

D6

1010

1333.33 Hz

E6

1011

1411.76 Hz

F6

1100

1600.00 Hz

G6

1101

1714.29 Hz

A6

1110

2000.00 Hz

B6

1111

2181.82 Hz

C7

Application:

“Beep Generator” on page 45