Electronic Components Datasheet Search
  English  ▼

X  

ATSHA204 Datasheet(PDF) 25 Page - ATMEL Corporation

Part # ATSHA204
Description  Atmel CryptoAuthentication
PDF  65 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATSHA204 Datasheet(HTML) 25 Page - ATMEL Corporation

Back Button ATSHA204 Datasheet HTML 21Page - ATMEL Corporation ATSHA204 Datasheet HTML 22Page - ATMEL Corporation ATSHA204 Datasheet HTML 23Page - ATMEL Corporation ATSHA204 Datasheet HTML 24Page - ATMEL Corporation ATSHA204 Datasheet HTML 25Page - ATMEL Corporation ATSHA204 Datasheet HTML 26Page - ATMEL Corporation ATSHA204 Datasheet HTML 27Page - ATMEL Corporation ATSHA204 Datasheet HTML 28Page - ATMEL Corporation ATSHA204 Datasheet HTML 29Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 65 page
background image
Atmel ATSHA204 [DATASHEET]
25
8740D
−CRYPTO−3/12
6.5
I
2C Transmission from the Atmel ATSHA204 Device
When the ATSHA204 is awake and not busy, the bus master can retrieve the current buffer contents from the device using an
I
2C read. If valid command results are available, the size of the block returned is determined by the particular command that
has been run (See Section 8. “Commands”), otherwise the size of the block (and the first byte returned) will always be four:
count, status/error, and 2-byte CRC. The bus timing is shown in Figure 7-3 in Section 7.3.2.
Table 6-3.
I
2C transmission from Atmel ATSHA204
Atmel ATSHA204
I
2C Name
Direction
Description
Device Address
Device Address
To slave
This byte selects a particular device on the I
2C interface, and the Atmel
ATSHA204 will be selected if bits 1-7 of this byte match bits 1-7 of the
I2C_Address byte in the configuration zone. Bit 0 of this byte is the
standard I
2C R/W pin, and should be one to indicate that the bytes
following the device address travel from the slave to the master (read).
Data
Data1,N
To master
The output block, consisting of the count and status/error byte or the
output packet followed by the two-byte CRC per Section 8.1.
The status, error, or command outputs can be read repeatedly by the master. Each time a read command is sent to the
ATSHA204 along the I
2C interface, the device transmits the next sequential byte in the output buffer. See the following section
for details on how the device handles the address counter.
If the ATSHA204 is busy, idle, or asleep, it will NACK the device address on a read sequence. If a partial command has been
sent to the device, then it will NACK the device address, but float the bus during the data intervals.
6.6
Address Counter
Writes to and/or reads from the ATSHA204 I/O buffer over the I
2C interface are treated as if the device were a FIFO. Either the
I
2C byte or block write/read protocols can be used. The number of bytes transferred with each block sequence does not affect
the operation of the device.
The first byte transmitted to the device is treated as the size byte. Any attempt to send more than this number of bytes or any
attempts to write beyond the end of the I/O buffer (84 bytes) will cause the ATSHA204 to NACK those bytes.
After the host writes a single command byte to the input buffer, reads from the host are prohibited until after the device
completes command execution. Attempts to read from the device prior to the last command byte being sent will result in an
ACK of the device address but all ones (0xFF) on the bus. If the master attempts to send a read byte to the device during
command execution, the device will NACK the device address.
Data may be read from the device under the following three conditions:
• On power up, the single byte, 0x11 (See Section 8.1.3), can be read inside a four byte block.
• If a complete block has been received by the device, but there are any errors in parsing or executing the command,
a single byte of error code is available, also inside a four byte block.
• Upon completion of command execution, from 1-32 bytes of command result are available to be read inside a block
of 4-35 bytes.
Any attempt to read beyond the end of the valid output buffer returns 0xFF to the system – the address counter does not wrap
around to the beginning of the buffer.
There may be situations where the system may wish to re-read the output buffer; for example, when the CRC check reveals
an error. In this case, the master should send a two-byte sequence to the ATSHA204 consisting of the correct device address
and a word address of 0x00 (Reset, per Table 6-2), followed by a stop condition. This causes the address counter to be reset
to zero, and permits the data to be re-written (re-read) to (from) the device. This address reset sequence does not prohibit
subsequent read operations if data was available for reading in the I/O buffer prior to the sequence execution.
After one or more read operations to retrieve the results of a command execution, the first write operation resets the address
counter to the beginning of the I/O buffer.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com