4 macros, 5 gpio, 4 macros 3.5.5 gpio – Cirrus Logic CRD5376 User Manual

Page 47: Crd5376

Advertising
background image

CRD5376

DS612RD2

47

3.5.4

Macros

The Macros sub-panel is designed to write a large number of registers with a single command. This al-
lows the target evaluation system to be quickly set into a specific state for testing.

The Register control gives access to both digital filter registers and SPI1 registers. These registers can
be written with data from the Data control, or data can be read and output to a text window. The Register
control can also select special commands to be executed, with the Data control used to define a param-
eter value for the special command, if necessary.

3.5.5

GPIO

The GPIO sub-panel controls the digital filter GPIO pin configurations. GPIO pins have dedicated func-
tions on the target board, but can be used in any manner for custom designs.

Control

Description

Write / Read

Selects the type of operation to be performed by the inserted macro command.

Register

Selects the target register for the inserted macro command. Also selects special
commands that can be performed.

Data

Sets the register data value for the inserted macro command. Also sets the parame-
ter value for special commands.

Clear

Clears the currently displayed macro.

Load

Loads a previously saved macro.

Save

Saves the currently displayed macro. Macros can be saved with unique names or
can be saved as External Macros.

Insert

Inserts a macro command at the selected macro line. The macro command is built
from the Write/Read, Register, and Data controls.

Delete

Deletes the macro command at the selected macro line.

Macro1 - Macro4

Selects which of the four working macros is displayed.

Run

Runs the currently displayed working macro.

Control

Description

Direction

Sets the selected GPIO pin as an output (*) or input ( ).

Pull Up

Turns the pull up resistor for the selected GPIO pin on (*) or off ( ).

Data

Sets the selected output GPIO pin to a high (*) or low ( ) level.

Write

Initiates a write to GPIO registers.The Direction, Pull Up and Data controls are read
to determine the register values to be written.

Read

Initiates a read from GPIO registers.The Direction, Pull Up and Data controls are
updated based on the register values that are read.

Advertising