Hardware requirements#
Type-C USB cable
FRDM-MCXW23 Board
Personal Computer
Board settings#
Prepare the Demo#
Connect a USB cable between the host PC and the FRDM board J10.
Open a serial terminal with the following settings:
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#
The log below shows the output of the PUF demo in the terminal window:
PUF Peripheral Driver Example
Wrapping a new key chosen by the user to PUF index 0 (will only be accessible on dedicated HW bus)
Wrapping a key generated by the PUF itself to PUF index 1 (will be accessible to SW)
Unwrapping/reconstructing the key chosen by the user, that was stored in key slot 0 of the HW bus (i.e. the slot for the AES engine), using key index 0
Unwrapping/reconstructing the generated key using key index 1
Reconstructed intrinsic key = B2 D7 64 D2 E6 F 74 4C 18 57 23 E9 AC 73 D0 80
PUF Deinitialization.
PUF Initialization.
Flash Initialization.
Retrieving the Activation Code of the user key store.
PUF Start with the retrieved Activation Code.
Unwrapping/reconstructing the generated key again using key index 1
Reconstructed intrinsic key = B2 D7 64 D2 E6 F 74 4C 18 57 23 E9 AC 73 D0 80
END OF PUF DRIVER EXAMPLE