最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

CC-6LOWPAN-DK-868 开发板使用指南说明书

IT圈 admin 26浏览 0评论

2024年10月20日发(作者:仆凌春)

SWRU276

September 2011

CC-6LOWPAN-DK-868 Quick Start Guide

STEP 1 – Introduction

CC1180DB Nodes

This guide describes how to set up a CC-6LOWPAN-DK-868 development kit using

the pre-programmed devices of the CC-6LOWPAN-DK-868 Kit.

The 6LoWPAN development kit is designed to give a simple

introduction to 6LoWPAN wireless networks in the 868/915MHz bands. The

hardware consists of an OMAP-L138 based Edge Router equipped with

a CC1180EM, 2 CC430F5137 based nodes and 2 CC1180DB nodes.

The CC1180DB boards consist of a network processor (CC1180)

pre-programmed with a 6LoWPAN software stack, and a MSP430F5438A

microcontroller that controls the 6LoWPAN device.

The CC430 based nodes consists of a CC430F5137 SoC (RF+MCU) that

runs both the 6LoWPAN software stack and the controlling application.

The Edge Router board is running Linux and is pre-programmed with

Sensinode Nanorouter 2.0 software, which acts as a bridge between IPv6

and 6LoWPAN. The Edge Router is connected to a PC via Ethernet. The

Edge Router sets up the network and configures the 6LoWPAN network

CC430 Node CC430 Node

Edge Router

parameters.

(Gateway)

The development kit demonstrates an example of a typical sensor network with a simple Network Analyzer software

running on the nodes. The nodes are automatically given a unique IPv6 address and can be pinged from a PC using

standard tools. Each node in the 6LoWPAN network also has a unique preprogrammed IEEE address.

The battery powered nodes can act as routers that on request report their key data to the Edge Router.

STEP 2 – Install the PC software and connect the Edge Router

Install the Windows IPv6 stack on a Windows XP PC. The IPv6 installation is not needed in Linux and Windows 7, since

IPv6 is already installed.

Open a command prompt and write ipv6 install

Assign the IPv6 address 2001::22 to the PC using the command prompt: (Run in administrator mode in Windows 7)

netsh interface ipv6 add address “Local Area Connection” 2001::22

Set up a default route using the command prompt: (Run in administrator mode in Windows 7)

netsh interface ipv6 add route ::/0 “Local Area Connection”

Note! You must change “Local Area Connection” to the actual name of the Ethernet connection you want to use. You can

get it from Windows Network Connections. The IPv6 address 2001::22 has to be unique on your network.

Plug in the power cable to the Edge Router and connect the Ethernet cable between the Edge Router and the PC. Make

sure that the Edge Router is not powered on.

Insert the SD card into the slot on the Edge Router.

CC1180EM SD Card slot

Connect the CC1180EM to the

adapter card and connect an antenna

Adapter Card

to the CC1180EM.

Connect the adapter card to the J30

connector on the Edge Router. The

adapter card can be fastened to the

Edge Router by the provided M2

screws.

Green LED

Switch S7-2

Make sure that the switch S7-2 is in position ON,

and all other in position OFF.

Power on the Edge Router using the S4 switch.

It will take approximately 40 seconds to boot the Edge Router. When the green LED on the Adapter Card goes ON it

indicates that the Edge Router is up and running. You can connect the provided RS-232 NULL modem cable between

the Edge Router and PC to get debug information, Windows HyperTerminal with settings; Baud Rate 115200, 8

Data Bits, No Parity, One Stop Bit and No Flow Control.

1/2

SWRU276

September 2011

STEP 3 – Connecting the nodes to the 6LoWPAN network

Insert batteries in one or more of the CC1180DB boards and make sure the jumper is connected

between P1-1 and P1-2 to power on the node. It will automatically connect to existing network.

LEDs D1 and D2 are controlled from the CC1180 network processor and gives status on node

connection. When the CC1180DB node is connected to the network the green LED (D2) will be on,

if not connected it will be off. The red LED (D1) blink when node is communicating. LEDs D3 and

D4 are controlled from the host MCU and displays the RSSI value. Both LEDs off: RSSI above -

40dBm, green LED on red LED off: RSSI between -40 and -65dBm, both LEDs on: RSSI between

-65 and -90dBm, green LED off red LED on: RSSI below -90dBm. The red LED toggles with 1 sec

interval if 3 concurrent reply messages were missed or Analyzer is not activated on PC.

Insert batteries in one or more of the CC430F5137 battery packs and connect an antenna. Connect the battery pack

cable to power on the node.

