User Manual For CT100 29. Aug. 2012 INTRODUCTION ................................................................................................................................................... 2 1 2 ELECTRICAL INTERFACE .................................................................................................................................. 3 2.1 Maximum Ratings ...................................................................................................................................................... 3 2.2 Operating Conditions ................................................................................................................................................. 3 2.3 Connector .................................................................................................................................................................... 3 3 UART CONFIGURATION ..................................................................................................................................... 4 4 MODULE MOUNTING .......................................................................................................................................... 4 5 RADIO MODULE COMMAND SET ...................................................................................................................... 5 6 RADIO MODULE CONFIGURATION ................................................................................................................... 7 7 CERTIFICATION ................................................................................................................................................... 8 7.1 FCC Certification ....................................................................................................................................................... 8 CONFIDENTIAL Date / Editor 5-JULY-12 / WMART Version / Comment Document creation 1 of 8 User Manual For CT100 1 INTRODUCTION 29. Aug. 2012 The CT100 radio facilitates a IEEE 802.15.4 based radio communication. It uses a proprietary wireless communication stack to implement a star or cluster network with multiple nodes communicating simultaneously. The radio module provides three basic functions:
- Transparent communication between network node and network coordinator
- Writing parameters to the radio module for configuration to determine its mode of operation such as the configuration of a node or coordinator
- Reading parameters from the radio module All communication to the radio module is established through a UART communication interface. 2 of 8 29. Aug. 2012 User Manual For CT100 2 ELECTRICAL INTERFACE 2.1 Maximum Ratings Rating Input Voltage VCC Input Current VCC Operating Temperature Min.
-0.3
-30 Max. 3.6 150 60 Unit V mA C 2.2 Operating Conditions Rating Input Voltage VCC Operating Current at 3dBm Maximum RF Output Power Min. 2.1
Typ 3 / 3.3 30 Max. 3.6
7 Unit V mA dBm 2.3 Connector The radio module is connected through a 10-pin 0.5mm pitch flat cable on connector J1:
Main function Description Comment VCC VCC GND GND GND UART TX UART RX RTS I/O 10-
Pin 1 2 3 4 5 O/O 6 7 I/I O/I 8 Power Supply 3 / 3.3 V Power Supply 3 / 3.3 V Ground Ground Ground UART TX (Out) UART RX (In)l Not used CTS I/I 9 Not Used SHUTDOWN I 10 Enable sleep mode High impedance if in shutdown. High impedance if in shutdown. Option SW implemented, wired to corresponding hardware pin on uC. High impedance if in shutdown. Option SW implemented, wired to corresponding hardware pin on uC. High impedance if in shutdown Shutdown or sleep mode, to be able to select multiple radio modules The location of connectorJ1 is indicated below. To provide cable relief a slot is integrated into the radio module. 3 of 8 User Manual For CT100 3 UART CONFIGURATION 29. Aug. 2012 Baudrate 19200 Data Bits 8 Stop bits 1 Parity No Flow Control No 4 MODULE MOUNTING The CT100 radio module can be mounted with two 2.5mm machine screws. It is preferred that the screws and stand offs are made of a non conductive and non-ferromagnetic material such as plastic or ceramics. Alternatively the module can be directly soldered on to a carrier board utilizing the radio module using connector J2 and J6. 4 of 8 User Manual For CT100 5 RADIO MODULE COMMAND SET 29. Aug. 2012 The following table lists all commands available to the user through the UART communication. Ref. Group Command 1 0/TEST/CW/n Test Response 0/OK 0/ERR 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 0/TEST/RND/n 0/TEST/DUTY/hh 0/OK 0/ERR 0/OK 0/ERR 0/TEST/CH/n 0/TEST/LOOP 0/TEST/END 0/TEST/HIST 0/TEST/VER 0/TEST/BUILD 0/TEST/INFO 0/TEST/RX 0/TEST/FREQ State 0/STAT/RX/n 0/OK 0/ERR 0/OK 0/OK 0/ERR 0/Assert: hhhh 0/Assert:
HHHH/HHHHHHHH 0/Assert: hhhh 0/Assert:
HHHH/HHHHHHHH
. 0/VER/hhhhhhhh/
hhhhhhhh Not defined Not defined 0/RX/hh 0/OK 0/ERR 0/RX/n/nn 0/STAT/PER/n 0/PER/hhhhhhhh 0/STAT/RPER 0/STAT/INFO 0/STAT/CH 0/STAT/SLEEP Config 0/CONF/FTR/n/hhhhhh hh 0/CONF/FTR/n/
0/CONF/TXP/xx 0/CONF/TXP 0/OK 0/INFO/hhhhhhhh 0/CH/hhhh 0/OK 0/ERR 0/OK 0/ERR 0/FTR/n/hhhhhhhh 0/OK 0/ERR 0/TXP/xx Generate CW Signal for Test with TX power of n-0x80 dBm. Test function for EMV measurement Generate random Signal for Test with TX power of n-0x80 dBm. Test function for EMV measurement Set ON time in ms for test signal. Total duty cycle period is 100ms. Minimum is 10 (0x0A). Maximum is 100 (0x64) Force module to channel n Enable / disable UART Loop back Finish any test mode. An error is generated if no test signal is active. Get Assert-History hhhh: Assert counter (hex) HHHH: file number HHHHHHHH: Line number Get VersionNumber of SW and WPS
(High word/Low word) For debug purposes. Returns build and revision information For debug purposes Get current RX level Output a frequency signal to verify internal frequency. The uC must be reset after this command. Get Rx Level of last frame from device n. P= nn-0x80 dBm Get Packet error rate of connection to device n Reset all Packet error rate counters Get radio module info (mode, power, type, ) The lowest 8 bits are the maximum tx power in dBm + 0x80 Get current channel Radio module is forced to sleep as soon as the WPS is idle. Set filter value 0xhhhhhhhh for filter /
address n. Also used to configure the radio module itself ( with n = 0) Get filter value Set power-limit in dBm any value that is in physically possible range is allowed Get. Max Power 5 of 8 User Manual For CT100 29. Aug. 2012 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 0/CONF/DEV/n 0/CONF/CH/hhhh 0/CONF/CH 0/CONF/LL/n 0/CONF/RSTLL 0/CONF/BAUD/x 0/CONF/TIMLL/x 0/CONF/GAIN/h CR/LF Pairing 0/PAIR/START 0/PAIR/ALLOW 0/PAIR/STOP Events
0/DEV/n/none 0/DEV/n/hhhh 0/OK 0/ERR 0/TXP/hhhh 0/OK 0/ERR 0/OK 0/ERR 0/OK 0/ERR 0/OK 0/ERR 0/OK 0/ERR 0/READY 0/OK 0/ERR 0/OK 0/ERR 0/OK 0/ERR 0/LOST/n 0/FOUND/n 0/CH/hh 0/OK 0/FAIL/n 0/UNKNOWN 0/MISSING 0/PAIR/n 0/READY 0/WPS/hhhh 0/WPS/hhhhhhhh 45 norm. addr. n/_____ nothing 46 Ext. addr. nnnn/_____ nothing Get WPS address of device that is paired on filter structure n Set allowed channel with bitmask 0xhhhh Get allowed channel bitmask Set Live Line target to filter n. Setting is stored in Flash Reset any set LL target. Setting is stored in Flash Response is sent with old baud rate. Baud rate must be given in hex. Set Live Line repetition time to x. x
=1 means 10ms. Set the LNA gain of the PA on the 300m Radio h=0: low gain; h=1: high gain May be used to wake up from sleep mode Start pairing with new network (only for Remote / Receiver) Allow pairing of new device (only for coordinator/Laser) Stop pairing for new devices (only for coordinator/Laser) Live line connection lost with device, that is paired to filter n Live line connection reestablished with device, that is paired to filter n Radio switched to new channel Send data successful Send data failed Unknown command for device 0 This command is missing/ not implemented Paired new Device to filter n The radio module is ready to receive data via UART or transceiver after sleep mode or power-up. The WPS crashed. This event occurs twice. The first error gives the file number and the second gives the line nr that caused the crash. Normal addressing can be used to send data to a Viper device that is paired to a filter structure. The address specifier has to consist of 1 hex digit. Extended addressing can be used to send data to a specific WPS address. The address specifier has to consist of 4 hex digits. 6 of 8 User Manual For CT100 6 RADIO MODULE CONFIGURATION 29. Aug. 2012 The radio module can be configured through filters using the command 0/CONF/FTR/n/hhhhhhhh, whereas n indicates the filter number and h the filter bit mask. Each filter corresponds to a node in the network where as filter 0 is reserved for the radio module configuration. Each bit in the mask has a dedicated function:
Bit range 31-24
(Manufacturer Type) 23-16
(Device Type) Bitmask 31 30 29 28 27 26 25 24 14-15 11-13
(Range Type Mask) 4-10 0-3 (Device Number) 15 14 13 12 11 Value 0x11 0x12 0x13 0x14 0xFE 0xFF 0x0 0xE 0xf Description Leica Device Reserved (may be set to 1 ) Reserved (may be set to 1 ) Reserved (may be set to 1 ) Reserved (may be set to 1 ) Reserved (may be set to 1 ) Reserved (may be set to 1 ) Reserved (may be set to 1 ) Coordinator Node 1 Node 2 Node 3 Alll devices Reserved Reserved Reserved 300m 100m Reserved All device numbers are allowed
// Configure channel to communicate to coordinator The following section shows a example of UART configuration and pairing process:
Configuration of Node 2 0/CONF/FTR/0/80135001<CR><LF> // Configure Node 2 0/CONF/FTR/1/8011D800<CR><LF>
Configuration of Coordinator 0/CONF/FTR/0/80110000<CR><LF> // Configure Coordinator Device number must be 0 0/CONF/FTR/2/8013D801<CR><LF> // Configure channel to communicate to Node 2 Pairing Start 0/PAIR/ALLOW<CR><LF>
Pairing of Receiver 0/PAIR/START<CR><LF>
Sending data from Node 2 to coordinator 2/Send this string to coordinator<CR><LF>
// Initiate pairing procedure
// Allow to pair with node 7 of 8 User Manual For CT100 7 CERTIFICATION 29. Aug. 2012 7.1 FCC Certification This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference that may cause undesired operation. If using a permanently affixed label, the modular transmitter must be labeled with its own FCC identification number, and, if the FCC identification number is not visible when the module is installed inside another device, then the outside of the device into which the module is installed must also display a label referring to the enclosed module. This exterior label can use wording such as the following: Contains Transmitter Module FCC ID:
XYZMODEL1 or Contains FCC ID: XYZMODEL1. Any similar wording that expresses the same meaning may be used. The Grantee may either provide such a label, an example of which must be included in the application for equipment authorization, or, must provide adequate instructions along with the module which explain this requirement. In the latter case, a copy of these instructions must be included in the application for equipment authorization. Installers must be provided with antenna installation instructions and transmitter operating conditions for satisfying RF exposure compliance. 8 of 8