3V TRANSCEIVER 2.4GHz BAND Rev. 2 Code: 32001271 QUICK DESCRIPTION: IEEE 802.15.4 compliant transceiver operating in the 2.4 GHz ISM band with extremely compact dimensions. The module operates as an independent device that can be controlled through external control lines. Two different operating modes are available: Normal mode (default): The device operates as a dual channel TRX (2.405 2.480 GHz) in compliance with IEEE 802.15.4 standard. Through the external pins, the user can control the operation mode (Tx, Rx, stand-by) and the channel frequency. Extended Mode (User-programmable): through a predefined sequence of serial commands sent on pin 9 and received on pin 4, the user can enter configuration mode and then customize the module s behavior. Output power, channel s frequency (ranged between 2.405 and 2.480 GHz, 5 MHz steps) and serial interface baud rate up to 115200 baud, can be set. 1. MECHANICAL CHARACTERISTICS 2. PIN DESCRIPTION Pin Name Description 1 N.C. N.C. 2 GND Ground (0 V) 4 Serial Out Data output in reception mode and command s feedback (USART_TX) 5 EN 0 = Power down 1 = Active; ready to transmit or receive 6 Tx/Rx 0 = Reception 1 = Transmission 7 GND Ground (0 V) 8 CH_SEL 0 = 2.405 GHz 1 = 2.480 GHz 9 Serial In Data Input in transmission mode and commands (USART_RX) 10 Vcc Voltage Supply (3 V range) Page 1 of 9
3. ABSOLUTE MAXIMUM RATINGS: Supply voltage + Vcc (pin 10) -0.3V + 3.9V Maximum voltage on pins 4, 5, 6, 8, 9-0.3V Vcc + 0.3V Storage temperature: - 40 + 100 C Operating Temperature: - 20 + 70 C Rev. 2 4. ELECTRICAL CHARACTERISTICS AT +25 C TEMPERATURE Parameter Min. Typ. Max. Unit Notes Voltage (Vcc) 2.1 3.0 3.6 Volt Current consumption Tx Mode - 16 - ma Rx Mode - 14 - ma Power Down - 0.5 - µa Vlow on I/O pins - 0.3-0.3 * Vcc V Vhigh I/O pins 0.7 * Vcc - +Vcc + 0.3 V Output load on pin 4 1k - - Ohm 4.1 RECEIVER CHARACTERISTICS AT + 25 C TEMPERATURE Note 1 Sensitivity (radiated) - -104 - dbm Note 2, 4 Operating Frequency Ch.1 Operating Frequency Ch.2-2.405 2.480 - MHz Data-Rate RF - 250 - kbps Note 3 4.2 TRANSMITTER CHARACTERISTICS AT + 25 C TEMPERATURE Output power (radiated) - +4 - dbm Note 4 Operating frequency Ch.1 Operating frequency Ch.2-2.405 2.480 - MHz Data-Rate RF - 250 - kbps Note 3 4.3 TIMINGS Time by turning on the module (+ Vcc) to valid data reception Time by turning on the module (+ Vcc) to valid data reception - 15 - ms - 18 - ms Time by Powerdown to RX - 4.5 - ms Time by Powerdown to TX - 1.2 - ms Time by TX to RX - 2.7 - ms Time by RX to TX - 1.2 - ms Time by Ch1 to Ch2 and vice versa in RX Time by Ch1 to Ch2 and vice versa in RX Time by wanted RF signal to valid data reception (settling time) Time by Ch1 change command on serial serial to TX ready (4800 BAUD) - 3.3 - ms 2.7-2.5 ms - 14 - ms Time by datarate change on serial to - 15 - ms TX ready (4800 BAUD) 4.4 SERIAL INTERFACE CHARACTERISTICS Baud rate USART 4800 9600 115200 baud Page 2 of 9
5. TYPICAL CHARACTERISTICS (*) Page 3 of 9
(*): All graphs must be considered as indicative typical results according to temperature variation. Note 1: Current consumption using power supply of +3.0V. Current consumption s measure in TX with modulation applied. Note 2: Measured sensitivity transmitting a PRBS code, 250 kbps, result at PER equal or less than 20%. Note 3: compliant with standard IEEE 802.15.4. Note 4: Measured radiated parameters in anechoic chamber plugging module on test JIG as follows: Page 4 of 9
6. APPLICATION NOTES 6.1 STATE OF INPUT / OUTPUT PINS: Serial Out (pin 4): o Normal operation: ACTIVE o Power Down: ACTIVE LOW MUST NOT be driven externally EN (pin 5): o Normal Operation: HIGH IMPEDANCE MUST be driven externally (high) o Power Down: HIGH IMPEDANCE MUST be driven externally (low) Tx/Rx (pin 6): o Normal Operation: HIGH IMPEDANCE MUST be driven externally o Power Down: HIGH IMPEDANCE MUST be driven externally CH_SEL (pin 8): o Normal Operation: HIGH IMPEDANCE MUST be driven externally o Power Down: HIGH IMPEDANCE MUST be driven externally Serial In (pin 9): o Normal Operation: HIGH IMPEDANCE MUST be driven externally o Power Down: HIGH IMPEDANCE MUST be driven externally 6.2 USE IN NORMAL MODE: Rev. 2 It is the standard use, the module behaves as a transparent device with respect to the data stream, and can be controlled via external control lines. The data flow is carried out along the following lines: Serial out (pin 4): data output in reception mode / feedback in programming and transmission mode. Serial in (pin 9): data input in transmission mode / configuration. Command lines are: EN (pin 5): enable pin. It allows to switch the module between active or stand-by state, according to the following logic: 0: powerdown (module in stand-by) 1: enable (module on) TX/RX (pin 6): operating mode selection pin 0: module in reception 1: module in trasmission CH_SEL (pin 8): channel selection pin 0: module operating on channel 1 (2.405 GHz) 1: module operating on channel 2 (2.480 GHz) Important: These three command pins are set in high impedance state, therefore they must NOT be left in floating state(i.e.: if the "powerdown" function is not used, connect the EN pin to Vcc +, if only channel 1 is used, connect CH_SEL to GND, etc.). Page 5 of 9
6.2.1 DATA TRANSMISSION IN NORMAL MODE The serial interface is used to transmit data packets, through the SERIAL_IN line: a. Sending Request: the serial interface s data rate is 9600 baud/s The data packet header is 0x77 The maximum length of a single data frame is 112 bytes b. Transmission feedback (ACK): ACK is a feedback output from the module ACK is present on the SERIAL_OUT (PIN 4) line (see Picture 1) if transmission was successful ACK format is a 0x06 byte It is mandatory to wait for the ACK before sending the subsequent frame c. Transmitting bytes sequence: START: 0x77 LEN: data field length (1 byte min - 112 bytes max) DATA: the data to be transmitted CHK: checksum (0xFF (XOR from START to CHK)) d. Example: data to be sent: 0x00 0x01 0x02 0x03 0x04 SERIAL_IN command: 0x77 0x05 0x00 0x01 0x02 0x03 0x04 0x89 Page 6 of 9
6.2.2 USE IN EXTENDED MODE The "extended" setup of the device is carried out through the serial interface using the line SERIAL_IN (PIN 9); it is possible to send commands or data either from a microcontroller or the serial port of a host computer. Command sending: the serial interface s data rate is 9600 baud/s o this setting can be modified with a specific command (see COMMAND LIST table below). Configurable parameters are: 1. Channel 1 2. Channel 2 3. Serial BAUD rate 4. TX power 5. Default (factory reset) Waiting for the ACK from the module on the SERIAL_OUT line is required before sending the next command. Any attempt to set a non-permitted value on a parameter will not alter the configuration. Feedback reception on the serial line states the successful update of custom settings. Valid parameters will be stored in the non-volatile memory and will be preserved even in absence of power supply. Programming feedback: ACK is a feedback output from the module ACK is present on the SERIAL_OUT (PIN 4) line (see Picture 1) if transmission was successful ACK format is a 0x06 byte It is mandatory to wait for the ACK before sending the subsequent command Picture 1. Programming sequence: showing RED the command sent on SERIAL_IN line, showing BLUE the ACK returned on the SERIAL_OUT line. The evidence of successful programming meets the following timings: o Typical time between valid command reception and single parameters writing ACK: 13 ms (see Picture 1). o Typical time between valid command reception and default parameters writing ACK: 28 ms. Page 7 of 9
Programming bytes sequence: START: 0x18 LEN: packet length from CMD to D1 CMD: command to be executed D1: first datum (if present) CHK: checksum (0xFF (XOR from START to CHK)) Rev. 2 Data transmission in Extended Mode The data transmission mode is the same as in Normal Mode. Refer to paragraph 6.2.1 6.3 COMMAND LIST: Parameter Description Start Byte Byte Parameter values code CMD LEN Channel 1 Channel 1 selection byte 0x18 0x50 0x02 0x0B: 2.405 GHz (default) 0x0C: 2.410 GHz 0x0D: 2.415 GHz 0x0E: 2.420 GHz 0x0F: 2.425 GHz 0x10: 2.430 GHz 0x11: 2.435 GHz 0x12: 2.440 GHz 0x13: 2.445 GHz 0x14: 2.450 GHz 0x15: 2.455 GHz 0x16: 2.460 GHz 0x17: 2.465 GHz 0x18: 2.470 GHz 0x19: 2.475 GHz 0x1A: 2.480 GHz Channel 2 Power Serial BAUD rate Default setting Data Transmission Channel 2 selection byte RF power selection byte Serial speed (BAUD rate) Default parameters setting Transmission of one data frame 0x18 0x51 0x02 0x0B: 2.405 GHz 0x0C: 2.410 GHz 0x0D: 2.415 GHz 0x0E: 2.420 GHz 0x0F: 2.425 GHz 0x10: 2.430 GHz 0x11: 2.435 GHz 0x12: 2.440 GHz 0x13: 2.445 GHz 0x14: 2.450 GHz 0x15: 2.455 GHz 0x16: 2.460 GHz 0x17: 2.465 GHz 0x18: 2.470 GHz 0x19: 2.475 GHz 0x1A: 2.480 GHz (default) 0x18 0x54 0x02 0x00: +10 dbm (default) 0x01: +7 dbm 0x02: +4 dbm 0x03: +1 dbm 0x04: -2 dbm 0x05: -5 dbm 0x18 0x55 0x02 0x06: 115200 BAUD 0x05: 57600 BAUD 0x04: 38400 BAUD 0x03: 19200 BAUD 0x02: 9600 BAUD (default) 0x01: 4800 BAUD 0x18 0x0A 0x01 0x77 - Data LEN Data Page 8 of 9
6.4 EXAMPLES: In order to set TRX 32001271 channel 1 on frequency 2.445 GHz send the following command on the SERIAL_IN line: 0x18 0x02 0x50 0x13 0xA6 In order to set TRX 32001271 serial speed to 115200 BAUD send the following command on the SERIAL_IN line: 0x18 0x02 0x55 0x06 0xB6 In order to transmit the following data frame 0x00 0x01 0x02 0x03 0x04 send the following command on the SERIAL_IN line: 0x77 0x05 0x00 0x01 0x02 0x03 0x04 0x89 6.5 OPERATION BELOW MINIMUM OPERATING VOLTAGE In order to ensure compliance with the EMC and radio spectrum regulations, it is necessary to provide an external drive to power-down of the module before its voltage falls below the minimum operating voltage (2.1 volts). Revision Date Description 1 22.04.2015 Release 2 26.07.2018 General document revision Page 9 of 9