background image

Chengdu Ebyte Electronic Technology Co.,ltd.

E18-MS1PA2-PCB User Manual

Copyright ©2012–2019

Chengdu Ebyte Electronic Technology Co.,Ltd.

5-9

When the protocol stack is operating, how to select Primary IEEE address or Secondary address as MAC address?

Please operate in the function zmain_ext_addr(void).

1) Read IEEE address from NV, if it already exists (not 0xFF), use this address as MAC address;
2) If not in 1), read from the Secondary IEEE address storage place, if it exists (not 0xFF), write the address into NV,

and use this address as MAC address;

3) If not in 2), read from the Primary IEEE address storage place, if it exists (not 0xFF), write the address into NV,

and use this address as MAC address;

4) If not in 3), generate one 64-bit variable randomly, write it into NV, use it as MAC address.

How to forbid node from searching network, or extend the interval for sending Beacon Request?

End Device is low power consumption device powered by battery, after cutting from network, how to forbid the

node from searching network, or how to extend the interval for sending Beacon Request.

1)Start searching network uint8 ZDApp_StartJoiningCycle( void )
Stop searching network uint8 ZDApp_StopJoiningCycle( void )
2) Change the Beacon Request sending period
Modify the variable zgDefaultStartingScanDuration
// Beacon Order Values
#define BEACON_ORDER_NO_BEACONS

15

#define BEACON_ORDER_4_MINUTES

14 // 245760 milliseconds

#define BEACON_ORDER_2_MINUTES

13 // 122880 milliseconds

#define BEACON_ORDER_1_MINUTE

12 // 61440 milliseconds

#define BEACON_ORDER_31_SECONDS

11 // 30720 milliseconds

#define BEACON_ORDER_15_SECONDS

10 // 15360 MSecs

#define BEACON_ORDER_7_5_SECONDS

9 //

7680 MSecs

#define BEACON_ORDER_4_SECONDS

8 //

3840 MSecs

#define BEACON_ORDER_2_SECONDS

7 //

1920 MSecs

#define BEACON_ORDER_1_SECOND

6 //

960 MSecs

#define BEACON_ORDER_480_MSEC

5

#define BEACON_ORDER_240_MSEC

4

#define BEACON_ORDER_120_MSEC

3

#define BEACON_ORDER_60_MSEC

2

#define BEACON_ORDER_30_MSEC

1

#define BEACON_ORDER_15_MSEC

0

How to put End Device into low power consumption mode, how to set up sleep time?

After

the

POWER_SAVING

is

enabled

in

the

protocol

stack

macro

definition,put

DRFD_RCVC_ALWAYS_ON=FALSE in f8wConfig.cfg file, then the End Device will enter sleep mode.

The sleep time is decided by the OSAL operating system, the latest Event Timeout to occur will be set as sleep time.

There is description in the protocol stack hal_sleep function.

Summary of Contents for E18 Series

Page 1: ...E18 MS1PA2 PCB User Manual CC2530 2 4GHz 100mW ZigBee Wireless Module...

Page 2: ...on and parameter 3 2 1 Limit parameter 3 2 2 Operating parameter 3 3 Size and pin definition 5 4 Usage 6 5 Programming 7 5 1 TI ZigBee FAQ 7 6 Basic operation 10 6 1 Hardware design 10 7 FAQ 11 7 1 Co...

Page 3: ...n pitch is 1 27mm It is applicable for various applications especially smart home E18 MS1PA2 PCB adopts the original CC2530 RF chip of TI the chip is integrated with 8051 MCU and wireless transceiver...

Page 4: ...ntenna no need for external antenna 1 3 Application Smart home and industrial sensors Security system positioning system Wireless remote control drone Wireless game remote control Health care products...

Page 5: ...t mA 36 Sleep current A 2 Shut down by software Max TX power dBm 19 6 20 20 5 Receiving sensitivity dBm 99 98 97 Air data rate is 250 kbps Main parameter Description Remark Reference distance 800m Tes...

Page 6: ...ply reference ground 2 VCC Input Power supply must be 2 0 3 6V 3 P2 2 Input Output MCU GPIO 4 P2 1 Input Output MCU GPIO 5 P2 0 Input Output MCU GPIO 6 P1 7 Input Output MCU GPIO 7 P1 6 Input Output M...

Page 7: ...GPIO 18 P0 5 Input Output MCU GPIO 19 P0 4 Input Output MCU GPIO 20 P0 3 Input Output MCU GPIO 21 P0 2 Input Output MCU GPIO 22 P0 1 Input Output MCU GPIO 23 P0 0 Input Output MCU GPIO 24 RESET Input...

Page 8: ...ibDefaults from file mac_pib c modify in the red signed below 5 Programming 5 1 TI ZigBee FAQ Differences between different versions of TI s ZigBee protocol stack how to choose the right protocol stac...

Page 9: ...ter developing the product developers need to learn the ZigBee Home Automation Profile Test Specification this document described the items to be tested by the Test House it can be downloaded from www...

Page 10: ...work uint8 ZDApp_StartJoiningCycle void Stop searching network uint8 ZDApp_StopJoiningCycle void 2 Change the Beacon Request sending period Modify the variable zgDefaultStartingScanDuration Beacon Ord...

Page 11: ...ts thus TI developed their own protocol stack for software upgrading on air and named it as OAD After that ZigBee alliance noticed the more and more requirements for upgrading on air so they developed...

Page 12: ...ere are traces with large electromagnetic interference high frequency digital high frequency analog power traces around the module that will greatly affect the performance of the module It is recommen...

Page 13: ...ase be away from interference sources or modify frequency and channel to avoid interference Poor power supply may cause messy code Make sure that the power supply is reliable The extension line and fe...

Page 14: ...18 series Model IC Frequency Tx power Distance Size Package Antenna Hz dBm m mm E18 MS1 PCB CC2530 2 4G 4 200 14 1 23 SMD PCB E18 MS1 IPX CC2530 2 4G 4 240 14 1 20 8 SMD IPEX E18 MS1PA1 PCB CC2530 2 4...

Page 15: ...nna TX2400 JZ 3 Rubber antenna 2 4G 2 0 30 SMA J Short straight omnidirectional antenna TX2400 JZ 5 Rubber antenna 2 4G 2 0 50 SMA J Short straight omnidirectional antenna TX2400 JW 5 Rubber antenna 2...

Page 16: ...by 1 0 2020 4 22 Initial version Ken About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you for using Ebyte products Please contact us with any q...

Reviews: