background image

 

54 

 

ATZB-EVB-XXX-XXX User Manual 

AVR-09-2011 

# Cleaning... --------------------------------
---------- 

clean: 

 @echo 

 

 

@echo -------Application cleaning-----------

------------- 

 

rm -rf $(PRJ_NAME).elf $(PRJ_NAME).hex 

$(PRJ_NAME).srec $(PRJ_NAME).o $(PRJ_NAME).map 
$(PRJ_NAME).bin 

 @echo 

 

 

@echo -------PDS library cleaning-----------

------------- 

 

make clean -C $(PDS_PATH) 

 @echo 

 

 

@echo -------Configuration Server library 

cleaning------- 

 

make clean -C $(CS_PATH) 

 @echo 

 

 

# eof Makefile 

Содержание ATZB-EVB-24-A2

Страница 1: ...ZigBit Development Kits ATZB EVB 24 SMA ATZB EVB 900 SMA ATZB EVB A24 SMA ATZB EVB 24 PCB ATZB EVB 24 A2 User Manual ZigBit Development Kits User Manual Rev 0 5 AVR 09 11...

Страница 2: ...ion of the in band or out band radiation levels It can result in progressing violation of emission level limits thus causing harmful interference Precautions The product radiates power in the microwav...

Страница 3: ...MAC and Physical Layer PHY Specifications for Low Rate Wireless Personal Area Networks LR WPANs 13 TSL2550 Ambient Light Sensor With Smbus Interface TAOS Datasheet TAOS029E February 2006 http www tao...

Страница 4: ...ks the ZigBee end device provides sensor data sent to a router End device is often subject to power management restrictions so it may be in sleeping mode most of the time ESD Electrostatic Discharge G...

Страница 5: ...tegy The ZigBee coordinator is also responsible for routing RP SMA Reversed Polarity Surface Mount Assembly RS 232 Serial binary data interconnection interface which is commonly used in computer seria...

Страница 6: ...cumentation Distribution CD 1 item 3 Hardware General Specifications ATZB EVB MeshBean board is intended to evaluate the performance of a ZigBit module In turn a ZigBit module with the embedded BitClo...

Страница 7: ...Hz PCB on board antenna external 50 Ohm unbalanced antenna or dual chip antenna MCU Microcontroller ATmega1281V RAM 8K Bytes Flash Memory 128K Bytes EEPROM 4K Bytes Performance Up to 4 MIPS throughput...

Страница 8: ...the ZigBit module including the module interfaces voltage levels power consumption are available in the ZigBit datasheet 1 Sensors The board incorporates light sensor TSL2550T from TAOS and temperatur...

Страница 9: ...antenna SMA connector only for ATZB EVB MeshBean with external antenna JTAG connector for software upload and debugging Power connector 3 V to use an AC DC adapter not supplied with ZDK 20 pin Expans...

Страница 10: ...10 ATZB EVB XXX XXX User Manual AVR 09 2011 Figure 1 ATZB EVB MeshBean functional diagram...

Страница 11: ...t I 2 C clock It is connected to the I2C_CLK pin of the module via low voltage level translators For details refer to ZigBit datasheet 1 8 I2C_DATA Bidirectional I2 C data It is connected to the I2C_D...

Страница 12: ...ls refer to ZigBit datasheet 1 19 GND Digital analog ground 20 GND Digital analog ground GENERAL NOTES Pins 12 13 14 16 17 18 are not buffered and driven by the MCU pins directly Thus this interface s...

Страница 13: ...ed by primary source battery USB or AC DC adapter J2 bridges POWER pin and DC DC pin ZigBit is powered by 3 6 V internal voltage regulator Table 6 J3 jumper settings Serial USB selection Jumper positi...

Страница 14: ...onnector to attach an external antenna The specifications of external antenna supplied with the Development Kit are presented below in Table Table 8 External antenna specifications Min Separation Part...

Страница 15: ...to develop custom applications based on the BitCloud API 4 The general guidelines to BitCloud programming are given in 5 API based demos are provided in source code which can be modified and extended...

Страница 16: ...rackets WSNDemo WSNDemo Low Power Networking Lowpower Ping Pong Pingpong Peer To Peer Data Exchange Peer2peer Blink minimal sample application Blink Hardware Test HardwareTest The WSNDemo application...

