Radiometrix Hartcran House, 231 Kenton Lane, Harrow, HA3 8RP, England Issue: 2, 13 February 2007 Tel: +44 (0) 20 8909 9595, Fax: +44 (0) 20 8909 2233 Control124 4 bit Address - 12 bit Data encoder/decoder Control124 is a 4 bit address, 12 bit data encoder and decoder combined in a single IC. This device can operate in either Encode or Decode mode. It uses 1kbps differential Manchester bit balancing with preamble and checksum. CTR124 is specifically designed to be used in RF remote control applications. It is available in 28pin SO and DIL packages. Figure 1: Control124 in 28 pin DIL package Features • • • • • • • • • • • • • • • • Operating voltage (temperature): 4.0V-5.5V for standard version (-40°C to +125°C) 2.0V-5.5V for low voltage version (-40°C to +85°C) Draws <2mA without external load 4 bit address and 12 bit data 16 different remotes with 12 controls each Single packetised transmission for fast activation Maximum usage of the range capability of an RF module Adequate preamble to settle data slicer in the receiver. Extra wake up preamble to allow for transmitter power up time requirements Differential Manchester encoding of address, data and checksum Synchronisation codes and checksum to reduce false triggering on noise Suitable to be used with Narrow Band FM radio modules Ceramic resonator or crystal oscillator up to 20MHz Data rate up to 5.6kbps Minimum external component requirement 4 wire, push button and latched push button modes Custom address, data bit variations available subject to minimum order quantity Applications • • • • • • • • Security and Alarm systems Emergency assistance call system Status reporting and monitoring systems RF Remote control systems Industrial controls HVAC controls Simple On/Off switching Long range telecontrol with Narrow Band FM radios Radiometrix Ltd Control124 page 1 Encoder Mode Control124 can be put into Encoder Mode by connecting Mode (pin 2) to supply. 10k 10k Vcc GND 10k 10k TXE NC 4k7 3.58MHz Vss OSC1 OSC2 DA0 DA1 DA2 DA3 10k 10k 10k RF TXD DB3 DB2 DB1 DB0 A3 A2 A1 A0 Vdd 10k RST SEND TXD NC MODE Contro124 Transmitter 10k 10k 5V supply 100nF Vss DA7 DA6 DA5 DA4 Figure 2: Control124 in Encoder Mode Pin 1 2 3 4 5 6 7 8 9 10 11 - 18 19 20 Name RST SEND TXD NC MODE TXE NC VSS OSC2 OSC1 DA0 - DA7 VSS VDD Input/Output Input Input Output Input Output Supply Output Input Input Supply Supply 21 - 24 25 - 28 A0 - A3 DB0 - DB3 Input Input Description Active Low Reset (Connect to user system reset or tie to Vdd) Active Low Send Packet (Encoder Enable)1 Encoded Address and Data to TXD input of RF Transmitter RX=0V, TX=Vdd (no pull-up, only read at reset/power up) Active Low RF Transmitter Enable (Open drain, require 10k pull-up)2,3 Supply Ground 3.58MHz resonator4 3.58MHz resonator4 8 bits of Data A; Schmitt trigger input5, 6 Supply Ground 4.0V-5.5V supply (decouple with 100nF close to IC). 2.0V-5.5V (low voltage version) Least significant 4 bits of Address (Internal pull-ups to Vdd)6 Least significant 4 bits of Data B (Internal pull-ups to Vdd)6 Notes: 1. If a low going pulse of between 10µs and 50ms is applied to SEND pin then a single packet will be transmitted 2. After asserting TXE low (active), the encoder allows 55ms for NBFM TX to power up and settle 3. TXE is an open drain output (no pull-up). Connect it to Vdd via a 10kΩ pull-up resistor 4. OSC1,2 require a 3.58MHz ceramic resonator with internal capacitors like Murata CSTLA3M58G55-B0. If a 2 pin resonator or crystal is used, then two 15pF-22pF caps are needed: one from OSC1 to 0V another from OSC2 to 0V. 100Ω series resistor between OSC2 and crystal may be required when driving low frequency crystal with High Speed (H) CTR124H version. 5. Not suitable for non-standard logic levels, require external pullup resistors. 6. Absolute maximum source/sink current from each DA0-DA7, DB0-DB3 and A0-A3 pins is 25mA. Absolute maximum total current from DA0-DA7 port and DB0-DB3, A0-A3 port is 200mA 7. MODE pin is only read at reset/power up. Connect to either Vdd (Encoder) or 0V (Decoder). 8. Without external loads the CTR124 draws <2mA from 5V supply 9. Standard version can be used down to 4V for <20MHz oscillator. Low voltage version can be used down to 2V for <4MHz oscillator Radiometrix Ltd Control124 page 2 Decoder Mode Control124 can be put into Decoder Mode by connecting Mode (pin 2) to Ground. 10k 5V supply 470R Receiver RF RXD Vcc GND 3.58MHz 470R 470R 470R 470R Vss OSC1 OSC2 DA0 DA1 DA2 DA3 Contro124 RST LATCH RXD STB MODE NC NC DB3 DB2 DB1 DB0 A3 A2 A1 A0 Vdd Vss DA7 DA6 DA5 DA4 470R 470R 470R 470R 100nF 470R 470R 470R 470R Figure 3: Control124 in Decoder Mode Pin Name 1 2 RST LATCH Input/Outp ut Input Input 3 4 5 6 7 8 9 10 11 - 18 19 20 RXD STB MODE NC NC VSS OSC2 OSC1 DA0 - DA7 VSS VDD Input Output Input Supply Output Input Output Supply Supply 21 - 24 25 - 28 A0 - A3 DB0 - DB3 Input Output Description Active Low Reset (Connect to user system reset or tie to Vdd) 0V = latch DA3:D0 until next packet Vdd = clear DA3:DA0 after 150ms (no pull-up) Encoded Address and Data from RXD Output of RF Receiver Positive going pulse on reception of valid data packet. 10µs duration RX=0V, TX=Vdd (no pull-up, only read at reset/power up) Supply Ground 3.58MHz resonator1 3.58MHz resonator1 8 bits of Data A2 Supply Ground 4.5-5.5V supply (decouple with 0.1µF close to IC) 2.0V-5.5V (low voltage version) Least significant 4 bits of Address (Internal pull-ups to Vdd)2 Least significant 4 bits of Data B2 Notes: 1. OSC1, 2 require a 3.58MHz ceramic resonator with internal capacitors like Murata CSTLA3M58G55-B0. If a 2 pin resonator or crystal is used, then two 15pF-22pF caps are needed: one from OSC1 to 0V another from OSC2 to 0V. 100Ω series resistor between OSC2 and crystal may be required when driving low frequency crystal with High Speed (H) CTR124H version. 2. Absolute maximum source/sink current from each DA0-DA7, DB0-DB3, A0-A3 pins is 25mA Absolute maximum total current from DA0-DA7 port and DB0-DB3, A0-A3 port is 200mA 3. MODE pin is only read at reset/power up. Connect to either Vdd (Encoder) or 0V (Decoder). 4. Without external loads the CTR124 draws <2mA from 5V supply. 5. Standard version can be used down to 4V for <20MHz oscillator. Low voltage version can be used down to 2V for <4MHz oscillator. 6. High Speed, CTR124H, version should not be used with Narrow Band FM radio modules. Radiometrix Ltd Control124 page 3 Encoded Data Packet Format Transmission format is 1kbps differential Manchester encoding when using 3.58MHz resonator. Oscillator frequency can decreased to suit narrow band RF module data rate requirements. CTR124H IC running at 20MHz can be used with wideband radio modules for fast data transmission. 0 0 0 1 0 1 0 1 1 1ms 500µs Figure 4: 1kbps differential Manchester coding of ‘1’ and ‘0’ Control124 transmits a 6-byte burst, with 8 bits of preamble and 4 bits postamble. When firing up the transmitter from cold Control124 puts in an extra 55ms especially for Narrow Band FM transmitter and receiver requiring longer power-up to stable data time. Figure 5: Push button transmission with 55ms power-up preamble The large amount of sync code, address and checksum reduce the likelihood of false calling on noise to an insignificant degree, while the breaking up of the data sequences with bit7 zeros is to reduce the likelihood of the decoder mistaking particular sequences in the data for sync codes. Radiometrix Ltd Control124 page 4 Differential Manchester encoding coverts the 0000 into 11001100 which is the bit pattern equivalent to preamble required to settle adaptive data slicer in the RF receiver module. Preamble = Sync1 = Sync2 = DataA = DataB = Address = Checksum = 11001100 this byte is not decoded. 10111111 111100(A7)(B7) 0(DA6-DA0) 0(DB6-DB0) 0(A5-A0)0 sum of (DA7-DA0) + (DB7-DB0) + Adr(whole byte) truncated to 8 bits This allows 6 bits of address and 2 data bytes per 60ms burst when 3.58MHz resonator is used. Preamble 00000000000000 11001100 Sync1 10111111 Sync2 Data A 111100(DA7)(DB7) 0(DA6:DA0) Data B Address 0(DB6:DB0) 0(A5:A0)0 Check Sum Postamble DA7:DA0+DB7:DB0 +A7:A0 0000 Figure 6: Control124 data packet In the following example, Control124 in Encoder mode is set with the following. DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 DB3 DB2 DB1 DB0 A3 A2 A1 A0 0 1 1 0 1 0 0 1 1 0 1 0 1 0 0 1 The Control124 will packetise the address and data into the following format. Preamble 11001100 Sync1 10111111 Sync2 11110010 Data A 01101001 Data B 00001010 Address 00010010 Checksum 10000101 Postamble 0000 Figure 7: Synchronisation codes, DataA, DataB, Address, Checksum and Postamble Radiometrix Ltd Control124 page 5 Application Modes Mode 4 wires Pushbutton Latched Pushbutton Setup Latch = 0V (connect) SEND = 0V (connect) Latch = Vdd (connect) SEND =0V (push button) Latch = 0V (connect) SEND = 0V (push button) Description Continuous transmission like wire connection Decoder outputs active only when transmitter is keyed Decoder outputs hold state of last transmission Ordering Information CTR124-000-SS CTR124-000-SO CTR124-000-DIL Control124 (≤4MHz)- No Frequency - Shrink Small Outline Control 124 (≤4MHz)- No Frequency - Small Outline Control 124 (≤4MHz)- No Frequency - Plastic Dual In Package CTR124L-000-SS CTR124L-000-SO CTR124L-000-DIL Control124 Low Voltage (≤4MHz) - No Frequency - SSOP Control124 Low Voltage (≤4MHz) - No Frequency - SO Control124 Low Voltage (≤4MHz) - No Frequency - PDIP CTR124H-000-SS CTR124H-000-SO CTR124H-000-DIL Control124 High Speed (4MHz-20MHz) - No Frequency - SSOP Control124 High Speed (4MHz-20MHz) - No Frequency - SO Control124 High Speed (4MHz-20MHz) - No Frequency - PDIP Radiometrix Ltd Control124 page 6 Radiometrix Ltd Hartcran House 231 Kenton Lane Harrow, Middlesex HA3 8RP ENGLAND Tel: +44 (0) 20 8909 9595 Fax: +44 (0) 20 8909 2233 [email protected] www.radiometrix.com Copyright notice This product data sheet is the original work and copyrighted property of Radiometrix Ltd. Reproduction in whole or in part must give clear acknowledgement to the copyright owner. Limitation of liability The information furnished by Radiometrix Ltd is believed to be accurate and reliable. Radiometrix Ltd reserves the right to make changes or improvements in the design, specification or manufacture of its subassembly products without notice. Radiometrix Ltd does not assume any liability arising from the application or use of any product or circuit described herein, nor for any infringements of patents or other rights of third parties which may result from the use of its products. This data sheet neither states nor implies warranty of any kind, including fitness for any particular application. These radio devices may be subject to radio interference and may not function as intended if interference is present. We do NOT recommend their use for life critical applications. The Intrastat commodity code for all our modules is: 8542 6000 R&TTE Directive After 7 April 2001 the manufacturer can only place finished product on the market under the provisions of the R&TTE Directive. Equipment within the scope of the R&TTE Directive may demonstrate compliance to the essential requirements specified in Article 3 of the Directive, as appropriate to the particular equipment. Further details are available on The Office of Communications (Ofcom) web site: http://www.ofcom.org.uk/radiocomms/ifi/ Information Requests Ofcom Riverside House 2a Southwark Bridge Road London SE1 9HA Tel: +44 (0)20 7981 3000 Fax: +44 (0)20 7981 3333 [email protected] European Radiocommunications Office (ERO) Peblingehus Nansensgade 19 DK 1366 Copenhagen Tel. +45 33896300 Fax +45 33896330 [email protected] www.ero.dk