background image

 

 

CC2431

 

1. Introduction 

This CC2431DK User Manual describes how to use the software and hardware included in 
the CC2431 Development Kit. 
 
Please refer to the Quick Start Guide for a brief introduction on how to get started using the 
development kit. 
 

2. 

About this manual 

This manual contains some of the theoretical material needed to develop a positioning system 
based on CC2431 and gives a brief introduction to the software provided in the kit. 
 
 

3. Definitions 

Blind Node 

A node using CC2431 and the Location Engine to calculate its 
own position. 

Reference Node 

A node located on a static location. 

GUI Graphic 

User 

Interface 

Chipcon Packet Sniffer 

A PC tool to visualize traffic on radio  

Z-location Engine 

A PC tool used to configure and display location engine results 

RSSI 

Received Signal Strength Indicator 

TIMAC 

Texas Instruments Media Access Control, a SW protocol that 
handles IEEE 802.15.4 data handling 

SOC_BB 

System on Chip Battery Board 

CC243xEM 

CC2430/ CC2431 Evaluation Module, a small plug-in module 
for SmartRF04DK, should be used as reference design for RF 
layout. 

CC2430-F128 

CC2430 with 128 kB FLASH 

 
 

  

SWRU076D 

Page 4 of 32 

Содержание Chipcon Products CC2431

Страница 1: ...CC2431 CC2431DK Development Kit User Manual Rev 1 5 SWRU076D Page 1 of 32 ...

Страница 2: ...ACE 20 10 1 MENUS AND BUTTONS 21 10 1 1 Settings 21 10 2 SETTINGS PANELS 22 10 2 1 Setup 22 10 2 2 Background 22 10 2 3 Reference Node Setup 23 10 2 4 Blind Node Setup 24 10 3 THE STATUS BAR 24 11 NODES 25 10 1 BLIND NODE THEORY OF OPERATION 25 11 1 1 Polled Mode 25 11 1 2 Auto Mode 26 11 2 REFERENCE NODE THEORY OF OPERATION 26 11 3 LOCATION DONGLE THEORY OF OPERATION 26 12 MESSAGES 26 12 1 XY RSS...

Страница 3: ...CC2431 13 1 TIMING CONSTANTS 29 13 2 RSSI AVERAGING CONSTANTS 29 14 SCHEMATICS 30 15 DOCUMENT HISTORY 32 SWRU076D Page 3 of 32 ...

Страница 4: ...ode A node using CC2431 and the Location Engine to calculate its own position Reference Node A node located on a static location GUI Graphic User Interface Chipcon Packet Sniffer A PC tool to visualize traffic on radio Z location Engine A PC tool used to configure and display location engine results RSSI Received Signal Strength Indicator TIMAC Texas Instruments Media Access Control a SW protocol ...

Страница 5: ...or location calculation and demonstration The sample application allows you to Evaluate the SmartRF 04 products Apply power the boards and the plug and play kit can be used for range testing and location engine testing Use SmartRF Studio to perform RF evaluation and measurements The radio can be easily configured to measure sensitivity output power and other RF parameters Develop and test your own...

Страница 6: ...ind Node hence the algorithm is decentralized This reduces the amount of data transferred on the RF interface since only the calculated position is transmitted The location engine implemented in CC2431 can use up to 16 Reference Nodes for each calculation The data that is necessary to do a calculation are X Y and RSSI values for each of the Reference Nodes used in the system setup In addition it n...

Страница 7: ...est Reference Nodes collecting X Y and RSSI values for each of these nodes Then it uses the location engine hardware to calculate its position based on the collected parameters from several Reference Nodes 5 2 3 Dongle The Dongle will communicate with the entire network it can request or configure the X Y values of all Reference Nodes and the A and N values of the Blind Nodes via the Z location En...

Страница 8: ...ge Then the Blind Node sends out a blast of several 1 hop broadcast messages and any Reference Node receiving such a message shall make a running average of the RSSI of the packets received from a particular Blind Node Data Collecting Phase After the broadcast phase the Blind Node will send a 1 hop unicast message to every Reference Node in radio range requesting the average RSSI calculated during...