Страница 17: ...shBean to PC via USB port see Section 3 4 4 4 IDE AVR Studio 4 14 WinAVR Necessary to upload firmware image through JTAG see Appendix B and to develop applications using API see Section 7 Serial Bootl...

Страница 18: ...ZDK deployment the following auxiliary software can be optionally installed USB to UART Bridge VCP driver for Windows platform Java Runtime Environment JRE Microsoft NET Framework To complete the ins...

Страница 19: ...App public web_content products Micro controllers USB en mcu_vcp htm Java Runtime Environment JRE is also available from http java sun com javase downloads index jsp There may be other Java instances...

Страница 20: ...r see details in Section 4 3 Section 0 As a result generic COM port can be used to access a board via USB IMPORTANT NOTES When USB connection is used the COM port number would be changed by the Window...

Страница 21: ...ld fail In this case the only option becoming available would be using of JTAG emulator see 10 8 Using nickel cadmium rechargeable batteries is allowed but with certain precautions Nominally their cel...

Страница 22: ...as described above see Table While the Hardware Test is running all the board LEDs are blinking Reports are generated each second see Figure and include the status of buttons DIP switches the UID chip...

Страница 23: ...ts Refer to the Application Note 6 for details 4 9 Antenna Precautions Each type of antenna namely PCB antenna dual chip antenna and external antenna were matched and tuned with taking into account al...

Страница 24: ...ally to transmit the sensor data That data is displayed on WSN Monitor panes as temperature light and battery level measurements End device is mostly sleeping and it wakes up shortly each 10 seconds f...

Страница 25: ...h MAC address can be performed in four ways MAC address can be uploaded to a board by means of Serial Bootloader using a command line flag see 7 It can be specified in Configuration file when defining...

Страница 26: ...ds to the actual connection of the board namely Serial or USB Serial Bootloader indicates the operation progress Once an upload is successfully completed the board would restart automatically If an up...

Страница 27: ...abled BOOTSZ Boot Flash size 1024 words start address FC00 BOOTRST Disabled CKDIV8 Enabled CKOUT Disabled SUT_CKSEL Int RC Osc Start up time 6 CK 65 ms Figure 5 Fuse bits setting Make sure the followi...

Страница 28: ...channel mask to EEPROM from flash from an image file then startup initialization of the node must be performed as follows Press and hold the on board SW1 button first see Error Reference source not f...

Страница 29: ...OFF Board is configured to be a router OFF OFF ON Board is configured to be an end device Coordinator organizes the wireless network automatically Upon starting any node informs the network on its rol...

Страница 30: ...SN Monitor 5 5 Sensors Data and Battery Level Indication Each of the boards measures temperature light and its own battery level They send the data values to coordinator and further to the PC The WSN...

Страница 31: ...e the nodes join send data or leave The Topology Pane updates automatically while the nodes are discovered and while they join through coordinator The networking tree is displayed in form of parent ch...

Страница 32: ...nodes First connect the coordinator node to the USB or to serial port in accordance with the J3 jumper setting see Table Next run the WSN Monitor application on your PC At startup WSN Monitor will at...

Страница 33: ...WSN Monitor Connection Settings menu Node Reset A node can be reset by means of the WSN Monitor using the Tools Send Command menu see Figure 8 A node can be identified by its MAC address or it can be...

Страница 34: ...the 27 valid channels 1 available 0 unavailable Figure 11 Setting channel mask dialog box Open the Channel bit mask window by clicking the button Use checkboxes to check the allowed channels see Figur...

Страница 35: ...values are shown on the Sensor Data Graph Pane You can easily check how they evolve over time The Sensor Data Graph Pane includes a Sensor Selection combo box Use the button on the Sensor Control Too...

Страница 36: ...ootloader is contained in 7 8 Programming with BitCloud API 8 1 API Overview BitCloud internal architecture follows 802 15 4 ZigBee defined separation of the networking stack into logical layers Besid...

Страница 37: ...ed to compile C or C codes For description of GCC compiler see WinAVR documentation You can find command options for compilation and linking specified in 20 In AVR Studio the development of an applica...

Страница 38: ...is supplied with the set of BitCloud API sample applications in source code These are named as given in brackets WSNDemo application WSNDemo Low Power Networking application Lowpower Peer to Peer Dat...

