Hardware requirements
Micro USB cable
FRDM-KE16Z 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
When the example runs successfully, the following message is displayed in the terminal:
Start MMDVSQ Example
Calculation square root, please enter radicand
(Input 9 for example)
Square root of 9 is 3
Calculation division to get remainder and quotient
Enter dividend and divisor
(Input 12 and 3 for example, seperated two number by a blank space)
Remainder of 12 and 3 is 0
Quotient of 12 and 3 is 4