background image

Chengdu Ebyte Electronic Technology Co.,Ltd

E180-Z6907A User Manual

Copyright ©2012–2019

Chengdu Ebyte Electronic Technology Co., Ltd.

4-23

Note: After the maximum number of rejoin attempts, if the previous network has not been restored, the previous

network information will be cleared. The power consumption of the new network scanned by Rejoin period is higher
than that of the network before the restoration. Therefore, for devices with high power consumption requirements, the
two parameters of rejoin period and Rejoin maxcount need to be set larger by default, both of which are set to 5 by
default.

6.6.18Wireless remote configuration ID

Remote Header:

0x0000 indicates the wireless network configuration is turned off, 0x0001

0xFFFFindicates the

remote configuration is turned on, and the default setting is 0xA88A(0xA8 0x8A).

6.6.19 User gpio parameter

Gpio: Format of peripheral configuration data

3 Byte

):

GpioId In/Out level

gpioid : Channel ID

Channel ID

GPIO Port

00

PE3 Port

01

PA1 Port

02

PE1 Port

In/Out: Channel output / input mode

0 Output
1 Input

level: Channel Level state

0 Low level
1 High level
2 Flip

Note: When configured as input, the level indicates the input level value is 0 (low level) or 1 (high level). When

the output is configured, the level indicates 0 (low level), 1 (high level), 2 (Level flip) output.

6.6.20 User pwm parameter

Pwm : Peripheral configuration data format

6 Byte

):

PwmId start/stop Period1 Period2

duty1 duty2

PwmId : Channel ID

Channel ID

PWM GPIO Port

0x00

PB4 Port

0x01

PA0 Port

0x02

PA3 Port

0x03

PC5 Port

start/stop: Start/stop channel PWM output

0xFF Start PWM
0x00 Stop PWM

Summary of Contents for E180-Z6907A

Page 1: ...E180 Z6907A User Manual TLSR8269 2 4GHz ZigBee SoC Wireless Module ...

Page 2: ...ta transmission mode 10 5 1 1 Broadcast mode 10 5 1 2 Multicast mode 10 5 1 3 Unicast Mode 10 5 2 Receiving data output method 10 5 2 1 Transparent output 10 5 2 2 Data short address 10 5 2 3 Data Long address 11 5 2 4 Data RSSI 11 5 2 5 Data short address RSSI 11 5 2 6 Data long address RSSI 11 6 Application function and command configuration 11 6 1 Function pin 11 6 1 1 LINK 11 6 1 2 WAKE 11 6 1...

Page 3: ...rameter 23 6 6 20 User pwm parameter 23 6 6 21 User adc parameter 24 6 6 22 Configure all network parameters 24 6 6 23 Read all network parameters 25 6 6 24 Configure the delayed printing time of AUX wake up external MCU serial port in wireless receiving state 25 6 6 25 Configure serial port wake up hold time 25 6 6 26 Configure endpoint information 25 6 6 27 Set Link key of trust center 25 6 6 28...

Page 4: ...s mechanism data security and reliability Interoperability Compliant with zigbee 3 0 standard network mechanism compatible with network protocols such as ZHA Large capacity 512K flash 32K RAM network nodes can be extended to more than 100 Role switch Users can switch freely between the end device and sleep end device via UART command Support a variety of network topology point to point star networ...

Page 5: ...other nodes are not allowed to connect with the devices The End device is always in working state and can receive and transmit data at any time 1 3 2 Sleep End Device The Sleep End Device enters the sleep state when there is no data receiving and sending and the sleep current is as low as about 16uA When wireless data transmission or command operation is needed wake up frame shall be sent through ...

Page 6: ...hnical parameter 2 1 Limit parameter Main parameter Performance Remark Min Max Voltage supply V 1 9 3 6 Voltage over 3 6V will cause permanent damage to module Blocking power dBm 10 Chances of burn is slim when modules are used in short distance Working temperature 40 85 Industrial grade 2 2 Operating parameter Main parameter Performance Remark Min Typ Max Operating voltage V 1 9 3 3 3 6 3 3 V ens...

