Table 7. eeprom boot configuration commands, Shown in table 7, Cs5378 – Cirrus Logic CS5378 User Manual

Page 28: Sample command, Write rom coefficients - 0x04, Filter start - 0x07

Advertising
background image

CS5378

DS639F3

28

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 38 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

Filter Start - 0x07

This EEPROM command initializes and starts the
digital filter. Measurement data becomes available
one full sample period after this command is is-
sued. No data words are required for this EE-
PROM command.

Sample Command:

07

Table 7. 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

NOP

05

-

No Operation

NOP

06

-

No Operation

FILTER START

07

-

Start Digital Filter Operation

Advertising