Страница 9: ...CC2431 Notation Max Accuracy UINT8_1 127 5 0 5 meter UINT8_2 63 75 0 25 meter UINT16_2 16 383 75 0 25 meter Table 1 Notation SWRU076D Page 9 of 32 ...

Страница 10: ...ti com TIMAC Requires registration Location engine example source code Z location Engine PC application Install the Z location Engine and IAR Workbench The Location engine example source code is provided as a sample application in the TIMAC To install the location sample source code in the right directory copy the zip file with the source code to C Texas Instruments TI MAC 1 1 0 Unzip the file and...

Страница 11: ...nt from the line with the name of the device desired in the LocationProfile h Here is how to build a Dongle From a IEEE 802 15 4 network standpoint there is no coordinator and the protocol is setup to be a proprietary network using the TIMAC as an abstraction layer with the use of the of the MCPS SAP primitive MCPS DATA Please refer to the TIMAC documentation for further details The Chipcon CC2431...

Страница 12: ...CC2431 separate layer within the source code but is merged with the TIMAC sub layer for performance and code size purposes SWRU076D Page 12 of 32 ...

Страница 13: ...tteries The System on Chip battery board should be powered by two AA batteries It can in addition be powered by a lab power connected directly to GND and VDD on the board The user should notice that no voltage converter is used the lab power voltage is connected directly to the chip Figure 7 Bottom side of SoC Battery Board I O connector A and B gives access to all I O on the SoC and to some addit...

Страница 14: ...ortant pins on P4 are pin 3 4 for enabling the LED and pin 5 6 to enable the button S1 Pin 1 is P1 6 TD and pin 2 is P1 7 RD for easy access to UART Pin 7 is VDD and pin 8 is GND P4 I O Connector CC2430 EM connector Figure 8 Battery board Signal flow Power to the board can be switched on and off by using power switch P3 7 2 Programming of SOC_BB CC2431EM can be programmed debugged when mounted on ...

Страница 15: ...ogramming and debugging of external systems with different operating voltage than the SmartRF04EB The debug connector P14 SoC debug flash includes two VDD connections on pin 2 and pin 9 The function is different for these connections Pin 2 VDD supplies voltage to the voltage converter This pin should be connected to VDD on the external board to assure that the correct supply voltage is used for th...

Страница 16: ...nded debug connector layout Top view 7 3 SmartRF04EB Please refer to the user manual available for CC2430DK Ti document number SWRU039 for a description of the SmartRF04EB Figure 11 7 4 CC2430DB CC2430DB Figure 12 is only included in the CC2430ZDK please refer to CC2430ZDK User Manual for a description of the board Figure 11 SmartRF04EB Figure 12 CC2430DB 1 GND 2 VDD 3 DC 4 DD 7 Reset_N SWRU076D P...

Страница 17: ...2430DB joystick Upwards Upwards Refer to chapter 9 for how to configure the nodes from the provided PC application 8 2 LEDs In each project there is a header file that is customized for the hardware named hal_board_cfg h and it contains the following define HAL_LED TRUE When this symbol is defined to TRUE the LED s available on the platform will blink to signal different states for the node It is ...

Страница 18: ...This file can be downloaded from the CC2431 product page on www ti com The installation file will add an item to the start menu The Z Location Engine application can be started by clicking Start Programs Chipcon Z Location Engine 9 3 Connections Figure 16 Connections USB is optional The SmartRF04EB should be powered either from a power supply or from USB The PC must be connected to the SmartRF04EB...

Страница 19: ...s in the Z Location Engine PC application Below is a highly simplified version of the algorithm used Broadcast request for blind nodes Wait for broadcast reply Broadcast request for reference nodes Wait for broadcast reply Iterate the list of received blind nodes Unicast request for calculated position Wait for reply Repeat from start Some of the timer intervals in the algorithm can be changed by ...

Страница 20: ... Interface Interaction with the Z Location Engine is done through graphical user interface shown below The user interface and menus are described in the following sections Figure 17 Z Location Screenshot SWRU076D Page 20 of 32 ...