Page 7: ...te bps 250kbps Main parameter Description Remark Distance for reference 130m Between two points ZigBee network supports routing multi hop function and the transmission distance can be extended by increasing the router Protocol Zigbee 3 0 Packing SMD Connector 1 27mm Stamp hole IC TELINK TLSR8269 FLASH 512KB RAM 32KB Core 32 bit MCU Size 11 5 22mm Antenna PCB 50 ohm impedance ...

Page 8: ...tion 1 NC Reserve floated 2 GND Ground connected to power supply reference ground 3 PD2 Input Reserve 4 PC4 Input WAKE pin is mainly used to wake up the sleeping terminal It is high level when power is on When the pin is pulled low externally the sleeping terminal device will be woken up 5 TX Output UART TX pin 6 RX Input UART RX pin 7 NC Reserve directly suspended 8 NC Reserve directly suspended ...

Page 9: ... GND Ground connected to power supply reference ground 15 PA1 GPIO1 Input Outpu t GPIO input output port 1 16 NC Reserve floated 17 NC Reserve floated 18 PA7 Output AUX pin indicates the current working status of the device When the pin is low level it indicates that the device is busy and high level indicates that the device is idle 19 PE1 GPIO2 Input Outpu t GPIO input output port 2 20 NC Reserv...

Page 10: ... is regarded as the hex command 4 3 Mode switch 4 3 1 Command switch The module power on initialization defaults to the transmission mode In transmission mode when the serial port receives 2A 2D 2E character it will enter the configuration mode After entering the configuration mode successfully it will return 7A 7D 7E character In configuration mode when the serial port of the module receives 2F 2...

Page 11: ...e group number not Sleep End device in network will receive the data 5 1 3 Unicast Mode In unicast mode devices in network point to point communicate through network address and the transmitting device sends the received serial port data to the target address device and the target address device can return an ACK to the transmitting device to indicate that the data has been received after receivin...

Page 12: ...SI When the output mode is data long address RSSI after receiving the wireless data the serial port will output the original data the long address of the sending device the RSSI value of the received data packet Note The maximum packet length supported by the sender for a single packet is 72 bytes 6 Application function and command configuration 6 1 Function pin 6 1 1 LINK LINK pin indicates the c...

Page 13: ...h Users can judge whether the data is successfully arrived by the status of the pin This pin function does not instruct the coordinator to send a broadcast message Only works in non Sleep End 6 1 5 UART_BAUD_RESET UART_BAUD_RESET pin is used to reset the baud rate The default level is high when the device is powered on In any mode the pin of the module is pulled low for more than 1000ms The serial...

Page 14: ...he short address of the device is allocated by the coordinator The coordinator is fixed at 0x0000 Network status Read 0 2 Indicates the network status of the current device including no network successfully joining the network Target network address Read write 0x0000 0xFFFF The current device communication destination short address can be switched at any time through configuration commands Local M...

Page 15: ...arget when configuring device multicast Wake up period sleep time Read Write 0 2010s It is used to configure the wake up period of the end device sleep device The larger the period is the lower the overall power consumption is but the greater the delay of receiving data is Lost parent node reconnectio n period Read Write 1 255 minutes When the parent node is lost the coordinator is powered down th...

Page 16: ...l length of DATA CMD Actual named ID DATA Actual parameter FF Command terminator Configuration return FA CMD FA fixed head CMD Command ID Return when reading configuring access F7 FF does not exist the information reading configuration format failed Wireless remote reading configuration format add the wireless configuration ID before the instruction format of local serial port mode The default is ...

Page 17: ...nd FE 08 08 FF Return FB 08 Coor _Mac_Addr Send FE 08 08 FF Return FB 08 0C 46 0C FE FF 9F FD 90 Read network group number 09 Send FE 01 09 FF Return FB 09 group Send FE 01 09 FF Return FB 09 01 Read communication channel 0A Send FE 01 0A FF Return FB 0A channel Send FE 01 0A FF Return FB 0A 0B Read transmit power 0B Send FE 01 0B FF Return FB 0B txpower Send FE 01 0B FF Return FB 0B 0A Read UART ...

