Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ATECC608A Datasheet(PDF) 38 Page - Microchip Technology

Part # ATECC608A
Description  ATECC608A for LoRaWAN™ Data Sheet
PDF  81 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATECC608A Datasheet(HTML) 38 Page - Microchip Technology

Back Button ATECC608A Datasheet HTML 34Page - Microchip Technology ATECC608A Datasheet HTML 35Page - Microchip Technology ATECC608A Datasheet HTML 36Page - Microchip Technology ATECC608A Datasheet HTML 37Page - Microchip Technology ATECC608A Datasheet HTML 38Page - Microchip Technology ATECC608A Datasheet HTML 39Page - Microchip Technology ATECC608A Datasheet HTML 40Page - Microchip Technology ATECC608A Datasheet HTML 41Page - Microchip Technology ATECC608A Datasheet HTML 42Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 38 / 81 page
background image
Table 5-34. Clear Text Write Output Response
Name
Size
Description
Response 1 byte If successful, it will return a value of 0x00. If unsuccessful, then an error code will be returned.
5.1.10.2 Data Zone - Encrypted Write
Writes to the Data zone may be encrypted if the slots have been so configured. Only data written to the Data zone
may be encrypted. For the ATECC608A-TNGLoRaWAN device, Slot 13 can be written as encrypted text.
All encrypted writes must be done as 32-byte blocks. If a partial block at the end of the zone needs to be encrypted
32 bytes of input, data must still be sent and used as part of the MAC calculation. The address of the write is an
actual memory location address and is not a Data slot number.
Table 5-35. Input Parameters - Encrypted Write
Opcode
(1 Byte)
Mode
(1 Byte)
Address
(2 Bytes)
Input Data
(32 Bytes)
MAC
(32 Bytes)
Description
0x12
0x82
See Section 4.4
Address Encoding
32 bytes of encrypted input
data
32 bytes of MAC 32-byte encrypted
write
Table 5-36. Output Response - Encrypted Write
Name
Size
Description
Response 1 byte If successful, it will return a value of 0x00. If unsuccessful, then an error code will be returned.
Data Encryption
Data must be encrypted by the host system prior to writing the data to the slot. The encryption algorithm simply
XOR’s the clear text data with the value stored in the TempKey. TempKey must be a result of a GenDig command.
The host system will need to calculate this value that will be used in parallel with what the ATECC608A-
TNGLoRaWAN calculates. The GenDig command can be used one or more times when calculating the XOR value.
The final value will be the actual XOR value used for the encryption. Once the data are encrypted and written, the
ATECC608A-TNGLoRaWAN decrypts the value with the value stored in TempKey. The encrypted write must occur
before any other commands that can affect the TempKey value or before a time-out occurs. In order to validate the
encrypted write, a 32-byte MAC value must also be sent with the command.
Input MAC Generation
The required Input MAC is generated by a SHA256 Hash over 96 bytes. This is calculated by the host system and
sent as part of the encrypted Write command.
32 bytes
1 byte
1 byte
2 bytes
1 byte
2 bytes
25 bytes
32 bytes
TempKey
OpCode = 0x12
Mode
Address (LSB, MSB)
SN[8] = Varies by vendor
SN[0:1]=0x01 0x23
Zeros
Plain Text Data
5.2
Asymmetric Cryptography Commands
The Asymmetric Cryptography command set is made up of those commands that are specifically used to generate or
use ECC keys. Keys are typically stored in Data zone slots, but for some commands could also be in the SRAM
array.
ATECC608A-TNGLoRaWAN
Device Commands
© 2020 Microchip Technology Inc.
Complete Datasheet
DS40002154B-page 38



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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81


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