6 customize, 7 external macros, 6 customize 3.5.7 external macros – Cirrus Logic CDB5378 User Manual
Page 54: Cdb5378
![background image](/manuals/466192/54/background.png)
CDB5378
54
DS639DB4
3.5.6
Customize
The Customize sub-panel sends commands to upload custom FIR and IIR filter coefficients, start the dig-
ital filter, stop the digital filter and write/read custom EEPROM configuration files to the on-board boot EE-
PROM. 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.
Start Filter
Enables the digital filter by sending the Start Filter command.
Stop Filter
Disables the digital filter by sending the Stop Filter command.
Write EEPROM
Writes an EEPROM boot configuration file to the EEPROM memory.
Verify EEPROM
Verifies EEPROM memory against an EEPROM boot configuration file.
Control
Description
M1 - M8
Runs the External Macro associated with that button.