Commands – Rainbow Electronics AT88SA100S User Manual

Page 12

Advertising
background image

12

AT88SA100S [Preliminary]

8558A–SMEM–03/09

4.

Commands

The command packet is broken down in the following way:

Byte Name

Meaning

0

Opcode

The Command code

1

Param1

The first parameter – always present

2-3

Param2

The second parameter – always present

4 +

Data

Optional remaining input data

If a command fails because the CRC within the block is incorrect, the opcode is invalid or one of the parameters is
illegal, then immediately after t

PARSE

the system will be able to retrieve an error response block containing a single byte

packet. The value of that byte will be either 0x0F or 0xFF depending on the source of the error. See Section 2.3.2.

If a command is received successfully then after the appropriate execution delay the system will be able to retrieve the
output block as described in the individual command descriptions below.

In the individual command description tables below, the Size column describes the number of bytes in the parameter
documented in each particular row. The total size of the block for each of the commands is fixed, though that value is
different for each command. If the block size for a particular command is incorrect, the chip will not attempt the
command execution and return an error.

Advertising