Hardware requirements#
Type-C USB cable
FRDM-MCXA577 board
Personal Computer
Board settings#
Prepare the Demo#
Connect a type-c USB cable between the PC host and the MCU-Link USB port (J10) on the board
Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo#
This example using TAMPER0 pin as passive tamper.
TAMPER pin |
Function |
PIN NAME |
Arduino header |
|---|---|---|---|
0 |
Passive |
P5_2 |
A5 |
Without connecting tamper pin it should trigger tamper event and output log should look like log below
When Tamper 0 is connected to 3V3, In output log line Line Tampering detected on PIN0 should change to No tampering detected on PIN0
The log below shows the output of the tdet driver demo in the terminal window:
TDET Peripheral Driver Example
Tampering detected Tamper Detect Flag is set
Passive tamper example
No tampering detected on Passive TAMPER
End of example