background image

Chengdu Ebyte Electronic Technology Co.,ltd.

E18-MS1PA2-IPX User Manual

Copyright ©2012–2019

Chengdu Ebyte Electronic Technology Co.,Ltd.

5-8

2) Element Shenzhen Office (headquartered in England)
Please refer to below wiki link for details:

http://processors.wiki.ti.com/index.php/ZigBee_Product_Certification_Guide

How to select the 64-bit MAC address of the device?

There are two IEEE addresses in CC2530, one is Primary IEEE address, the other is Secondary address. Primary

IEEE address is stored in Information Page of the chip, this address is bought by TI from IEEE, each chip has one unique
address. Users could only Read this value and cannot modify or erase it. By reading the address in the protocol stack,
users can obtain osal_memcpy (aExtendedAddress, (uint8 *)(P_IHAL_INFOP_IEEE_OSET),
Z_EXTADDR_LEN). Secondary address is stored in the last Page of the Flash of CC2530, users can Read/Write with the
function

HalFlashRead

(HAL_FLASH_IEEE_PAGE,

HAL_FLASH_IEEE_OSET,

aExtendedAddress,

Z_EXTADDR_LEN).

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

Summary of Contents for E18-MS1PA2-IPX

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

Page 2: ... Limit parameter 3 2 2 Operating parameter 3 3 Size and pin definition 4 4 Usage 5 5 Programming 7 5 1 TI ZigBee FAQ 7 6 Basic operation 10 6 1 Hardware design 10 7 FAQ 11 7 1 Communication distance is too short 11 7 2 Module is easy to damage 11 7 3 BER Bit Error Rate is high 11 8 Welding instruction 12 8 1 Reflow soldering temperature 12 8 2 Reflow soldering curve 12 9 E18 series 13 10 Antenna r...

Page 3: ...have been pinned out for multiple development 1 2 Features Built in PA LNA Maximum transmission power of 100mW achieve long distance ZigBee transmission Communication distance can reach 1200m under ideal conditions Built in ZigBee protocol stack Support peripherals such as ADC PWM GPIO Built in 32 768kHz clock crystal oscillator Support the global license free ISM 2 4GHz band Rich resources 256KB ...

Page 4: ... V ensures output power Communication level V 3 3 For 5V TTL it may be at risk of burning down Operating temperature 40 85 Industrial grade Operating frequency GHz 2 400 2 480 ISM band Power Consum ptio n TX current mA 100 Instant power consumption RX current mA 35 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 Ma...

Page 5: ...in direction Application 1 GND Input Ground connecting to power supply 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 MCU GPIO 8 NC N C 9 NC N C 10 P1 5 Input Output MCU GPIO 11 P1 4 Input Output MCU GPIO 12 P1 3 Input Output MCU GPIO 13 P1 2 Input Out...

Page 6: ... 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 Reset port If you need to use the ad hoc network function please go to the official website to download E18 MS1PA2 IPX_UserManual S_CN for reference 4 Usage No Keyword Remark 1 Burn firmware The module is built in 8051...

Page 7: ...e previous program In this example the pins P1 1 and P1 0 of the CC2530 are connected to the PA_EN LNA_EN of the internal PA At the same time it can be seen that LNA_EN is always in the high level and the receiving mode 4 Program modificati on Find macRadioTurnOnPower from file mac_radio_defs c and modify 5 Power modificati on Find static CODE const macPib_t macPibDefaults from file mac_pib c modi...

Page 8: ...me 1 2 2a is specific for smart home products development 2 Z Stack Lighting 1 0 2 is specific for ZLL products development 3 Z Stack Energy 1 0 1 is specific for intelligent energy meter In Home Display and so on 4 Z Stack Mesh 1 0 0 is specific for private applications it only utilizes the function of standard ZigBee protocol Mesh route and so on the application layer shall be defined by the dev...

Page 9: ...he 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 netw...

Page 10: ...the TI ZigBee protocol stack http www deyisupport com question_answer wireless_connectivity zigbee f 104 t 104629 aspx About the difference between OAD and OTA in TI protocol stack OAD is short for Over the Air Download OTA is short for Over the Air The functions of these two are the same they can be called the software upgrade on air In the earlier ZigBee protocol standard there was no standard f...

Page 11: ...d it must be close to the digital part of the module and routed in the Bottom Layer Assuming the module is soldered or placed over the Top Layer it is wrong to randomly route over the Bottom Layer or other layers which will affect the module s spurs and receiving sensitivity to varying degrees It is assumed that there are devices with large electromagnetic interference around the module that will ...

Page 12: ...wer than recommended value the lower the voltage the lower the transmitting power Due to antenna quality or poor matching between antenna and module 7 2 Module is easy to damage Please check the power supply source ensure it is between the recommended supply voltage voltage higher than the maximum will damage the module Please check the stability of power source the voltage cannot fluctuate too mu...

Page 13: ...reheat temperature max Tsmax Max preheating temp 150 200 Preheat Time Tsmin to Tsmax ts Preheating time 60 120 sec 60 120 sec Average ramp up rate Tsmax to Tp Average ramp up rate 3 second max 3 second max Liquidous Temperature TL Liquid phase temp 183 217 Time tL Maintained Above TL Time below liquid phase line 60 90 sec 30 90 sec Peak temperature Tp Peak temp 220 235 230 250 Aveage ramp down rat...

Page 14: ... 59 USB PCB 10 Antenna recommendation Model No Type Frequency Gain Size Cable Interface Function feature Hz dBi mm cm TX2400 NP 5010 Flexible Antenna 2 4G 2 0 10x50 IPEX Flexible FPC soft antenna 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 4G 2 0 ...

Page 15: ...d by 1 0 2019 12 13 Initial version 1 1 2019 12 14 Format adjustment Ren 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 questions or suggestions info cdebyte com Official hotline 028 61399028 ext 821 Web www ebyte com Address Innovation Center D347 4 XI XIN Road Chengdu Sichuan China ...

Reviews: