SRI512 commands SRI512
36/47 Doc ID 13263 Rev 5
8.8 Write_block (Addr, Data) command
Command code = 09h
On receiving the Write_block command, the SRI512 writes the 4 bytes contained in the
command to the addressed block, provided that the block is available and not write-
protected. Data bytes are transmitted with the least significant byte first, and each byte is
transmitted with the least significant bit first.
The address byte gives access to the 16 blocks of the SRI512 (addresses 0 to 15).
Write_block commands issued with a block address above 15 will not be interpreted and the
SRI512 will not return any response, except for the System area located at address 255.
The result of the Write_block command is submitted to the addressed block. See the
following paragraphs for a complete description of the Write_block command:
● Figure 12: Resettable OTP area (addresses 0 to 4).
● Figure 15: Binary counter (addresses 5 to 6).
● Figure 17: EEPROM (addresses 7 to 15).
The Write_block command does not give rise to a response from the SRI512. The reader
must check after the programming time, t
W
, that the data was correctly programmed. The
SRI512 must have received a Select() command and be switched to Selected state before
any Write_block command can be accepted. All Write_block commands sent to the SRI512
before a Select() command is issued, are ignored.
Figure 44. Write_block request format
Request parameters:
● Address: block addresses from 0 to 15, or 255
● Data 1: Less significant data byte
● Data 2: Data byte
● Data 3: Data byte
● Data 4: Most significant data byte.
Figure 45. Write_block response format
SOF Data 1 CRC
L
CRC
H
EOF
AI07687b
8 bits
Data 2 Data 3 Data 4
8 bIts 8 bIts 8 bIts 8 bIts 8 bIts
Write_block Address
09h
8 bIts