Страница 39: ...UFFER_SIZE 3 CS_DUPLICATE_REJECTION_TABLE_SIZE 7 CS_NWK_DATA_REQ_BUFFER_SIZE 4 CS_NWK_DATA_IND_BUFFER_SIZE 4 USE_STATIC_ADDRESSING 0 Used only for static addressing CS_NWK_ADDR 0x7001 USE_NETWORK_KEY...

Страница 40: ...WSNDemo image or Hardware Test image is loaded For SerialNet the LED status is controlled by AT commands The board does not respond to outer commands in case of external antenna Make sure the external...

Страница 41: ...controller flash memory was not erased before and the bootstrap was not lost there after having the node programmed through JTAG 10 Appendix 10 1 FCC Statements 10 2 Equipment usage This equipment is...

Страница 42: ...certified Radio module with FCC ID VW4A090664 ATZB EVB 24 SMA This equipment carries a certified Radio module with FCC ID VW4A090665 ATZB EVB 900 SMA This equipment carries a certified Radio module w...

Страница 43: ...mo image files Evaluation Tools WSNDemo WSN Monitor WSNMonitorSetup exe WSN Monitor installer Evaluation Tools SerialNet serialnet srec Evaluation Tools SerialNet serialnet hex SerialNet image files B...

Страница 44: ...Measurement Tool image files Evaluation Tools Range Test RangeTestRf230 srec Third Party Software CP210x_VCP_Win2K_XP_S2K3 exe USB to UART Bridge VCP driver installation program Third Party Software J...

Страница 45: ...is shown in Figure Figure 13 AVR Studio dialog box for firmware upload using JTAG The well known command line utility avrdude which is a part of WinAVR environment http sourceforge net projects winavr...

Страница 46: ...h endif ifdef _SLIDERS_ ifdef _BUTTONS_ include buttons h endif ifdef _BUTTONS_ ifdef _LEDS_ include leds h endif ifdef _LEDS_ include zdo h ifndef BLINK_PERIOD define BLINK_PERIOD 1000 Initial blink...

Страница 47: ...educes blink interval to a half define DOUBLE_PERIOD_BUTTON BSP_KEY1 Button that doubles blink interval static HAL_AppTimer_t blinkTimer Blink timer ifndef _BUTTONS_ static HAL_AppTimer_t changeBlinkT...

Страница 48: ...k changeTimerFired Callback function for timer fire event HAL_StartAppTimer changeBlinkTimer Start blink timer endif ifdef _BUTTONS_ Configure blink timer blinkTimer interval BLINK_INTERVAL Timer inte...

Страница 49: ...Led LED_YELLOW BSP_ToggleLed LED_GREEN Description button release event handler Parameters buttonNumber released button number Returns nothing static void buttonsReleased uint8_t buttonNumber HAL_Stop...

Страница 50: ...LINK_INTERVAL blinkTimerFired Update LED status immediately HAL_StartAppTimer blinkTimer Start updated blink timer Description just a stub Parameters are not used Returns nothing void ZDO_MgmtNwkUpdat...

Страница 51: ...on COMPONENTS_PATH Components Application makerules including include COMPONENTS_PATH lib MakerulesBcAll Project name PRJ_NAME blink Application parameters CFLAGS DBLINK_PERIOD 1000 CFLAGS DMIN_BLINK_...

Страница 52: ...clude I HAL_PATH include I HAL_HWD_PATH include I BSP_PATH include I CS_PATH include I PDS_PATH include I TC_PATH include I SSP_PATH include Linking ifeq HAL ATMEGA1281 LINK_OBJECTS COMPONENTS_PATH li...

Страница 53: ...ME o o c echo echo Application executable creation CC c CFLAGS INCLUDES o PRJ_NAME elf PRJ_NAME o CC CFLAGS INCLUDES PRJ_NAME o LIB_PATH LINK_OBJECTS l STACK_LIB l CS_LIB l PDS_LIB l BSP_LIB l STACK_L...

Страница 54: ...an echo echo Application cleaning rm rf PRJ_NAME elf PRJ_NAME hex PRJ_NAME srec PRJ_NAME o PRJ_NAME map PRJ_NAME bin echo echo PDS library cleaning make clean C PDS_PATH echo echo Configuration Server...

Страница 55: ...assumes all responsibility and liability for proper and safe handling of the goods Further the user indemnifies Atmel from all claims arising from the handling or use of the goods Due to the open con...

Страница 56: ...OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT IN NO EVENT SHALL ATMEL BE LIAB...

Отзывы: