beautypg.com

6 customize, 7 external macros, 6 customize 3.5.7 external macros – Cirrus Logic CRD5378 User Manual

Page 47: Crd5378

background image

CRD5378

DS639RD2

47

3.5.6

Customize

The Customize sub-panel sends commands to upload custom FIR and IIR filter coefficients, upload cus-
tom test bit stream data, start the digital filter, stop the digital filter, and write/read custom EEPROM con-
figuration files to the on-board boot EEPROM. Example data files are included in a sub-directory of the
software installation.

3.5.7

External Macros

Macros are generated within the Macros sub-panel on the Control panel. Once a macro has been built
it can either be saved with a unique macro name to be run within the Macros sub-panel, or saved as an
external macro and be associated with one of the External Macro buttons.

A macro is saved as an External Macro by saving it in the . /macros/ subdirectory using the name
‘m1.mac’, ‘m2.mac’, etc. Depending on the selected name the macro will be associated with the corre-
sponding External Macro button M1, M2, etc.

• M1 = . /macros/m1.mac

• M2 = . /macros/m2.mac

• etc.

External Macro buttons can be re-named on the panel by right clicking on them. The button name will
change, but the macro associated with that button is always saved as ‘m1.mac’, ‘m2.mac’, etc., in the
. /macros/ subdirectory. The External Macro button names are stored in the file ‘Mnames.txt’, also in the
. /macros/ subdirectory.

External Macros allow up to eight macros to be accessed quickly without having to load them into the Mac-
ros
sub-panel on the Control panel. These External Macros operate independently of the Macros sub-
panel and are not affected by operations within it, except when a macro is saved to the . /macros/ subdi-
rectory to replace a currently existing External Macro.

Control

Description

Load FIR Coef

Write a set of FIR coefficients into the digital filter from a file.

Load IIR Coef

Write a set of IIR coefficients into the digital filter from a file.

Load TBS Data

Write a set of test bit stream data into the digital filter from a file.

Start Filter

Enables the digital filter by sending the Start Filter command.

Stop Filter

Disables the digital filter by sending the Stop Filter command.

Control

Description

M1 - M8

Runs the External Macro associated with that button.