Figure 27 - Command Details - Ladybug LB5900 Series Interface Manual

Power sensor, spi & i2c interface
Hide thumbs Also See for LB5900 Series:
Table of Contents

Advertisement

It is recommended that the returned data from byte 2, Previous SPI Transaction error be tested.
E0h is expected if no errors were encountered. Refer to SPI message overview for details.
As detailed in Figure 27, the command header is 4 bytes, the command header is shown in
hexadecimal and is followed by the ASCII encoded message of 13 bytes including the space.
Finally, the message terminator of 0, shown in hexadecimal. The total is 18 bytes, with the
message and terminator length of 14, inserted in its hex form as 00000E. Note that below, HEX
byte pairs are shown in bold.
At this point, a 1ms delay can be added or a "Read Status and Length" loop reading the status can
utilized. For details on a "Read Status and Length" Loop refer to the READ? Command at the end
of this section.
#2 TRIG:DEL:AUTO 0
●To the sensor: F0000010TRIG:DEL:AUTO 000
At this point, a 1ms delay can be added or a "Read Status and Length" loop reading the status can
utilized. For details on a "Read Status and Length" Loop refer to the READ? Command at the end
of this section.
#3 INIT:CONT 0
To the sensor: F000000CINIT:CONT 000
At this point, a 1ms delay can be added or a "Read Status and Length" loop reading the status can
utilized. For details on a "Read Status and Length" Loop refer to the READ? Command at the end
of this section.
#4 AVER:COUN:AUTO 0
To the sensor: F0000011AVER:COUN:AUTO 000
At this point, a 1ms delay can be added or a "Read Status and Length" loop reading the status can
utilized. For details on a "Read Status and Length" Loop refer to the READ? Command at the end
of this section.
#5 FREQ 1020 MHZ
DOC: SPII2CHDWBrief - V2.71 07/25/2017
Figure 27 - Command
Details●
Turns off Trigger delay
Sets the Sensor for single measurements
Turns off automatic averaging
Sets the frequency
PAGE 30

Advertisement

Table of Contents
loading

Table of Contents