LEDs D1 and D2 are controlled from the 6LoWPAN stack in CC430 and gives status on

node connection. When the CC430 node is connected to the network the green LED

(D1) will be on. The red LED (D2) blink when node is communicating.

When nodes are powered on they connect automatically to the 6LoWPAN network,

either directly to the Edge Router or via other nodes (Routers) in the network. Upon

request from the Edge Router they send messages including network information to the

Edge Router.

Jumper J1

STEP 4 – Installing and Using NodeView Network Analyzer software

Node View can be used to interact with the nodes in the network. It has several powerful

features such as Network Analyzer, message logs, running demo applications and to send

custom data to nodes.

Download and install the latest Java runtime engine from

to your Windows PC.

Minimum version of Java to run NodeView is 1.6.0

Extract the provided NodeView package to C:NodeView

NodeView package can be found via link on

Start NodeView by double-clicking the extracted

file in C:NodeView

Connect to your Edge Router by selecting File -> Add

NanoRouter IPv6 in the RouterView tab.

Enter the IPv6 address of the Edge Router which is

2001::11

The connected Edge Router is then shown in the Routers

field.

The connected nodes are shown in the Nodes field. You

can now use standard network tools to communicate with

the nodes. To ping a node right-click a node and copy the IPv6 address of the node. Open a command prompt on your

Windows XP PC and write: ping6 –n 10 [IPv6 address] Replace [IPv6 address] with the copied IPv6 address of

the node you want to ping. This example will ping the node 10 times. Use the ping command on Linux and Windows 7.

You can also view the network topology in the NodeView tab Network analyzer.

STEP 5 – Next steps and more Information

Extensive examples are provided to help you get started. Building and running each example is recommended to

become acquainted with the devices. Refer to the examples’ wiki page for more information.

For detailed information about the sample applications please see the following resources:

CC-6LOWPAN-DK-868 wiki page: //CC-6LoWPAN

CC-6LOWPAN-DK-868 product web page: /6lowpan

The Low Power RF Online Community has forums, blogs and videos. Use the forums to find information, discuss

and get help with your design. Join us at /lprf-forum

Important note: The CC-6LOWPAN-DK-868 kit is an educational tool that allows developers to get familiar with basic

6LoWPAN networks. It is not intended as a 6LoWPAN reference design.

2/2

IMPORTANTNOTICE

TexasInstrumentsIncorporatedanditssubsidiaries(TI)reservetherighttomakecorrections,modifications,enhancements,improvements,

andotherchangestoitsproductsandseersshould

obtainthelatestrelevantinformationbeforeplacductsare

soldsubjecttoTI’stermsandconditionsofsalesuppliedatthetimeoforderacknowledgment.

TIwarrantsperformanceofitshardwareproductstothespecificationsapplicableatthetimeofsaleinaccordancewithTI’sstandard

gandotherqualitycontroltewhere

mandatedbygovernmentrequirements,testingofallparametersofeachproductisnotnecessarilyperformed.

TIassersareresponsiblefortheirproductsand

mizetherisksassociatedwithcustomerproductsandapplications,customersshouldprovide

adequatedesignandoperatingsafeguards.

TIdoesnotwarrantorrepresentthatanylicense,eitherexpressorimplied,isgrantedunderanyTIpatentright,copyright,maskworkright,

orotherTIintellectualpropertyrightrelatingtoanycombination,machine,ation

publishedbyTIregardingthird-partyproductsorservicesdoesnotconstitutealicensefromTItousesuchproductsorservicesora

uchinformationmayrequirealicensefromathirdpartyunderthepatentsorotherintellectual

propertyofthethirdparty,oralicensefromTIunderthepatentsorotherintellectualpropertyofTI.

ReproductionofTIinformationinTIdatabooksordatasheetsispermissibleonlyifreproductioniswithoutalterationandisaccompanied

byallassociatedwarranties,conditions,limitations,uctionofthisinformationwithalterationisanunfairanddeceptive

ationofthirdpartiesmaybesubjecttoadditional

restrictions.

ResaleofTIproductsorserviceswithstatementsdifferentfromorbeyondtheparametersstatedbyTIforthatproductorservicevoidsall

expressandanyimpliedwarrantiesfortheassocit

responsibleorliableforanysuchstatements.

TIproductsarenotauthorizedforuseinsafety-criticalapplications(suchaslifesupport)whereafailureoftheTIproductwouldreasonably

beexpectedtocauseseverepersonalinjuryordeath,unlessofficersofthepartieshaveexecutedanagreementspecificallygoverning

