FG_D6_CCLINK_EN_02 / 2020-06-17
Cycle results reading (last 8 results in FIFO)
—
Read the number of available results in the FIFO at
the address 04(h):
04(h) = 0000(h) → no results
04(h) > 0000(h) → results available
—
Activate the “Read FIFO results” command:
Write at the address 00(h), the value 0010(h)
Byte 0 = 10(h) (Y004(h) = 1)
Byte 1 = 00(h)
Acknowledgement
Command echo:
—
Byte 0 = 10(h) (X004(h) = 1)
—
Byte 1 = 00(h)
Command error code:
—
Byte 2 = FF(h)
—
Byte 3 = FF(h)
(if command error code = FFFF(h), command is in
progress)
Running “Read FIFO results” command
Command finished
Command echo:
—
Byte 0 = 10(h) (X004(h) = 1)
—
Byte 1 = 00(h)
Command error code if the command is correctly
carried out:
—
Byte 2 = 00(h)
—
Byte 3 = 00(h)
OR if an error occurred during the command:
—
Byte 2 = 10(h) (X014(h) = 1)
—
Byte 3 = 00(h)
—
Wait the end of the command:
command echo = 0010(h) (X004(h) = 1)
command error code ≠ FFFF(h) (end of command)
—
Deactivate the “Read FIFO results” command:
Write at the address 00(h) the value 0000(h)
Byte 0 = 00(h) (Y004(h) = 0)
Byte 1 = 00(h)
—
Read the result of 18 words (standard) or 40 words
(extended) maximum in the corresponding area
depending on the configuration mode of the slave.
The master instrument must always set to zero the command bit. If it is not done, the slave instrument
will not detect the following command on this bit. It has detection on the rising edge (when the bit
state goes from 0 to 1).