Table 5. eeprom boot configuration commands, Shown in table 5, Cs5376a – Cirrus Logic CS5376A User Manual

Page 29: Sample command

Advertising
background image

CS5376A

DS612F4

29

Sample Command:

Write IIR1 coefficients 0x84BC9D, 0x7DA1B1,
0x825E4F, and IIR2 coefficients 0x83694F,
0x3CAD5F, 0x3E5104, 0x835DF8, 0x3E5104.

03

84 BC 9D 7D A1 B1 82 5E 4F 83 69 4F

3C AD 5F 3E 51 04 83 5D F8 3E 51 04

Write ROM Coefficients - 0x04

This EEPROM command selects the on-chip coef-
ficients for the FIR1, FIR2, IIR 1st order, and IIR
2nd order filters for use by the digital filter. One
data word is required to select which internal coef-
ficient sets to use. See “Filter Coefficient Selec-
tion” on page 41 for inform
ation about selecting
on-chip FIR and IIR coefficient sets.

Sample Command:

Select IIR1 and IIR2 3 Hz @ 500 SPS low-cut co-
efficients, with FIR1 and FIR2 linear phase high-
cut coefficients. Data word 0x002200.

04 00 22 00

Write TBS Data - 0x05

This EEPROM command writes a custom data set
for the test bit stream (TBS) generator. This com-
mand, along with the ability to program the test bit
stream generator interpolation and clock rate, can
create custom frequency test signals.

The first data word sets the number of TBS data to
be written and the remaining data words are the
TBS data values. See “Test Bit Stream Generator”
on page 64 for information
about using custom test
bit stream data sets.

Table 5. EEPROM Boot Configuration Commands

(DATA) indicates multiple words of this type are to be written.

Name

CMD

8-bit

DATA
24-bit

Description

NOP

00

-

No Operation

WRITE DF REGISTER

01

REG

DATA

Write Digital Filter Register

WRITE FIR COEFFICIENTS

02

NUM FIR1
NUM FIR2

(FIR COEF)

Write Custom FIR Coefficients

WRITE IIR COEFFICIENTS

03

a11

b10

b11

a21
a22
b20
b21
b22

Write Custom IIR Coefficients

WRITE ROM COEFFICIENTS

04

COEF SEL

Use On-Chip Coefficients

WRITE TBS DATA

05

NUM TBS

(TBS DATA)

Write Custom Test Bit Stream Data

WRITE ROM TBS

06

-

Use On-Chip TBS Data

FILTER START

07

-

Start Digital Filter Operation

Advertising