In this blog, we will see how OPTIGATM Trust M can be interfaced with PSoC6 device. Connect the host microcontroller PSoC™6 to Shield2Go Security OPTIGA™ Trust M via the shielded I2C interface with an additional layer of security as shown in Figure 1.
Figure 1 I2C connections between Shield2Go Security OPTIGA™ Trust M and PSoC™ 6 MCU
Follow these steps to interface OPTIGA™ Trust M with one of the following PSoC™ 62S2 evaluation kits, CY8CEVAL-062S2 or CY8CEVAL-062S2-LAI-4373M2:
Figure 2 Selection of OPTIGA™ Cryptography template application
OPTIGA_Cryptography code examples in ModusToolbox™ software do not support PSoC™ 6 MCUs which do not have the OPTIGA™ Trust M kit package. The code examples can be cloned from the GitHub link. To import the application, follow these steps:
Figure 3 Selection of code example
Figure 4 Adding OPTIGA™ Trust M library
Figure 5 Modifing optiga_lib_config_mtb.h
Note: Updating the libraries by running Library Manager or ‘make getlibs’ in the terminal will replace the changes in the ‘mtb.mk’ file.
This way, the OptigaTM can be interfaced with PSoC™ 6 MCU and the example applications can be tested using ModusToolbox™. There are several use cases of OptigaTM such as encryption, signature generation and verification, protected update etc., that are discussed in the following blogs in this series.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.