Previous posts

Post 1 - Introduction

Post 2 - Installing OpenCV - Prerequisites

Post 3 - Installing OpenCV

Post 4 - Installing Pygaze

Post 5 - Installing eye tracker

Post 6 - SPI communication

EyePrints - Post 7 - SPI communication in Python

 

 

In this post, I will cover all the steps required to install the Kinetis SDK, the development suite for the NXP Freedom platform. There is a short but complete tutorial on the NXP site

http://www.nxp.com/video/frdm-kv31f-get-software:FRDM-KV31F-GET-SOFTWARE

 

Installing Kinetis SDK

The first step is to download and install the Kinetis SDK from the following link (registration is required to access the download area)

 

http://www.nxp.com/products/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?fsrch=1&sr=1&pageNum=1

 

 

Installing Kinetis design studio

Next, a compiler toolchain has to be installed. There are many option, but I chose to select the suggested on: Kinetis design studio

 

Kinetis Design Studio Integrated Development |NXP

 

Creating the first application

To create my first application, I clicked File -> New -> Kinetis 1.x Project. This starts a wizard that let you select the board in use

 

KDS Wizard1.png

 

I chose “GCC compiler” as compiler and I left all the other options to their default values. After going through the all the wizard steps, the project was finally created. I tried to build and everything went perfect.

 

I then added a feature that I will need I this project: the SPI interface. I clicked “Processor Expert” in the Tools menu. In the Processor Expert, I selected the SPI Slave library and added to the project. This adds a new SSP1 object that can be easily configured in the IDE

 

KDS1.png

 

KDS2.png

 

KDS2.1.png

 

Also, a new SSP1.c and SSP1.h files are generated with all the functions required to handle the SPI peripheral

 

KDS3.png

 

My first impression with the Kinetis Deisgn Studio was very good: everything is clear and easy to use. Up to now, there has no been hassle. Let's wait for the board and see how is to work on the real hardware!