This demo application demonstrates how to use MMDVSQ driver.
Overview
The MMDVSQ Demo project is a simple demonstration program to show how to use the MMDVSQ driver. This demo demonstrates the efficiency of division and square root operations and typical C functions.
Supported Platforms
This demo supports the following Tower System module:
System Requirement
Hardware requirements
- J-Link ARM
- P&E Micro Multi-link universal
- Mini/micro USB cable
- USB A to micro AB cable
- Hardware (tower/base board, ...) for specific device
- Personal Computer
Toolchain requirements
- IAR embedded Workbench version 7.30.4
- ARM GCC 4.8.3 2014q3
- Keil MDK 5.13
- Kinetis Design Studio IDE v.2.5.0
- Atollic TrueSTUDIO for ARM win32 v5.2.1
Software requirements
- The project files are in: <SDK_Install>/examples/<board>/demo_apps/mmdvsq_demo/<toolchain>.
- Library dependencies: ksdk_platform_lib
Getting Started
Prepare the Demo
- Connect a USB cable between the PC host and the OpenSDA USB port on the board.
- Open a serial terminal with these 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.
For detailed instructions, see a Kinetis SDK User's Guide for your board.
Run the demo
This is an example serial terminal output:
MMDVSQ Demo start!
C library calculation takes 622 tickcycles
MMDVSQ t calculation takes 521 tickcycles
MMDVSQ Demo end
The tickcycles are used as a reference.