SMCS332SpWUser ManualEADS Astrium GmbH, ASE2Doc No: SMCS_ASTD_UM_100Issue: 1.4Updated: 9-Sep-2006Page: 48 of 131– All Rights Reserved – Copyright per DIN 34 –5.4 Control by LinkThe SMCS332SpW offers the possibility to be used in a so-called "remote mode" which means that for controlling theSMCS332SpW (read/write registers) no local controller (μController, CPU, FPGA etc.) is required. Instead, theSMCS332SpW is being configured and controlled using one of the three links as a dedicated control link. Since the HOCI isno longer used to access the SMCS332SpW registers locally, it is instead available as a 32-bit bidirectional general purposeI/O (GPIO) port. The direction (in/out) of each bit of this port can be programmed individually.5.4.1 Selecting remote modeThe external signal "BOOTLINK" (pin 32) must be tied to "1". This will set the SMCS332SpW to remote mode. It is notpossible to switch the SMCS332SpW into remote mode by software.5.4.2 Determination of the control linkAfter the reset signal is released the SMCS332SpW will wait for NULL characters on the three links. It will not start a linkuntil it has received NULL characters on this link. Only then the SMCS332SpW will send NULL characters itself. After thelinks are active, the SMCS332SpW scans these links for data (characters). The link on which the SMCS332SpW receivesdata first is then identified and determined as "control link". This means that each of the 3 SMCS332SpW links can functionas control link. Which of the links is used as control link is only determined by the first appearance of data on a link directlyafter it is started. That link then operates as "control link" until the SMCS332SpW is reset by the reset signal RESET5.4.3 Protocol and CommandsThe protocol of the SMCS332SpW in remote mode provides two commands: Read and Write. A read command requires atleast one byte and a write command requires at least two bytes. Each command packet must be terminated by an EOPcharacter. Data received on the control link is interpreted according to this simple protocol. Bit 7 (the MSB) of the first bytereceived on the control link determines whether the command is a Read (bit 7 = 1) or a Write (bit 7 = 0) command. Allinternal registers of the SMCS332SpW can be writtenRead Command:7 6 01 register address ignored1. byte 2. - n. byteEOPRead Response Packet:7 6 00 register address register value1. byte 2. byteEOPWrite Command:7 6 00 register address write data1. byte 2. byteEOPignored3. - n. byte