Introduction to Zigbee Module--TYZS7
ZigBee module introduction–TYZS7
1. Product Overview
TYZS7 is a low power-consuming built-in ZigBee module developed by Hangzhou Tuya Information Technology Co., Ltd. It consists of a highly integrated wireless radio chip (EFR32MG13P732) and several peripherals, with a built-in 802.15.4 PHY/MAC ZigBee network protocol stack and robust library functions. TYZS7 also contains a low power-consuming 32-bit ARM Cortex-M4 core, a 512 KB flash, a 64 KB RAM, and various peripheral resources.
TYZS7 is a FreeRTOS platform that integrates all the function libraries of the ZigBee MAC and TCP/IP protocols. You can develop built-in ZigBee products as required.
Figure 1.1 shows the schematic diagram of TYZS7.
Built-in low power-consuming 32-bit ARM Cortex-M4 processor, which provides DSP instructions and floating-point units and can also be used as an application processor
- Basic frequency: 40 MHz supported
Working voltage:1.8 V to 3.8 V
Peripherals: nine GPIOs, one UART, one ADC, and one nRST
802.15.4 MAC/PHY supported
Working channel: 11–26 @2.400–2.483 GHz, air interface rate: 250 kbit/s
Built-in DC-DC circuit, maximizing the power supply efficiency
Maximum output power: +19 dBm, dynamic power adjustment: > 40 dB
Runtime power consumption: 63 µA/MHz, current in sleep mode: 2.0 µA
Proactive network configuration for terminals
Built-in onboard PCB antenna
Working temperature: –40°C to +85°C
AES 128/256-based hardware encryption
1.2 Major Application Fields
- Intelligent building
- Intelligent home and household applications
- Intelligent socket and light
- Industrial wireless control
- Health care and measurement
- Asset tracing
2. Module Interfaces
2.1 Dimensions and Footprint
TYZS7 provides two rows of pins, totally 16 external pins, with the distance of 1.5 mm between every two pins.
TYZS7 dimensions: 15.5 mm (W) x 13.8 mm (L) x 2.0 mm (H) (see figure 2)
2.2 Pin Definition
Table 1 describes the interface pins.
Table 1 TYZS7 interface pins
|1||NC||NC||NC, not used as the external pin|
|2||ADC||AI||ADC interface (1), used for the 12-bit SAR ADC|
|3||nRST||I||Hardware reset pin, used to reset the chip in the low level. The module provides the power-on reset function so that you can ignore this pin as required.|
|4||GPIO3||I/O||Used as the GPIO|
|5||PWM2||I/O||Used as the light drive interface or GPIO|
|6||PWM3||I/O||Used as the light drive interface or GPIO|
|7||PWM1||I/O||Used as the light drive interface or GPIO|
|8||VCC||P||Module power supply pin (typical power supply voltage: 3.3 V)|
|9||GND||P||Module reference ground pin|
|10||GPIO2||I/O||Used as the GPIO|
|11||SWO||I/O||Used as the GPIO or the output pin in JLINK connection mode|
|12||GPIO0||I/O||Used as the GPIO|
|13||SWDIO||I/O||JLINK SWDIO programming pin, which can also be used as the GPIO in normal programs|
|14||SWCLK||I/O||JLINK SWCLK programming pin, which can also be used as the GPIO in normal programs|
|15||RXD||I/O||UART0_RXD, used for serial port receiving|
|16||TXD||O||UART0_TXD, used for serial port transmitting|
Note: P indicates power-supply pins, I/O indicates input/output pins, and AI indicates analog input pins. nRST is only a module hardware reset pin, which cannot clear the ZigBee network configuration. (1): This pin can only be used as the ADC interface and cannot be used as the common I/O pin. If this pin is not used, it must be disconnected. When this pin is used as the ADC input interface, the input voltage range must be 0–AVDD, which can be configured using software.
2.3 Test Pin Definition
Table 2 describes the test pins.
Table 2 TYZS7 test pins
|-||-||I||Used for the module production test|
Note: The test pins are used only on the bottom pad, which are not recommended.
3.1 Absolute Electrical Characteristics
Table 3,Absolute electrical characteristics
|Parameter||Description||Minimum Value||Maximum Value||Unit|
|VCC||Power supply voltage||–0.3||3.8||V|
|Static electricity voltage (human model)||TAMB – 25°C||-||2.5||KV|
|Static electricity voltage (machine model)||TAMB – 25°C||-||0.5||KV|
3.2 Electrical conditions
Table 4,Normal electrical conditions
|Parameter||Description||Minimum Value||Typical Value||Maximum Value||Unit|
|VIL||I/O low-level input||–0.3||-||VCC*0.25||V|
|VIH||I/O high-level input||VCC*0.75||-||VCC||V|
|VOL||I/O low-level output||-||-||VCC*0.1||V|
|VoH||I/O high-level output||VCC*0.8||-||VCC||V|
|Imax||I/O drive current||-||-||12||mA|
3.3 ZigBee TX Power Consumption
Table 5 TX power consumption during constant emission
|Symbol||Rate||TX power||Typical Value||Unit|
|IRF||250 Kbps||+19 dBm||118||mA|
|IRF||250 Kbps||+10 dBm||32||mA|
|IRF||250 Kbps||+4 dBm||17||mA|
|IRF||250 Kbps||+1 dBm||11.8||mA|
Note: When the preceding data is used for testing, the amount of constantly emitted data (duty cycle) is 100%.
3.4 Zigbee RX Power Consumption
Table 6 RX power consumption during constant emission
Note: When the UART is in active state, the current in constant receiving mode is 8 mA.
3.5 Power Consumption in Operating Mode
Table 7 TYZS7 working current
|Working Mode||Working Status (Ta = 25°C)||Average Value||Maximum Value||Unit|
|EZ mode||The module is in EZ status.||12||40||mA|
|Operation mode||The module is in connected status.||1||3||mA|
|Deep sleep mode||The module is in deep sleep mode, with the 64 KB flash.||1.4||3||uA|
4. RF Features
4.1 Basic RF Features
Table 8,Basic RF features
|Frequency band||2.400–2.483 GHz|
|Physical-layer standard||IEEE 802.15.4|
|Data transmitting rate||250 kbit/s|
|Antenna type||External antenna connected through the IPEX connector|
|Line-of-sight transmission distance||> 120 m|
4.2 Zigbee Output Power
Table 9 TX performance during constant emission
|Parameter||Minimum Value||Typical Value||Maximum Value||Unit|
|Maximum output power||-||+19||-||dBm|
|Minimum output power||-||–30||-||dBm|
|Output power adjustment step||-||0.5||1||dB|
|Output spectrum adjacent-channel rejection ratio||–32||dBc|
4.3 Zigbee RX sensitivity
Table 10 RX Sensitivity
|Parameter||Minimum Value||Typical Value||Maximum Value||Unit|
|PER < 10%, RX sensitivity, 250 kbit/s@OQPSK||-||-102||–||dBm|
5. Antenna Information
5.1 Antenna type
The module is connected to the external antenna through an IPEX connector (female).
5.2 Antenna Interference Reduction
To ensure optimal radio performance when the IPEX external antenna is used, it is recommended that there be a space of at least 15 mm between the module antenna and other metal parts.
Do not wrap metal parts around the antenna to avoid impact on the antenna radiation performance. You are advised to hollow out the conversion board in the antenna area.
6. Packaging Information and Poduction Instructions
6.1 Mechanical Dimensions and Size of the Back Pad
6.2 Recommended PCB Encapsulation
Note: Pin13 and pin14 are the JLINK programming interfaces, which can also be used as the common I/O interfaces in applications after programming.
Pin15 and pin16 are configured as the UART communication interfaces by default.
6.3 Production Instructions
Storage conditions of a delivered module are as follows:
- The anti-moisture bag is placed in an environment where the temperature is under 30°C and the relative humidity is under 85%.
- The shelf life of a dry-packaged product is six months from the date when the product is packaged and sealed.
- Throughout the production process, each involved operator must wear electrostatic ring and electrostatic clothes.
- During the operation, strictly protect the module from water and strains.
6.4 Recommended Oven Temperature Profile