FG_D6_CCLINK_EN_02 / 2020-06-17
Program
Program selection command on the ATEQ device
—
Write 1 word at the address 03(h) corresponding
to the program number to be selected:
@03(h) = 0001(h) (= program n°2)
—
Activate the “Program selection” command:
Write at the address 00(h), the value 0008(h)
Byte 0 = 08(h) (Y003(h) = 1)
Byte 1 = 00(h)
Acknowledgement
Command echo:
—
Byte 0 = 08(h) (X003(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 “Program selection” command
Command finished
Command echo:
—
Byte 0 = 08(h) (X003(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 = 08(h) (X013(h) = 1)
—
Byte 3 = 00(h)
—
Wait the end of the command:
command echo = 0008(h) (X003(h) = 1)
command error code ≠ FFFF(h) (end of command)
—
Deactivate the “Program selection” command:
Write at the address 00(h) the value 0000(h)
Byte 0 = 00(h) (Y003(h) = 0)
Byte 1 = 00(h)
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).