AT88SC0404CA-MPTG Atmel, AT88SC0404CA-MPTG Datasheet - Page 47

no-image

AT88SC0404CA-MPTG

Manufacturer Part Number
AT88SC0404CA-MPTG
Description
CRYPTOMEM 4KBIT 4 ZONE MOD P TWI
Manufacturer
Atmel
Series
CryptoMemory®r
Datasheet

Specifications of AT88SC0404CA-MPTG

Format - Memory
EEPROMs - Serial
Memory Type
EEPROM
Memory Size
4K (512 x 8)
Speed
4MHz
Interface
I²C, 2-Wire Serial
Voltage - Supply
2.7 V ~ 3.6 V
Operating Temperature
0°C ~ 70°C
Package / Case
M2 P, Smart Card Module
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
10.4. T=0 Command Descriptions
10.5. Write User Zone: $B0
10.5.1. Functional
46
The command set of Atmel
CryptoMemory exceeds that of a simple memory device. Each instruction sent to the CryptoMemory must have
4-bytes: Command, Address 1, Address 2 and N. The last byte, N, defines the number of any additional data bytes to
be sent or received from the CryptoMemory device.
Figure 30. Write User Zone Command Functional Description
The Write User Zone command $B0 allows writing of data into the device's currently selected user zone (the procedure
for selecting a user zone is described below.
The maximum numbers of bytes that may be written in a single WRITE operation is $10 and corresponds to the
EEPROM page size. Each data byte within a page must only be loaded once. In anti-tearing mode the maximum value
for N is $08 for all devices. A write in anti-tearing mode is activated with the Set User Zone command with the anti-
tearing option (00 B4 0B zz 00); all subsequent writes to the user zone will be in anti-tearing mode.
"When a Write User Zone command is sent in Authentication mode or Encryption mode the data is saved in a buffer
until a cryptographic checksum is received. The host must send the checksum it has computed immediately after the
Write User Zone command. If the checksum is valid, CryptoMemory writes the data; if the checksum is incorrect the
data is discarded and the cryptographic engine is reset."
If the host is not allowed to write in the zone, the device will return the "Command Unauthorized" code ($69 $00) after it
has received the P3-byte.
Table 27. Write User Zone Command Structure
Atmel AT88SC0104/0204/0404/0808/CA
N data bytes
CLA
**
INS : Command
$B0
Number of bytes N
Address A1
Address A2
Command
Host
Data
Data
®
CryptoMemory
P1 : Address 1
Command Header
0000 0000
®
is expanded compared to a Serial EEPROM as the functionality of
Device
P2 : Address 2
0a
6
-- ---a
0
000n
P3 : N
4
--- n
0
d
Data(1)
7
--- ---d
0
Data Sent
...
...
8664C–CRYPT–01/10
d
Data(N)
7
--- ---d
0

Related parts for AT88SC0404CA-MPTG