User Manual

Chengdu Ebyte Electronic Technology Co., Ltd. E18-2G4U04B User Manual
Copyright ©2012–2018Chengdu Ebyte Electronic Technology Co., Ltd.
6
After the ZigBee Alliance released the ZigBee 3.0 protocol, the latest ZigBee protocol stack is Z-Stack 3.0.
Currently it supports CC2530 and CC2538.
How do products carry out standard ZigBee test certification, what do you need to know and what process
you need to take?
Take the development of standard ZigBee Home Automation related products as an example. First,
developers develop products in accordance with the products described in the ZigBee Home Automation
Profile Specification, which can be downloaded at www.zigbee.org. After completing the product development,
the development needs to understand the ZigBee Home Automation Profile Test Specification. This document
describes the relevant test items that a specific product needs to be tested in Test House. The document can
also be downloaded at www.zigbee.org, in addition to the above. There is also a PICS document in addition to
the two documents. This document is dedicated to describing the functions that need to be supported by the
certification test product. The developer checks the document according to the actual function of the
development product and the functions required in the specification. The following is the flow of testing,
1) First join the ZigBee Alliance, usually with the help of a test lab.
2) Send the sample to the test lab and complete the PICS document.
3) The first round of pre-test, the test laboratory feedback on the test results, and the developer to modify
the sample code.
4) The test laboratory verifies the modified sample and begins the formal test.
5) The test lab assists the developer in completing the preparation and submission of the ZigBee Alliance
online certification application.
6) The test lab submits a formal test report to the ZigBee Alliance. The alliance will complete the review
and issue the certificate.
At present, there are two test laboratories that can complete standard ZigBee testing in China.
1) CESI Beijing China Institute of Standardization Electronics.
2) Element Shenzhen Office (headquartered in the UK)
For details, please refer to the wiki address below.
http://processors.wiki.ti.com/index.php/ZigBee_Product_Certification_Guide
How is the 64-bit MAC address of the device selected?
It is divided into two IEEE addresses in CC2530/CC2538/CC2630, one is called Primary IEEE address, and
the other is called Secondary address. The Primary IEEE address is stored in the Information Page of the chip.
This address is purchased by TI from the IEEE Association. The address of each chip is unique, which value is
for read only, there is no way to erase/modify. Osal_memcpy(aExtendedAddress, (uint8
*)(P_INFOPAGE+HAL_INFOP_IEEE_OSET), Z_EXTADDR_LEN) can be obtained by directly reading the
address in the protocol stack. The Secondary address is stored in the last page of Flash in CC2530. The user
can perform Read/Write. The function HalFlashRead(HAL_FLASH_IEEE_PAGE, HAL_FLASH_IEEE_OSET,
aExtendedAddress, Z_EXTADDR_LEN);
The operation of the protocol stack is how to select the Primary IEEE address or the Secondary address as the
MAC address of the device, specifically in the function zmain_ext_addr(void).
1) Read the IEEE address from the NV. If it already exists (not 0xFF), use this address as the MAC address.
2) If nothing is found in 1), read from the Secondary IEEE address storage location. If there is (not 0xFF), write
the address to NV, and use this address as the MAC address later.
3) If nothing is found in 2), read from the primary IEEE address storage location. If there is (not 0xFF), write the