Page 18: ...cal PWM parameter 21 Command FE 06 21 PWMId FF Return FB 21 PWMId start stop Period Period duty duty Send FE 06 21 00 FF Return FB 21 00 01 0A 3E 63 50 Read local remote ADC state 22 Command FE 03 22 adcid FF Return FB 22 adcid voltage1 voltage2 Send FE 03 22 00 FF Return FB 22 00 0C E4 Read end device node numbers of the parent node 32 Command FE 01 32 FF Return FB 32 child_count Send FE 01 32 FF...

Page 19: ...e valid Send FD 01 0D sleep_time FF Return FA 0D Send FD 01 0D 54 FF Return FA 0D Configure the target network short address Send FD 02 23 dec_addr FF Return FA 23 Send FD 02 23 00 00 FF Return FA 23 Configure the target network group number Send FD 01 24 netid FF Return FA 24 Send FD 01 24 00 FF Return FA 24 Configure target long address Send FD 08 25 dec_mac FF Return FA 25 Send FD 08 25 0A 1C 2...

Page 20: ...D 00 12 FF Return FA 12 Restore factory settings Send FD 00 13 FF Return FA 13 Send FD 00 13 FF Return FA 13 Read the delayed printing time of AUX wake up external MCU serial port in wireless receiving state Send FD 01 35 AUX_delaytime FF Return FA 35 Send FD 01 35 04 FF Return FA 35 Read UART wake up keep time Send FD 01 36 Uart_holdtime FF Return FA 36 Send FD 01 36 64 FF Return FA 36 Read port ...

Page 21: ...x05 protocol multicast the first byte in the transmission mode is the target network group number 6 6 2 Receiving data output mode mode 0x00 transparent transmission default 0x01 data short address 0x02 data long address 0x03 data RSSI 0x04 data short address RSSI 0x05 data long address RSSI Note the maximum package length is 72 6 6 3Network node type dev_type 0x03 End device Default 0x04 Sleep En...

Page 22: ...arent node Coor_shortAddr 2 Byte Short address of the parent node of the current node if it is coordinator it should be 0x0000 6 6 9 Parent node MAC address Coor_Mac_Addr 8 Byte The parent node s long address of the current node 6 6 10 Network group number group Group number range 0x01 0xFF Default 1 6 6 11 Network channel Channel Channel range 0x0B 11 0x1A 26 default 11 channels Channel The param...

Page 23: ...parent node saves the data of its child nodes for 30 seconds If any end device node needs to accept the parent node data of the parent node the configuration of the sleep time cannot be longer than 30 seconds 6 6 16 Period of network reconnection after loss of parent node Rejoin period 1 255 Reconnection period range 1 255 Unit minute Default 5 minutes 6 6 17 The maximum number of attempts to reco...

Page 24: ...ration is turned off 0x0001 0xFFFFindicates the remote configuration is turned on and the default setting is 0xA88A 0xA8 0x8A 6 6 19 User gpio parameter Gpio Format of peripheral configuration data 3 Byte GpioId In Out level gpioid Channel ID Channel ID GPIO Port 00 PE3 Port 01 PA1 Port 02 PE1 Port In Out Channel output input mode 0 Output 1 Input level Channel Level state 0 Low level 1 High level...

Page 25: ...ADC channel ID Channel ID ADC GPIO Port 0x00 VDD Power supply voltage detection 0x01 PB1 Port 0x02 PB5 Port 0x03 PB6 Port 0x04 PB7 Port Voltage Read ADC channel voltage value Unit mV Detectable range 0x0000 0x0E74 0 3700 voltage 1 Indicates high 8 digits voltage 2 Indicates low 8 bits For example Read value voltage 0x0C voltage 0xE4 Then voltage value is voltage 0x0CE4 Note If the power supply vol...

Page 26: ...reless ID A8 8A 6 6 24 Configure the delayed printing time of AUX wake up external MCU serial port in wireless receiving state AUX_delaytime 1 255 unit is ms the default parameter is 4ms that is after the module receives wireless data first pull down the AUX pin to wake up the external MCU and then delay 4ms to output the serial port data to the external MCU 6 6 25 Configure serial port wake up ho...

Page 27: ...e version number Firmware_version 82 69 01 82 69 means 8269 chip of Telink 01 means firmware version number 7 Quick start 7 1 Establish a ZigBee network quickly Quickly and easily establish a ZigBee network via PC software Create network by E180 ZG120A B The steps are as follows 1 Connect Zigbee ad hoc module via USB to UART converter open host computer software E180 ZG120A Setting v1 2 as shown i...

Page 28: ...ice type successfully The general ZigBee 3 0 network is established by the coordinator node so the factory default end device node type needs to be changed to the coordinator before establishing the network 4 After the node type is successfully written modify the ZigBee network required for establishing some network parameters you can also use the default value without modifying the parameters Mod...

Page 29: ...odule Restart and the message box prompts Module restart successful 6 After the module restarts the transfer mode is entered by default At this time click Enter Configuration Mode again the message box prompts Enter the configuration status successfully read parameters successfully It can be seen that the parameters read are the previously modified parameters indicating that the network parameters...

Page 30: ...Co Ltd 7 29 7 Select the fixed point networking interface display the network status as joined network The coordinator network is successfully created 7 2 Join a ZigBee network quickly 1 Open the host computer software E180 Z6907A Setting v1 2 select the port number and set the serial port baud rate and open the serial port ...

Page 31: ...2 After the serial port is opened first click Enter Configuration Mode the message box prompts Enter the configuration status successfully read parameters successfully The main network parameters include the node type defaults to the end device the channel 11 default the PAN ID defaults randomly and the transmit power is default 0 7dbm ...

Page 32: ... 31 3 Modify the node type as sleep end device click the Enter button the message box prompts Configure device type is successful modify the network parameters its PAN ID and transmit channel parameters must be the same as the network to be joined click Write network parameters the message box prompts Write parameters successfully ...

Page 33: ...uration mode the message box prompts Enter configuration status is successful read parameters successfully confirm whether the read PAN ID and transmit channel parameters are the modified value before PAN ID of the established network coordinator 5 Select the fixed point networking interface and display the network status as joined network indicates sleep end device node has joined the network cre...

Page 34: ...on test 7 3 1 Unicast test 7 3 1 1Unicast between end device and coordinator in the form of short address 1 Enter the configuration mode configure the target network address and modify the target network address of the coordinator the coordinator uses E180 ZG120 to the local short address 0xFCFA of the end device The target network address of the end device is 0 by default 0 is the coordinator s n...

Page 35: ...er transmission mode and the message box will prompt enter transmission mode successfully Before communication confirm whether the module is in transmission mode and only in the transmission mode can the communication be realized Input the data to be sent in the sending area click send and the received data can be seen in the end device node message box 3 Similarly End device unicast to Coordinato...

Page 36: ...target MAC address The coordinator end configures the target MAC address as the long MAC address of the end device and the end device end configures the target MAC address as the long MAC address of the coordinator 2 After the target MAC address is configured the transmission mode needs to be configured Change the network address short address to MAC address and then write the parameters again At ...

Page 37: ...ify the network group number to 5 and then write the parameters The message box will prompt write parameters successfully At this time group ID 5 is assigned to the end device 2 For example if the coordinator is the sender click enter configuration mode to enter the fixed point networking select the multicast mode and the message box will prompt under multicast mode all nodes with the same group n...

Page 38: ...mission mode the message box will prompt enter the transmission mode successfully and then carry out multicast data communication 3 The end device receiver enters the configuration mode changes the network group number to 4 and writes the parameter At this time because the network group number is not 5 the coordinator multicast data cannot be received ...

Page 39: ...broadcasts click enter configuration mode enter fixed point networking select broadcast mode and then write parameters The message box prompts write parameters successfully 2 Enter the transmission mode the message box will prompt enter the transmission mode successfully and then broadcast data communication at this time all nodes in the network will receive data including the sending node ...

Page 40: ...metal object or put in a metal case Power register was set incorrectly air data rate is set as too high the higher the air data rate the shorter the distance The power supply low voltage under room temperature is lower than 2 5V the lower the voltage the lower the transmitting power Due to antenna quality or poor matching between antenna and module 8 2 Module is easy to damage Please check the pow...

Page 41: ... 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 feeder quality are poor or too long can also cause high bit error rate About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Tel 86 28 61399028 Fax 028 64146160 Addres...

Reviews: