Previous posts
Post 2 - Installing OpenCV - Prerequisites
Post 5 - Installing eye tracker
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)
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
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
Also, a new SSP1.c and SSP1.h files are generated with all the functions required to handle the SPI peripheral
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!