swra311

download swra311

of 9

Transcript of swra311

  • 8/7/2019 swra311

    1/9

    Design Note DN118

    Porting SimpliciTI to the SmartRF CCxx10 Target BoardBy Siri Johnsrud

    Keywords

    CC1110Fx CC2510Fx

    SmartRF CCxx10 Target Board

    SimpliciTI CC1110 Mini DK

    CC2510 Mini DK

    1 Introduction

    The purpose of this design note is to showhow to easily port the existingSimpliciTI examples [1] to theSmartRF CCxx10 Target Board. The

    SmartRF CCxx10 Target Boards areincluded in the CCxx10 Mini DKs. In thisdocument, CCxx10 refers to CC1110 andCC2510.

  • 8/7/2019 swra311

    2/9

    Design Note DN118

    Table of Contents

    KEYWORDS.............................................................................................................................. 11 INTRODUCTION............................................................................................................. 12 ABBREVIATIONS........................................................................................................... 23 STEP BY STEP GUIDE .................................................................................................. 34 REFERENCES................................................................................................................ 75 GENERAL INFORMATION............................................................................................ 8

    5.1 DOCUMENT HISTORY.................................................................................................. 8

    2 Abbreviations

    DK Development KitLED Light Emitting DiodeRF Radio Frequency

  • 8/7/2019 swra311

    3/9

    Design Note DN118

    3 Step by Step Guide

    1. Start by downloading the newest revision of SimpliciTI [1]. By default the SimpliciTIsoftware is placed in a folder called Texas Instruments on C:\.

    2. Download the CC1110 and CC2510 Mini DK Software Example [2]. The user mustdecide where the code should be downloaded. For this design note, it is assumed thatthe software is downloaded to a folder called CCxx10MiniKit located on C:\

    3. Under C:\Texas Instruments\SimpliciTI-IAR-1.1.0\Components\bsp\boards, create anew folder called srfccxx10 as shown Figure 1.

    Figure 1. Create the srfccxx10 Folder

    4. Copy all content fromC:\CCxx10MiniKit\source\components\simpliciti\bsp\boards\srfccxx10 toC:\Texas Instruments\SimpliciTI-IAR-1.1.0\Components\bsp\boards\srfccxx10

    Figure 2. Copy Files from CC1110 and CC2510 Mini DK Software Example

  • 8/7/2019 swra311

    4/9

    Design Note DN118

    5. Under C:\Texas Instruments\SimpliciTI-IAR-1.1.0\Projects\Examples, take a copy of theSRF04 folder, paste it under the Examples folder, and name it srfccxx10 (see Figure 3).The examples in the SRF04 folder is written for the CC1110 and CC2510 radios andcan easily be modified to work on the SmartRF CCxx10 Target Boards.

    Figure 3. The srfccxx10 Folder Containing all the SimpliciTI Examples

    The next step is to change the project settings. This design note will show how this is donefor one of the examples (Polling with AP), but the procedure will be identical for all of theexamples.

    6. Open the Polling with AP workspace found under: C:\Texas Instruments\SimpliciTI-IAR-

    1.1.0\Projects\Examples\sfrccxx10\Polling_with_AP\IAR.7. Select Edit Configurationin the Projectpull-down menu (see Figure 4).

    Figure 4. Edit Configuration

    8. Remove all configurations that are not for the CC1110 or CC2510. The configurationsare removed by selecting them and pressing the Remove button, as shown in Figure 5.

    Figure 5. Remove Configuration

  • 8/7/2019 swra311

    5/9

    Design Note DN118

    9. Right-click on Polling_with_AP CC1110-Sender and select Options.. from themenu as shown in Figure 6.

    Figure 6. Options..

    10. In the C/C++ Compiler category, change$PROJ_DIR$\..\..\..\..\..\Components\bsp\boards\SRF04EB to$PROJ_DIR$\..\..\..\..\..\Components\bsp\boards\srfccxx10 as shown in Figure 7.

    Figure 7. Change Include Directories

    11. Repeat step 10 for all 8 configurations (see Figure 8).

    Figure 8. All Configurations

  • 8/7/2019 swra311

    6/9

  • 8/7/2019 swra311

    7/9

    Design Note DN118

    4 References

    [1] SimpliciTI (http://www.ti.com/simpliciTI )

    [2] CC1110 and CC2510 Mini DK Software Example (http://www.ti.com\lit\zip\swrc133 )

    [3] CC1110 & CC2510 Mini Development Kit Users Guide (swru236.pdf)

    http://www.ti.com/simpliciTIhttp://www.ti.com/lit/zip/swrc133http://www.ti.com/lit/swru236http://www.ti.com/lit/swru236http://www.ti.com/lit/zip/swrc133http://www.ti.com/simpliciTI
  • 8/7/2019 swra311

    8/9

    Design Note DN118

    5 General Information

    5.1 Document History

    Revision Date Description/ChangesSWRA311 2009.11.19 Initial release.

  • 8/7/2019 swra311

    9/9

    I M P O R T A N T N O T I C E

    T e x a s I n s t r u m e n t s I n c o r p o r a t e d a n d i t s s u b s i d i a r i e s ( T I ) r e s e r v e t h e r i g h t t o m a k e c o r r e c t i o n s , m o d i f i c a t i o n s , e n h a n c e m e n t s , i m p r o v e m e n t s , a n d o t h e r c h a n g e s t o i t s p r o d u c t s a n d s e r v i c e s a t a n y t i m e a n d t o d i s c o n t i n u e a n y p r o d u c t o r s e r v i c e w i t h o u t n o t i c e . C u s t o m e r s s h o u l do b t a i n t h e l a t e s t r e l e v a n t i n f o r m a t i o n b e f o r e p l a c i n g o r d e r s a n d s h o u l d v e r i f y t h a t s u c h i n f o r m a t i o n i s c u r r e n t a n d c o m p l e t e . A l l p r o d u c t s a r e s o l d s u b j e c t t o T I s t e r m s a n d c o n d i t i o n s o f s a l e s u p p l i e d a t t h e t i m e o f o r d e r a c k n o w l e d g m e n t .

    T I w a r r a n t s p e r f o r m a n c e o f i t s h a r d w a r e p r o d u c t s t o t h e s p e c i f i c a t i o n s a p p l i c a b l e a t t h e t i m e o f s a l e i n a c c o r d a n c e w i t h T I s s t a n d a r d

    w a r r a n t y . T e s t i n g a n d o t h e r q u a l i t y c o n t r o l t e c h n i q u e s a r e u s e d t o t h e e x t e n t T I d e e m s n e c e s s a r y t o s u p p o r t t h i s w a r r a n t y . E x c e p t w h e r e m a n d a t e d b y g o v e r n m e n t r e q u i r e m e n t s , t e s t i n g o f a l l p a r a m e t e r s o f e a c h p r o d u c t i s n o t n e c e s s a r i l y p e r f o r m e d .

    T I a s s u m e s n o l i a b i l i t y f o r a p p l i c a t i o n s a s s i s t a n c e o r c u s t o m e r p r o d u c t d e s i g n . C u s t o m e r s a r e r e s p o n s i b l e f o r t h e i r p r o d u c t s a n d a p p l i c a t i o n s u s i n g T I c o m p o n e n t s . T o m i n i m i z e t h e r i s k s a s s o c i a t e d w i t h c u s t o m e r p r o d u c t s a n d a p p l i c a t i o n s , c u s t o m e r s s h o u l d p r o v i d e a d e q u a t e d e s i g n a n d o p e r a t i n g s a f e g u a r d s .

    T I d o e s n o t w a r r a n t o r r e p r e s e n t t h a t a n y l i c e n s e , e i t h e r e x p r e s s o r i m p l i e d , i s g r a n t e d u n d e r a n y T I p a t e n t r i g h t , c o p y r i g h t , m a s k w o r k r i g h t , o r o t h e r T I i n t e l l e c t u a l p r o p e r t y r i g h t r e l a t i n g t o a n y c o m b i n a t i o n , m a c h i n e , o r p r o c e s s i n w h i c h T I p r o d u c t s o r s e r v i c e s a r e u s e d . I n f o r m a t i o np u b l i s h e d b y T I r e g a r d i n g t h i r d - p a r t y p r o d u c t s o r s e r v i c e s d o e s n o t c o n s t i t u t e a l i c e n s e f r o m T I t o u s e s u c h p r o d u c t s o r s e r v i c e s o r a w a r r a n t y o r e n d o r s e m e n t t h e r e o f . U s e o f s u c h i n f o r m a t i o n m a y r e q u i r e a l i c e n s e f r o m a t h i r d p a r t y u n d e r t h e p a t e n t s o r o t h e r i n t e l l e c t u a l p r o p e r t y o f t h e t h i r d p a r t y , o r a l i c e n s e f r o m T I u n d e r t h e p a t e n t s o r o t h e r i n t e l l e c t u a l p r o p e r t y o f T I .

    R e p r o d u c t i o n o f T I i n f o r m a t i o n i n T I d a t a b o o k s o r d a t a s h e e t s i s p e r m i s s i b l e o n l y i f r e p r o d u c t i o n i s w i t h o u t a l t e r a t i o n a n d i s a c c o m p a n i e d b y a l l a s s o c i a t e d w a r r a n t i e s , c o n d i t i o n s , l i m i t a t i o n s , a n d n o t i c e s . R e p r o d u c t i o n o f t h i s i n f o r m a t i o n w i t h a l t e r a t i o n i s a n u n f a i r a n d d e c e p t i v e b u s i n e s s p r a c t i c e . T I i s n o t r e s p o n s i b l e o r l i a b l e f o r s u c h a l t e r e d d o c u m e n t a t i o n . I n f o r m a t i o n o f t h i r d p a r t i e s m a y b e s u b j e c t t o a d d i t i o n a l r e s t r i c t i o n s .

    R e s a l e o f T I p r o d u c t s o r s e r v i c e s w i t h s t a t e m e n t s d i f f e r e n t f r o m o r b e y o n d t h e p a r a m e t e r s s t a t e d b y T I f o r t h a t p r o d u c t o r s e r v i c e v o i d s a l l

    e x p r e s s a n d a n y i m p l i e d w a r r a n t i e s f o r t h e a s s o c i a t e d T I p r o d u c t o r s e r v i c e a n d i s a n u n f a i r a n d d e c e p t i v e b u s i n e s s p r a c t i c e . T I i s n o t r e s p o n s i b l e o r l i a b l e f o r a n y s u c h s t a t e m e n t s .

    T I p r o d u c t s a r e n o t a u t h o r i z e d f o r u s e i n s a f e t y - c r i t i c a l a p p l i c a t i o n s ( s u c h a s l i f e s u p p o r t ) w h e r e a f a i l u r e o f t h e T I p r o d u c t w o u l d r e a s o n a b l y b e e x p e c t e d t o c a u s e s e v e r e p e r s o n a l i n j u r y o r d e a t h , u n l e s s o f f i c e r s o f t h e p a r t i e s h a v e e x e c u t e d a n a g r e e m e n t s p e c i f i c a l l y g o v e r n i n g s u c h u s e . B u y e r s r e p r e s e n t t h a t t h e y h a v e a l l n e c e s s a r y e x p e r t i s e i n t h e s a f e t y a n d r e g u l a t o r y r a m i f i c a t i o n s o f t h e i r a p p l i c a t i o n s , a n d a c k n o w l e d g e a n d a g r e e t h a t t h e y a r e s o l e l y r e s p o n s i b l e f o r a l l l e g a l , r e g u l a t o r y a n d s a f e t y - r e l a t e d r e q u i r e m e n t s c o n c e r n i n g t h e i r p r o d u c t s a n d a n y u s e o f T I p r o d u c t s i n s u c h s a f e t y - c r i t i c a l a p p l i c a t i o n s , n o t w i t h s t a n d i n g a n y a p p l i c a t i o n s - r e l a t e d i n f o r m a t i o n o r s u p p o r t t h a t m a y b e p r o v i d e d b y T I . F u r t h e r , B u y e r s m u s t f u l l y i n d e m n i f y T I a n d i t s r e p r e s e n t a t i v e s a g a i n s t a n y d a m a g e s a r i s i n g o u t o f t h e u s e o f T I p r o d u c t s i n s u c h s a f e t y - c r i t i c a l a p p l i c a t i o n s .

    T I p r o d u c t s a r e n e i t h e r d e s i g n e d n o r i n t e n d e d f o r u s e i n m i l i t a r y / a e r o s p a c e a p p l i c a t i o n s o r e n v i r o n m e n t s u n l e s s t h e T I p r o d u c t s a r e s p e c i f i c a l l y d e s i g n a t e d b y T I a s m i l i t a r y - g r a d e o r " e n h a n c e d p l a s t i c . " O n l y p r o d u c t s d e s i g n a t e d b y T I a s m i l i t a r y - g r a d e m e e t m i l i t a r y s p e c i f i c a t i o n s . B u y e r s a c k n o w l e d g e a n d a g r e e t h a t a n y s u c h u s e o f T I p r o d u c t s w h i c h T I h a s n o t d e s i g n a t e d a s m i l i t a r y - g r a d e i s s o l e l y a t t h e B u y e r ' s r i s k , a n d t h a t t h e y a r e s o l e l y r e s p o n s i b l e f o r c o m p l i a n c e w i t h a l l l e g a l a n d r e g u l a t o r y r e q u i r e m e n t s i n c o n n e c t i o n w i t h s u c h u s e .

    T I p r o d u c t s a r e n e i t h e r d e s i g n e d n o r i n t e n d e d f o r u s e i n a u t o m o t i v e a p p l i c a t i o n s o r e n v i r o n m e n t s u n l e s s t h e s p e c i f i c T I p r o d u c t s a r e d e s i g n a t e d b y T I a s c o m p l i a n t w i t h I S O / T S 1 6 9 4 9 r e q u i r e m e n t s . B u y e r s a c k n o w l e d g e a n d a g r e e t h a t , i f t h e y u s e a n y n o n - d e s i g n a t e d p r o d u c t s i n a u t o m o t i v e a p p l i c a t i o n s , T I w i l l n o t b e r e s p o n s i b l e f o r a n y f a i l u r e t o m e e t s u c h r e q u i r e m e n t s .

    F o l l o w i n g a r e U R L s w h e r e y o u c a n o b t a i n i n f o r m a t i o n o n o t h e r T e x a s I n s t r u m e n t s p r o d u c t s a n d a p p l i c a t i o n s o l u t i o n s :

    P r o d u c t s A p p l i c a t i o n s A m p l i f i e r s a m p l i f i e r . t i . c o m A u d i o w w w . t i . c o m / a u d i o D a t a C o n v e r t e r s d a t a c o n v e r t e r . t i . c o m A u t o m o t i v e w w w . t i . c o m / a u t o m o t i v e D L P P r o d u c t s w w w . d l p . c o m B r o a d b a n d w w w . t i . c o m / b r o a d b a n d D S P d s p . t i . c o m D i g i t a l C o n t r o l w w w . t i . c o m / d i g i t a l c o n t r o l C l o c k s a n d T i m e r s w w w . t i . c o m / c l o c k s M e d i c a l w w w . t i . c o m / m e d i c a l I n t e r f a c e i n t e r f a c e . t i . c o m M i l i t a r y w w w . t i . c o m / m i l i t a r y L o g i c l o g i c . t i . c o m O p t i c a l N e t w o r k i n g w w w . t i . c o m / o p t i c a l n e t w o r k P o w e r M g m t p o w e r . t i . c o m S e c u r i t y w w w . t i . c o m / s e c u r i t y M i c r o c o n t r o l l e r s m i c r o c o n t r o l l e r . t i . c o m T e l e p h o n y w w w . t i . c o m / t e l e p h o n y R F I D w w w . t i - r f i d . c o m V i d e o & I m a g i n g w w w . t i . c o m / v i d e o R F / I F a n d Z i g B e e S o l u t i o n s w w w . t i . c o m / l p r f W i r e l e s s w w w . t i . c o m / w i r e l e s s

    M a i l i n g A d d r e s s : T e x a s I n s t r u m e n t s , P o s t O f f i c e B o x 6 5 5 3 0 3 , D a l l a s , T e x a s 7 5 2 6 5 C o p y r i g h t 2 0 0 9 , T e x a s I n s t r u m e n t s I n c o r p o r a t e d

    http://www.ti.com/lprfhttp://www.ti.com/lprfhttp://www.ti.com/wirelesshttp://www.ti.com/wirelesshttp://www.ti-rfid.com/http://www.ti-rfid.com/http://www.ti.com/videohttp://microcontroller.ti.com/http://www.ti.com/telephonyhttp://power.ti.com/http://www.ti.com/securityhttp://logic.ti.com/http://www.ti.com/opticalnetworkhttp://interface.ti.com/http://www.ti.com/militaryhttp://www.ti.com/clockshttp://www.ti.com/medicalhttp://www.ti.com/medicalhttp://dsp.ti.com/http://www.ti.com/digitalcontrolhttp://www.ti.com/digitalcontrolhttp://amplifier.ti.com/http://www.ti.com/audiohttp://www.ti.com/wirelesshttp://www.ti.com/lprfhttp://www.ti.com/videohttp://www.ti-rfid.com/http://www.ti.com/telephonyhttp://microcontroller.ti.com/http://www.ti.com/securityhttp://power.ti.com/http://www.ti.com/opticalnetworkhttp://logic.ti.com/http://www.ti.com/militaryhttp://interface.ti.com/http://www.ti.com/medicalhttp://www.ti.com/clockshttp://www.ti.com/digitalcontrolhttp://dsp.ti.com/http://www.ti.com/broadbandhttp://www.dlp.com/http://www.ti.com/automotivehttp://dataconverter.ti.com/http://www.ti.com/audiohttp://amplifier.ti.com/