Secure 2 click
Secure 2 click
Share
Secure 2 click carries the ATAES132A, a cryptographic coprocessor with secure hardware-based key storage from Microchip. The click is designed to run on either 3.3V or 5V power supply. Secure 2 click communicates with the target microcontroller over SPI and I2C interface, with additional functionality provided by the INT pin on the mikroBUS™ line. The click comes with stackable headers so you can put another click on the top of it.
NOTE: The click comes with stacking headers which allow you to combine it with other clicks more easily by using just one mikroBUS™ socket.
ATAES132A features
The ATAES132A is a high-security, Serial Electrically-Erasable and Programmable Read-Only Memory (Serial EEPROM) providing both authentication and confidential nonvolatile data storage capabilities. Access restrictions for the 16 user zones are independently configured, and any key can be used with any zone. In addition, keys can be used for standalone authentication.
The AES-128 cryptographic engine operates in AES-CCM mode to provide authentication, stored data encryption/decryption, and Message Authentication Codes. Data encryption/decryption can be performed for internally stored data or for small external data packets, depending upon the configuration. Data encrypted by one ATAES132A device can be decrypted by another, and vice versa.
Specifications
Type | EEPROM |
On-board modules | ATAES132A - a cryptographic coprocessor with secure hardware-based key storage from Microchip |
Key Features | Crypto element device with secure hardware-based key storage, 512 bit OTP (One Time Programmable) Bits for Fixed Information |
Interface | I2C,SPI |
Input Voltage | 3.3V or 5V |
Click board size | M (42.9 x 25.4 mm) |
Pinout diagram
This table shows how the pinout on Secure 2 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Programming
Code examples for Secure 2 click, written for MikroElektronika hardware and compilers are available on Libstock.
Code snippet
The following code snippet shows functions that will lock the configuration zone of the device and then output a generated random number.
01 //Configuration zone locking 02 if (aes132m_execute(AES132_LOCK, 0x02, 0x0000, 0x0000, 03 0, 0, 0, 0, 0, 0, 0, 0, txBuffer, rxBuffer) 04 == AES132_FUNCTION_RETCODE_SUCCESS) 05 { 06 LOG( "rnrn Configuration zone locked! " ); 07 } 08 else 09 { 10 LOG( "rnrn Configuration zone locking failed" ); 11 LOG( " or it is already locked." ); 12 } 13 memset (txBuffer, 0, 84); 14 memset (rxBuffer, 0, 36); 15 /* 16 Fourth test - Random number generator 17 Will only return 0xA5 unless config zone is locked first. 18 */ 19 if (aes132m_execute(AES132_RANDOM, 0x00, 0x0000, 0x0000, 20 0, 0, 0, 0, 0, 0, 0, 0, txBuffer, rxBuffer) 21 == AES132_FUNCTION_RETCODE_SUCCESS) 22 { 23 LOG( "rnrn Generated random number: " ); 24 outputHex (&rxBuffer[2], 16); 25 } 26 else LOG( "rnrn Random number generation failed..." ); 27 28 memset (txBuffer, 0, 84); 29 memset (rxBuffer, 0, 36);
New Products
-
Sold out
Pixhawk 6X Pro FC
Vendor:Regular price Rs. 53,499.00Regular priceUnit price / perSold out -
Pixhawk 6X (ICM-45686) FC
Vendor:Regular price Rs. 15,999.00Regular priceUnit price / per -
Pixhawk Jetson Baseboard
Vendor:Regular price Rs. 44,999.00Regular priceUnit price / per -
EZO-HUM™ Embedded Humidity Probe – Plastic Body
Vendor:Regular price Rs. 6,049.00Regular priceUnit price / per -
EZO Complete-Dissolved Oxygen™
Vendor:Regular price Rs. 14,799.00Regular priceUnit price / per -
EZO-O2™ Embedded Oxygen Sensor – Plastic Body
Vendor:Regular price Rs. 10,999.00Regular priceUnit price / per -
Crazyflie 2.1 Brushless
Vendor:Regular price Rs. 53,399.00Regular priceUnit price / per -
Propeller 47-17 (4CCW+4CW) (black)
Vendor:Regular price Rs. 699.00Regular priceUnit price / per -
Crazyflie 2.1+
Vendor:Regular price Rs. 26,499.00Regular priceUnit price / per -
Sold out
WidowX Aloha Leader Arm
Vendor:Regular price From Rs. 524,999.00Regular priceUnit price / perSold out -
ViperX Aloha Follower Arm
Vendor:Regular price From Rs. 749,999.00Regular priceUnit price / per -
Aloha Stationary
Vendor:Regular price From Rs. 3,149,999.00Regular priceUnit price / per -
4P JST Expansion Board
Vendor:Regular price Rs. 749.00Regular priceUnit price / per -
Kakute H7 v1.3 Stacks +Tekko32 F4 4in1 50A ESC
Vendor:Regular price Rs. 18,029.00Regular priceUnit price / perSold out -
Kakute H7 v1.3 (MPU6000)
Vendor:Regular price Rs. 10,279.00Regular priceUnit price / per -
Pixhawk 6C (Aluminum Case) + PM02 +M10 GPS
Vendor:Regular price Rs. 37,269.00Regular priceUnit price / per -
Pixhawk 6C (Aluminium Case) +PM02+M9N GPS
Vendor:Regular price Rs. 40,539.00Regular priceUnit price / perSold out -
PM02 V3 Power Module (12S)
Vendor:Regular price Rs. 2,299.00Regular priceUnit price / per -
Pixhawk 6C (Aluminium Case)
Vendor:Regular price Rs. 31,099.00Regular priceUnit price / per -
Holybro Pixhawk 6X - Standard set + M9N(GPS V1.7)
Vendor:Regular price Rs. 46,469.00Regular priceUnit price / perSold out -
Holybro Pixhawk 6X - Standard Set + M10(GPS V1.7)
Vendor:Regular price Rs. 42,999.00Regular priceUnit price / perRs. 43,099.00Sale price Rs. 42,999.00Sale -
Analog Discovery Pro ADP2230: Mixed Signal USB Oscilloscope, Waveform Generator, Logic Analyzer, and Variable Power Supply
Vendor:Regular price Rs. 74,999.00Regular priceUnit price / perSold out -
2x12 Flywires: Signal Cable Assembly for the Analog Discovery Pro 3000 Series
Vendor:Regular price Rs. 999.00Regular priceUnit price / perSold out