SAML11 TrustZone® Touch Project
Objective
SAML11 supports the use of TrustZone®. The following describes how to configure a TrustZone project with touch. Two options will be covered.
- Touch and application code are entirely within the secure area
- Touch is within the secure area, with control from the non-secure area
In both cases, a SAMQT7 was used in this guide.
Touch and application code entirely within the secure area
9
Main.c within the Secure project should be updated as follows:
Touch is within the secure area, with control from the non-secure area
The process of controlling touch operation from the non-secure project can be achieved using the TrustZone veneer.
The following files need to be modified:
Note: Veneer.h in both projects should contain the same function list.
Non-Secure Project
- Main.c
- Veneer.h
Secure Project
- Veneer.h
- Veneer.c
- Secure.c
- Secure.h
Non-Secure Project : Main.c
Secure Project Main.c is standard as per a new TrustZone project. It should contain:
Non-Secure Project: Veneer.h
Secure Project: Veneer.h
Secure Project: Veneer.c
Secure Project: Secure.h
Secure Project: Secure.c
Table of Contents
|