cau3#
Overview#
The CAU3 Example project is a demonstration program that uses the KSDK software implement several cryptography algorithms using the CAU3 software driver.
Prepare the Demo#
Connect a serial cable from the debug UART port of the board to the PC. Start Tera Term (http://ttssh2.osdn.jp) and make a connection to the virtual serial port.
Start Tera Term
New connection -> Serial
Set apropriate COMx port (x is port number) in Port context menu. Number is provided by operation system and could be different from computer to computer. Select COM number related to virtual serial port. Confirm selected port by OK button.
Set following connection parameters in menu Setup->Serial port… Baud rate: 115200 Data: 8 Parity: none Stop: 1 Flow control: one
Confirm selected parameters by OK button.
Running the demo#
Example output on terminal:
CAU3 Driver Example
AES ECB Test pass SHA-256 Test pass ModMul Test pass
Supported Boards#
FRDM-K32L3A6
Hardware requirements
Mini/micro USB cable
FRDM-K32L3A6 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
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
Example output on terminal:
CAU3 Driver Example
AES ECB Test pass SHA-256 Test pass ModMul Test pass