MCUXpresso SDK Documentation

psa_crypto_examples_thread

psa_crypto_examples_thread#

Overview#

The mbedTLS PSA Crypto example thread program performs PSA API testing within Multi threaded environment and prints results to the terminal.

Supported Boards#

FRDM-RW612
Hardware requirements
  • Mini/micro USB cable

  • FRDM-RW612 board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-Link USB port on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

When the demo runs successfully, the terminal will display similar information like the following:

Mbedtls - PSA - Crypto - examples - Multithread

============================ Create thread one successfully Create thread two successfully Thread 1 is running… Thread 1 is running… Thread 2 is running… Thread 1 is running… Thread 1 is running… Thread 1 is running… Thread 2 is running… Thread 1 is running… Thread 1 is running… Thread 2 is running… Thread 1 is running… Thread 1 is running… Thread 1 is running… Thread 2 is running…

RD-RW612-BGA
Hardware requirements
  • Mini/micro USB cable

  • RD-RW612-BGA board

  • Personal Computer

Board settings

No special settings are required.

Prepare the Demo
  1. Connect a USB cable between the host PC and the MCU-Link USB port on the target board.

  2. Open a serial terminal with the following settings:

    • 115200 baud rate

    • 8 data bits

    • No parity

    • One stop bit

    • No flow control

  3. Download the program to the target board.

  4. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo

When the demo runs successfully, the terminal will display similar information like the following:

Mbedtls - PSA - Crypto - examples - Multithread

============================ Create thread one successfully Create thread two successfully Thread 1 is running… Thread 1 is running… Thread 2 is running… Thread 1 is running… Thread 1 is running… Thread 1 is running… Thread 2 is running… Thread 1 is running… Thread 1 is running… Thread 2 is running… Thread 1 is running… Thread 1 is running… Thread 1 is running… Thread 2 is running…