porting a simpliciti tm application to another platform mike claassen fae/afa summit 2q, 2010

26
Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Upload: mia-vaughan

Post on 26-Mar-2015

215 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Porting a SimpliciTITM application to Another Platform

Mike ClaassenFAE/AFA Summit 2Q, 2010

Page 2: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Abstract

SimpliciTITM is a very versatile software stack that allows a customer a framework to define their next Peer to Peer or Star Network.

After an initial evaluation of the SimpliciTITM stack has been done, most designers would like to utilize the stack on their own prototyped boards.

The Hands On portion of this presentation takes the very popular and functional Temperature Sensor Demo from the eZ430-RF2500 and ports it to MAVRK, a modular system EVM.

Page 3: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Agenda: Porting a SimpliciTITM application to a new Stack Version

• Setting up a new SimpliciTITM 1.11 Project

• Creating a new Board Support Directory

• Modifying the existing files to work with the MAVRK System EVM

• Building the Temperature Sensor Demo using MAVRK as the Data Hub/Access Point

Page 4: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Benefits of this Training

The benefit of this training is to gain an understanding of the MRFI and BSP directories and how to port them from a standard supported EVMs to a new board

Page 5: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Setting up the SimpliciTITM 1.11 Project

Page 6: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

What is Needed

This training assumes the following :– The full IAR EW430 tool is installed

• www.iar.com/ew430

– The SimpliciTITM 1.1.1 eZ430-RF2500 Demo application has been installed

• http://www.ti.com/litv/zip/slac139c

– The eZ430-RF2500 Source Code has been installed

• http://www.ti.com/litv/zip/slac139c

Page 7: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Add a New Configuration

Page 8: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Close Configuration Window

Page 9: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Copy Existing Board Directory

Page 10: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Inspecting the New Directory

Page 11: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Change Directories in Project Options

Page 12: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

New Directory

Page 13: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Change Target

Page 14: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Add New BSP Files

Page 15: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Add New MRFI Files

Page 16: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Change SPI Port Settings

Page 17: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

New SPI Settings

MAVRK RF1 uses USCB0

Page 18: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

New SPI Interaction Settings

SPI Interaction

Page 19: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

SPI Port Settings

SPI Interaction

Page 20: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

GDO Pin Settings

GDO_0

GDO_2

Page 21: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

GPIO ISR

GDO Port Interrupt Vector

GDO Port Interrupt Vector

Page 22: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

LED Ports

LED Pin Defines

Page 23: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Define a Unique Board Name

Unique Board Name

Page 24: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Modify Compile Integrity Check

Name needs to Match Unique Name

Page 25: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

BSP Clock Settings

Timer Settings

Page 26: Porting a SimpliciTI TM application to Another Platform Mike Claassen FAE/AFA Summit 2Q, 2010

Porting a SimpliciTITM application to Another Platform

Questions?