
–
an example response to this command, where the first two lines are sent immediately while
the third line is sent sometime within 20 seconds after the command was received. The number on the
third line represents the new B
OP
setting in units of μT.
Figure 5-12. Example DAC Sweep Command Response
• Set B
OP
command format:
wreg 2 VAL
– This command allows you to enter a desired B
OP
. This is the same command executed by the GUI
whenever you click the
CHANGE VALUE
button while the "Modification Method" drop-down box is set to
the "Manual B" option.
– VAL is the desired B
OP
in units of μT.
– VAL is in hex, and wreg is always lower case
– VAL can be in upper or lower case and does not need to be led by "0x". 0 padding VAL is also optional.
For example, to write a BOP of 8000 μT, some valid commands include:
• wreg 2 1F40
• wreg 2 0x1F40
– When "0x" is used, the "x" must be lower case.
–
is an example response to this command
Figure 5-13. Example Set B
OP
Command Response
• Set DAC Output Voltage command format:
wreg 1 VAL
– This command allows you to enter a desired output voltage to set the DAC to. This is the same command
executed by the GUI whenever you click the
CHANGE VALUE
button while the "Modification Method"
drop-down box is set to the "Manual V" option.
– VAL is the desired DAC output voltage in units of mV.
– VAL is in hex, and wreg is always lower case
– VAL can be in uppercase or lowercase and does not need to be led by "0x". 0 padding VAL is also
optional. For example, to set a DAC output voltage of 397 mV, some valid commands include:
• wreg 1 190
• wreg 1 0x190
– When "0x" is used, the "x" must be lower case.
–
is an example response to this command
Figure 5-14. Example Set DAC Output Voltage Command Response
• Set Equivalent Resistance command format:
wreg 3 VAL
EVM Operation
18
TMAG5328 Evaluation Module
Copyright © 2021 Texas Instruments Incorporated