Command String Format Sample Clauses
Command String Format. The Core Processor issues commands to the DSPs using the first timeslot on the first buffered serial port using point-to-point HDLC protocol. Each command consists of a variable length command string, which is composed of the following fields: a command type (CMD_type) command subtype (CMD_subtype), the channel number (CMD_channel), the message length in bytes (CMD_length), and command parameters (CMD_params). o CMD_type and CMD_subtype are each 4 bits long, and together they combine for the first byte of all command messages. CMD_type is in the high nibble. o CMD_channel is one byte long for commands that are channel specific; for commands that have no associated channel, the CMD_channel field is 0 bytes long (not present). o CMDJength is one byte long for all command messages o The CMD_params field's length is variable, N one byte increments. For certain CMD3ype / CMD_subtype combinations, the CMD_params field is 0 bytes long (not present). The command string shall have one of the following structures, depending on whether the CMD_channel field is present: -------------------------------------------------------- 1 CMD_type | CMD_subtype -------------------------------------------------------- 2 CMD_channel -------------------------------------------------------- 3 CMD_length -------------------------------------------------------- 4+ CMD_params -------------------------------------------------------- Table 7-1: Command structure when CMD channel is present EVP-SRM (DSP) Software Design Specification 63 ------------------------------------------------------------------------ -------------------------------------------------------- 1 CMD_type CMD_subtype -------------------------------------------------------- 2 CMD_length -------------------------------------------------------- 3+ CMD_params -------------------------------------------------------- Table 7-2: Command structure when CMD_channel is not present