representthattheyhaveallnecessaryexpertiseinthesafetyandregulatoryramificationsoftheirapplications,and

acknowledgeandagreethattheyaresolelyresponsibleforalllegal,regulatoryandsafety-relatedrequirementsconcerningtheirproducts

andanyuseofTIproductsinsuchsafety-criticalapplications,notwithstandinganyapplications-relatedinformationorsupportthatmaybe

r,BuyersmustfullyindemnifyTIanditsrepresentativesagainstanydamagesarisingoutoftheuseofTIproductsin

suchsafety-criticalapplications.

TIproductsareneitherdesignednorintendedforuseinmilitary/aerospaceapplicationsorenvironmentsunlesstheTIproductsare

specificallydesignatedbyTIasmilitary-gradeor"enhancedplastic."OnlyproductsdesignatedbyTIasmilitary-grademeetmilitary

acknowledgeandagreethatanysuchuseofTIproductswhichTIhasnotdesignatedasmilitary-gradeissolelyat

theBuyer'srisk,andthattheyaresolelyresponsibleforcompliancewithalllegalandregulatoryrequirementsinconnectionwithsuchuse.

TIproductsareneitherdesignednorintendedforuseinautomotiveapplicationsorenvironmentsunlessthespecificTIproductsare

designatedbyTIascompliantwithISO/acknowledgeandagreethat,iftheyuseanynon-designated

productsinautomotiveapplications,TIwillnotberesponsibleforanyfailuretomeetsuchrequirements.

FollowingareURLswhereyoucanobtaininformationonotherTexasInstrumentsproductsandapplicationsolutions:

Products

Audio

Amplifiers

DataConverters

DLP®Products

DSP

ClocksandTimers

Interface

Logic

PowerMgmt

Microcontrollers

RFID

OMAPMobileProcessors

WirelessConnctivity

/audio

/clocks

/omap

/wirelessconnectivity

Applications

/communications

ComputersandPeripherals

ConsumerElectronics

EnergyandLighting

Industrial

Medical

Security

Space,AvionicsandDefense

VideoandImaging

/computers

/consumer-apps

/energy

/industrial

/medical

/security

/space-avionics-defense

/video

/automotive

MailingAddress:TexasInstruments,PostOfficeBox655303,Dallas,Texas75265

Copyright©2011,TexasInstrumentsIncorporated

2024年10月20日发(作者:仆凌春)

SWRU276

September 2011

CC-6LOWPAN-DK-868 Quick Start Guide

STEP 1 – Introduction

CC1180DB Nodes

This guide describes how to set up a CC-6LOWPAN-DK-868 development kit using

the pre-programmed devices of the CC-6LOWPAN-DK-868 Kit.

The 6LoWPAN development kit is designed to give a simple

introduction to 6LoWPAN wireless networks in the 868/915MHz bands. The

hardware consists of an OMAP-L138 based Edge Router equipped with

a CC1180EM, 2 CC430F5137 based nodes and 2 CC1180DB nodes.

The CC1180DB boards consist of a network processor (CC1180)

pre-programmed with a 6LoWPAN software stack, and a MSP430F5438A

microcontroller that controls the 6LoWPAN device.

The CC430 based nodes consists of a CC430F5137 SoC (RF+MCU) that

runs both the 6LoWPAN software stack and the controlling application.

The Edge Router board is running Linux and is pre-programmed with

Sensinode Nanorouter 2.0 software, which acts as a bridge between IPv6

and 6LoWPAN. The Edge Router is connected to a PC via Ethernet. The

Edge Router sets up the network and configures the 6LoWPAN network

CC430 Node CC430 Node

Edge Router

parameters.

(Gateway)

The development kit demonstrates an example of a typical sensor network with a simple Network Analyzer software

running on the nodes. The nodes are automatically given a unique IPv6 address and can be pinged from a PC using

standard tools. Each node in the 6LoWPAN network also has a unique preprogrammed IEEE address.

The battery powered nodes can act as routers that on request report their key data to the Edge Router.

STEP 2 – Install the PC software and connect the Edge Router

Install the Windows IPv6 stack on a Windows XP PC. The IPv6 installation is not needed in Linux and Windows 7, since

IPv6 is already installed.

Open a command prompt and write ipv6 install

Assign the IPv6 address 2001::22 to the PC using the command prompt: (Run in administrator mode in Windows 7)

netsh interface ipv6 add address “Local Area Connection” 2001::22

Set up a default route using the command prompt: (Run in administrator mode in Windows 7)

netsh interface ipv6 add route ::/0 “Local Area Connection”