Страница 21: ...ettings that can be changed are available in the dialog box shown below This dialog is opened by pressing Settings in the menu Figure 19 Settings Node discovery interval Start Node request interval This value is given in seconds The value sets the interval between each time the PC application attempt to start broadcast of node requests The value 0 can be used to disable the broadcast of node reque...

Страница 22: ...y to download firmware to a connected development board directly from the application This can be done easily by selecting the hex file to program selecting the correct device from the device list and pressing Load FW Note that this flash programming utility always will retain the IEEE address stored in the 8 last bytes in the flash of CC2430 CC2431 To generate a HEX file please refer to the Texas...

Страница 23: ...e next image shows Visible grid checked the next shows both checked and the lowermost right image shows Visible grid unchecked and Show background image checked Figure 22 Different background settings 10 2 3 Reference Node Setup This tab gives the possibility to set up or change X and Y coordinates assigned to each of the reference nodes To configure this double click on a reference node in the li...

Страница 24: ... be used to change the settings used for each blind node By double clicking on a node in the list the present configuration values can be seen These values can be changed By pressing Update the new settings will be transferred to the selected node After a few seconds the node will be updated The status of this update process will be shown in the column named Status in the device list The parameter...

Страница 25: ...then perform the required calculation and then send a Blind Node Response Cluster ID 0x0014 back to the original requester When the Blind Node Request command is sent to a Blind Node the request is processed in the BlindNode_ProcessEvent event handler which handles all the system and user events for the Blind Node location application The application is notified of an incoming over the air message...

Страница 26: ...ring Reference Node and Blind Node setup parameters The connection to the PC is via a serial port and therefore a device built as a Dongle must have a serial port Currently the only 2430 boards with a readily usable serial port are the EB boards Therefore the Sample Application for Dongle will only build as an EB device Note that although the Dongle will build as an EndDevice such a configuration ...

Страница 27: ...e which could take seconds depending on the total network traffic This message doesn t have a body to the message but just a cluster ID 12 4 Blind Node Find Response Cluster ID 0x0014 This message is sent out of the Blind Node in response to the Blind Node Request message Byte Index Description Value 0 Status 0 Success 1 Not enough Reference Node responding 1 2 Blind Node s calculated X position B...

Страница 28: ...rements 5 6 Cycle Time Low byte first The number of milliseconds to wait before starting the calculation cycle Only valid in the Auto Operating Mode In 100 millisecond increments 7 8 Report Short Address low byte first Destination address for Blind Node Response messages in AUTO mode In POLL mode the response is returned to the requestor s address 0x0000 0xFFFF 9 Report Endpoint Destination endpoi...

Страница 29: ... poll for the RSSI average before selecting the best 16 and feeding them to the location engine BLINDNODE_MIN_REF_NODES 3 Minimum number of Reference Nodes to feed to the location engine BLINDNODE_BLAST_COUNT 8 Number of 1 hop broadcasts to blast Table 4 Other Constants 13 2 RSSI averaging constants The RSSI value used as input to the location engine hardware should be as accurate as possible Aver...

Страница 30: ...ged in msa h 14 Schematics The schematic for the SOC_BB Battery Board is shown below The CC2431EM is equal to the CC2430EM except for the CC2430 CC2431 chip The complete reference design for the CC2430EM can be downloaded from the CC2430 product web site Schematic for the SmartRF04EB is found in the CC1110DK CC2430DK CC2510DK Development Kit User Manual SWRU039 SWRU076D Page 30 of 32 ...

Страница 31: ...CC2431 Figure 26 SOC_BB Schematics SWRU076D Page 31 of 32 ...

Страница 32: ... 2006 08 14 Some changed in the structure of the manual Updated to reflect some changes in the IAR project files 1 3 2006 11 14 Minor changes to make the document easier to read 1 4 2007 03 13 Updated with new PC GUI and TIMAC 1 5 2007_06_05 Changed constant values to correspond with MAC 1 1 0 release SWRU076D Page 32 of 32 ...

Страница 33: ...ice and is an unfair and deceptive business practice TI is not responsible or liable for any such statements TI products are not authorized for use in safety critical applications such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury or death unless officers of the parties have executed an agreement specifically governing such use Buyer...

Страница 34: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Texas Instruments CC2431DK ...

Отзывы: