Atmel AT88SA10HS [DATASHEET] 9
8595H−CRYPTO−9/2012
5.1.2 Transmit Flag
The Transmit flag is used to turn around the signal so that the AT88SA10HS can send data back to the system, depending on
its current state. The bytes that the AT88SA10HS returns to the system depend on its current state as follows:
Table 5-3. Return Codes
State Description Error/Status Description
After Wake, but prior to
first command
0x11 Indication that a proper Wake token has been received by AT88SA10HS.
After successful command
execution
– Return bytes per “Output Parameters” in Command section of this document.
In some cases this is a single byte with a value of 0x00 indicating success.
The Transmit flag can be re-sent to AT88SA10HS repeatedly if a re-read of
the output is necessary.
Execution error 0x0F Command was properly received but could not be executed by
AT88SA10HS. Changes in the AT88SA10HS state or the value of the
command bits must happen before it is re-attempted.
After CRC or other
communications error
0xFF
Command was not properly received by AT88SA10HS and should be
re-issued by the system. No attempt was made to execute the command.
The AT88SA10HS always transmits complete blocks to the system, so in the above table, the status/error bytes result in four
bytes going to the system – count, error, CRC x 2.
After receipt of a command block, the AT88SA10HS will parse the command for errors, a process which takes t
PARSE
(See
Section 5.1.1). After this interval the system can send a transmit token to the AT88SA10HS – if there was an error, the
AT88SA10HS will respond with an error code. If there is no error, the AT88SA10HS internally transitions automatically from
t
PARSE
to t
EXEC
and will not respond to any transmit tokens until both delays are complete.
5.1.3 Sleep Flag
The sleep flag is used to transition the AT88SA10HS to the low power state, which causes a complete reset of the internal
command engine of the AT88SA10HS and input/output buffer. It can be sent to AT88SA10HS at any time when AT88SA10HS
will accept a flag.
To achieve the specified I
SLEEP
, Atmel recommends that the input signal be brought below V
IL
when the chip is asleep. To
achieve I
SLEEP
if the sleep state of the input pin is high, the voltage on the input signal should be within 0.3V of V
CC
to avoid
additional leakage on the input circuit of the chip.
The system must calculate the total time required for all commands to be sent to the AT88SA10HS during a single session,
including any inter-bit/byte delays. If this total time exceeds t
WATCHDOG
then the system must issue a partial set of commands,
then a Sleep flag, then a Wake token, and finally after the Wake delay, issue the remaining commands.