Note! You must change “Local Area Connection” to the actual name of the Ethernet connection you want to use. You can

get it from Windows Network Connections. The IPv6 address 2001::22 has to be unique on your network.

Plug in the power cable to the Edge Router and connect the Ethernet cable between the Edge Router and the PC. Make

sure that the Edge Router is not powered on.

Insert the SD card into the slot on the Edge Router.

CC1180EM SD Card slot

Connect the CC1180EM to the

adapter card and connect an antenna

Adapter Card

to the CC1180EM.

Connect the adapter card to the J30

connector on the Edge Router. The

adapter card can be fastened to the

Edge Router by the provided M2

screws.

Green LED

Switch S7-2

Make sure that the switch S7-2 is in position ON,

and all other in position OFF.

Power on the Edge Router using the S4 switch.

It will take approximately 40 seconds to boot the Edge Router. When the green LED on the Adapter Card goes ON it

indicates that the Edge Router is up and running. You can connect the provided RS-232 NULL modem cable between

the Edge Router and PC to get debug information, Windows HyperTerminal with settings; Baud Rate 115200, 8

Data Bits, No Parity, One Stop Bit and No Flow Control.

1/2

SWRU276

September 2011

STEP 3 – Connecting the nodes to the 6LoWPAN network

Insert batteries in one or more of the CC1180DB boards and make sure the jumper is connected

between P1-1 and P1-2 to power on the node. It will automatically connect to existing network.

LEDs D1 and D2 are controlled from the CC1180 network processor and gives status on node

connection. When the CC1180DB node is connected to the network the green LED (D2) will be on,

if not connected it will be off. The red LED (D1) blink when node is communicating. LEDs D3 and

D4 are controlled from the host MCU and displays the RSSI value. Both LEDs off: RSSI above -

40dBm, green LED on red LED off: RSSI between -40 and -65dBm, both LEDs on: RSSI between

-65 and -90dBm, green LED off red LED on: RSSI below -90dBm. The red LED toggles with 1 sec

interval if 3 concurrent reply messages were missed or Analyzer is not activated on PC.

Insert batteries in one or more of the CC430F5137 battery packs and connect an antenna. Connect the battery pack

cable to power on the node.

LEDs D1 and D2 are controlled from the 6LoWPAN stack in CC430 and gives status on

node connection. When the CC430 node is connected to the network the green LED

(D1) will be on. The red LED (D2) blink when node is communicating.

When nodes are powered on they connect automatically to the 6LoWPAN network,

either directly to the Edge Router or via other nodes (Routers) in the network. Upon

request from the Edge Router they send messages including network information to the

Edge Router.

Jumper J1

STEP 4 – Installing and Using NodeView Network Analyzer software

Node View can be used to interact with the nodes in the network. It has several powerful

features such as Network Analyzer, message logs, running demo applications and to send

custom data to nodes.

Download and install the latest Java runtime engine from

to your Windows PC.

Minimum version of Java to run NodeView is 1.6.0

Extract the provided NodeView package to C:NodeView

NodeView package can be found via link on

Start NodeView by double-clicking the extracted

file in C:NodeView

Connect to your Edge Router by selecting File -> Add

NanoRouter IPv6 in the RouterView tab.

Enter the IPv6 address of the Edge Router which is

2001::11

The connected Edge Router is then shown in the Routers

field.

The connected nodes are shown in the Nodes field. You

can now use standard network tools to communicate with

the nodes. To ping a node right-click a node and copy the IPv6 address of the node. Open a command prompt on your

Windows XP PC and write: ping6 –n 10 [IPv6 address] Replace [IPv6 address] with the copied IPv6 address of

the node you want to ping. This example will ping the node 10 times. Use the ping command on Linux and Windows 7.

You can also view the network topology in the NodeView tab Network analyzer.

STEP 5 – Next steps and more Information

Extensive examples are provided to help you get started. Building and running each example is recommended to

become acquainted with the devices. Refer to the examples’ wiki page for more information.

For detailed information about the sample applications please see the following resources:

CC-6LOWPAN-DK-868 wiki page: //CC-6LoWPAN

CC-6LOWPAN-DK-868 product web page: /6lowpan

The Low Power RF Online Community has forums, blogs and videos. Use the forums to find information, discuss

and get help with your design. Join us at /lprf-forum

Important note: The CC-6LOWPAN-DK-868 kit is an educational tool that allows developers to get familiar with basic

6LoWPAN networks. It is not intended as a 6LoWPAN reference design.

2/2

IMPORTANTNOTICE

