Download Display - Service, Support
Transcript
03/05 B.5 Programming the SLG U92 Based on the Operating System or 3964R Driver Command Chaining Command chaining can be used to speed up processing of large and/or different address areas on the MDS. Normally the SLG U92 stores only one MDS command in its memory and executes this command. This means that a maximum of 248 bytes (without multitagging) or 244 bytes (with multitagging) can be read or written with one command. Another command cannot be issued until the previous command is acknowledged. To speed up reading or writing more than 248 bytes (without multitagging), 244 bytes (with multitagging) and/or different address areas, several commands can be chained and sent to the SLG U92 and stored on the SLG U92. For processing large and/or different data areas, different functions can also be chained together. The commands of the command chain are identified by a bit in the upper 4 bits of the command byte (2nd byte = byte 1). Bit 6 is set to "1" and bits 4, 5 and 7 must be "0." In the last command in the command chain bit 6 must equal "0." This signals the end of the chain. The lower 4 bits of the command byte contain the function ID. This means that all the commands that are chained together must have the command type 4x hex. The last command in a chain must have type 0x hex. The command chain can already be sent to the SLG U92 before the MDS to be processed is located in the field of the SLG U92. As soon as the MDS enters the field and is detected by the SLG U92, the SLG begins executing the chained commands and returns the acknowledgments with data. If the processing of the command chain can already be started while the command chain is being sent to the SLG U92, the first acknowledgments may arrive during the sending procedure. Notice The maximum length of a command chain may not exceed 150 commands. Possible chaining variations a) n x WRITE b) n x READ c) MDS commands in any order: INIT, WRITE, READ and/or MDS-STATUS d) MDS commands in any order: a), b) or c) plus END command e) RESET command, followed by versions a), b), c) or d) f) SET-ANT (EIN), plus followed by versions a), b), c) or d) g) Versions a), b), c), d), e) or f) plus SET-ANT (AUS) MOBY API C-Library (4)J31069-D0137-U001-A5-7618 193