TexasInstrumentsIncorporatedanditssubsidiaries(TI)reservetherighttomakecorrections,modifications,enhancements,improvements,

andotherchangestoitsproductsandseersshould

obtainthelatestrelevantinformationbeforeplacductsare

soldsubjecttoTI’stermsandconditionsofsalesuppliedatthetimeoforderacknowledgment.

TIwarrantsperformanceofitshardwareproductstothespecificationsapplicableatthetimeofsaleinaccordancewithTI’sstandard

gandotherqualitycontroltewhere

mandatedbygovernmentrequirements,testingofallparametersofeachproductisnotnecessarilyperformed.

TIassersareresponsiblefortheirproductsand

mizetherisksassociatedwithcustomerproductsandapplications,customersshouldprovide

adequatedesignandoperatingsafeguards.

TIdoesnotwarrantorrepresentthatanylicense,eitherexpressorimplied,isgrantedunderanyTIpatentright,copyright,maskworkright,

orotherTIintellectualpropertyrightrelatingtoanycombination,machine,ation

publishedbyTIregardingthird-partyproductsorservicesdoesnotconstitutealicensefromTItousesuchproductsorservicesora

uchinformationmayrequirealicensefromathirdpartyunderthepatentsorotherintellectual

propertyofthethirdparty,oralicensefromTIunderthepatentsorotherintellectualpropertyofTI.

ReproductionofTIinformationinTIdatabooksordatasheetsispermissibleonlyifreproductioniswithoutalterationandisaccompanied

byallassociatedwarranties,conditions,limitations,uctionofthisinformationwithalterationisanunfairanddeceptive

ationofthirdpartiesmaybesubjecttoadditional

restrictions.

ResaleofTIproductsorserviceswithstatementsdifferentfromorbeyondtheparametersstatedbyTIforthatproductorservicevoidsall

expressandanyimpliedwarrantiesfortheassocit

responsibleorliableforanysuchstatements.

TIproductsarenotauthorizedforuseinsafety-criticalapplications(suchaslifesupport)whereafailureoftheTIproductwouldreasonably

beexpectedtocauseseverepersonalinjuryordeath,unlessofficersofthepartieshaveexecutedanagreementspecificallygoverning

representthattheyhaveallnecessaryexpertiseinthesafetyandregulatoryramificationsoftheirapplications,and

acknowledgeandagreethattheyaresolelyresponsibleforalllegal,regulatoryandsafety-relatedrequirementsconcerningtheirproducts

andanyuseofTIproductsinsuchsafety-criticalapplications,notwithstandinganyapplications-relatedinformationorsupportthatmaybe

r,BuyersmustfullyindemnifyTIanditsrepresentativesagainstanydamagesarisingoutoftheuseofTIproductsin

suchsafety-criticalapplications.

TIproductsareneitherdesignednorintendedforuseinmilitary/aerospaceapplicationsorenvironmentsunlesstheTIproductsare

specificallydesignatedbyTIasmilitary-gradeor"enhancedplastic."OnlyproductsdesignatedbyTIasmilitary-grademeetmilitary

acknowledgeandagreethatanysuchuseofTIproductswhichTIhasnotdesignatedasmilitary-gradeissolelyat

theBuyer'srisk,andthattheyaresolelyresponsibleforcompliancewithalllegalandregulatoryrequirementsinconnectionwithsuchuse.

TIproductsareneitherdesignednorintendedforuseinautomotiveapplicationsorenvironmentsunlessthespecificTIproductsare

designatedbyTIascompliantwithISO/acknowledgeandagreethat,iftheyuseanynon-designated

productsinautomotiveapplications,TIwillnotberesponsibleforanyfailuretomeetsuchrequirements.

FollowingareURLswhereyoucanobtaininformationonotherTexasInstrumentsproductsandapplicationsolutions:

Products

Audio

Amplifiers

DataConverters

DLP®Products

DSP

ClocksandTimers

Interface

Logic

PowerMgmt

Microcontrollers

RFID

OMAPMobileProcessors

WirelessConnctivity

/audio

/clocks

/omap

/wirelessconnectivity

Applications

/communications

ComputersandPeripherals

ConsumerElectronics

EnergyandLighting

Industrial

Medical

Security

Space,AvionicsandDefense

VideoandImaging

/computers

/consumer-apps

/energy

/industrial

/medical

/security

/space-avionics-defense

/video

/automotive

MailingAddress:TexasInstruments,PostOfficeBox655303,Dallas,Texas75265

Copyright©2011,TexasInstrumentsIncorporated

发布评论

评论列表 (0)

  1. 暂无评论