Home
        KNX - Radiocrafts AS
         Contents
1.               OFF    IDLE  treser  IDLE   RESET puia IDLE          151                SLEEP IDLE                  PROMPT te conric               2  IDLE    ILE        CONEIG CONFIG                           CONFIG  C  set low    temory conric tconric Le  CONFIG MEMORY CONFIG CONFIG IDLE  aU OxFF UC    Figure 6  UART timing diagram       Timing values are shown in the timing table for each KNX feature set        2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 11 of 22    e COKIN    Power Management  The module can be set in SLEEP mode in order to reduce the power consumption     The low power SLEEP mode is manually entered by using the SLEEP command    Z    after the  module is set in configuration mode  It is also possible to configure the module to enter  SLEEP automatically after a message has been transmitted  SLEEP MODE 1   With this  setup the module has to enter TX mode  transmit a message  after power on before entering  SLEEP mode first time  In SLEEP mode the module will not receive or detect incoming data   neither from the host  UART port  nor from the air  The module is awakened from the SLEEP  mode by sending the wake up byte FFh on the UART RXD line  use a UART Baud rate    4 8  kBd due to a maximum pulse length requirement   After the module has woken up  see  Timing Information  it is ready to receive data on the UART or from the air  The SLEEP  command can be used for both Master and Slave     All configuration settings and RAM values are retained during
2.  1  UART interface overview and KNX RF packet format    Frame format for transmitting data  The data frame for the UART RXD pin  input for transmitting a KNX packet  is built like this     i                 2 byte source 2 byte dest     his s ipi eiiis          _            T T     nP    Application header       Figure 2  UART interface packet transmission  RXD pin      2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 7 of 22    L is the length  not including the length byte itself   followed by the data headers with the      byte first  Cl is the Control Information byte  or    KNX Ctrl      The data headers are L NPCI   Link Network Protocol Control Information   TPCI  Transport layer Protocol Control  Information  and APCI  Application layer Protocol Control Information      The C field is fixed to 44h  i e  SND NR message   The RF info contains battery status  which  can also be added by the module based on a configurable voltage threshold    BATTERY THRESHOLD  which can be set in 30mV steps  The maximum value is 3 75V  corresponding to 7Fh     The unique Serial Number  SN  and Domain Address  DoA  are entered and stored in the  modules  non volatile memory  Depending on the Application header AET bit in the L NPCI  field either the SN or DoA will be used     The Link layer header  L  C field  RF info and address  is added to the KNX packet  automatically by the module before transmitting over RF  Compared to the KNX frame used  for wired communication like twisted pa
3.  Depends on M Bus mode  T  S  R  and L            2010 Radiocrafts AS    KNX User Manual  rev  0 30     Page 14 of 22       KNX    KNX1 Configuration Commands    A list of commands is shown in the table below  Commands must be sent as ASCII characters  or their corresponding binary value  All arguments must be sent as binary values to the  module  not as ASCII representation for hex or decimal                                                   Bind  B    0x42   Register number  1 64  Used to bind Transmitter  followed by 8 byte address to Receiver  Data stored in   NB  First two address bytes   non volatile memory   must be FFh  00h   KNX mode  G      0x47   0x00 0x04  0 4  Data is stored in volatile  0  S2 memory only   3  81   Install  l   0x49  0  Normal operation  2  Accept all messages   List binding  L    0x4C   Register number  1 64  Module responds with the  address stored in the  register  8 bytes    Memory  M      Ox4D    Address  Data   see list of Used to enter memory   configuration parameters below  configuration menu    OxFF exits memory Parameters changed are  configuration  stored in non volatile  memory    Output power           0x50   0  01 0  05  1 5  Data is stored in volatile  memory only    Quality  Q    0x51  Returns one byte indicating Based on bit errors   Indicator the signal quality of the last preamble and synch word   received packet   Signal    S     0x53 Returns one byte indicating If a valid packet has been   Strength the signal strength of a r
4.  SLEEP     If the module is shut completely off  supply power turned off   all configuration settings in non   volatile memory is restored  but values in RAM are overwritten with default settings     RSSI Reading   The module provide a digital Received Signal Strength Indicator  RSSI  through the  S   command  or attached to the received messages  The RSSI value appended to a received  message is the signal strength of that received packet  The RSSI value is a 8 bit character   one byte  indicating the current input signal strength or the signal strength of the received  message  The signal strength can be used as an indication of fading margin  or as a carrier  sense signal to avoid collisions     The RSSI value increases with increased input signal strength in 0 5 dB steps  Input signal  strength is given by  typ           RSSI  2  dBm        2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 12 of 22    e COKIN    KNX1 Description    The KNX1 support all the basic features of Receiver and Transmitters according to KNX RF  1 1 and KNX Ready specifications  Up to 64 transmitters  unique serial numbers  can be  registered in the Receiver     KNX1 Automatic Sleep   The S1 mode for transmitters only has special support for automatic sleep after data  transmission  If automatic SLEEP after TX is enabled  SLEEP MODE   1   the module will  automatically go to sleep after data transmission     KNX1 Installation and Binding   The module can be set in a  receive all  Installation M
5.  TIMING INFORMATION                               a    ansa aa aa  a nanne nann 10  POWER MANAQGEMENT                                             a    s assa sa asas assa                  12  PRISSIIREADING uu uru 2      E                               12  KNX1 DESCRIPTION    au isyaasasssss sana cdbessassnassaveeaueneusagasvausasadecdsexeeecesdanunass 13  KNX1 AUTOMATIC SLEEP                                          a    a    a    a    13  KNX1 INSTALLATION AND BINDING                            a    a    a    a    13  KNXTTEIMINGOTABEB cu Su A E n nm s ua asa Su Ghum SS 14   TABLE TO      UPDATEL                                  14  KNX1 CONFIGURATION COMMANDS                          a    a    a    a         15  KNX1 CONFIGURATION MEMORY                               a                      a    17  APPENDIX  CONFIGURATION MEMORY FACTORY DEFAULLI                           20  APPENDIX  ASCII TABLE              ra rkicusa                                    21  DOCUMENT REVISION HISTORY                                                            Q                        22  DISCLAIMER                                                                      22  TRADEMARK O                                                                                   EESADE 22  LIFE SUPPORT POLICY    u u uuu uu                         raaa wa EE rca      22  CONTACT INFORMATION                                            U  U uu uu                                    22     2010 Radiocrafts AS KNX
6.  User Manual  rev  0 30  Page 2 of 22    Embedded Wireless Solutions KN X  Quick Introduction    How      transmit data    Send your data to the RXD pin on the module  Use the UART format with settings  19200  8   1  N  no flow control   Up to 255 bytes are buffered in the module  The first byte of the  message should contain the message length  The module will transmit the data when the  whole packet is received     How do   receive data    Any received data packet with correct KNX RF format and check sums will be sent on the  TXD pin  Optionally the meter address  first KNX block  is added to the data string  The RSSI  value  received signal strength  can optionally be added to the message     What about the antenna    In most cases a simple quarter wavelength wire or a PCB track will do  Connect a piece of  wire to the RF pin with length corresponding to the quarter of a wavelength  For space limited  products  contact Radiocrafts and we will recommend the best antenna solution for your  application     How do I change the operating mode or any other parameter    To change configurable parameters  send one byte to the module with the value 0x00  This  will take the module into configuration mode  Special commands are then used to access the  configuration registers and test modes  Exit from configuration mode by sending the    X     command  Parameters can be changed permanently and stored in non volatile memory in the  module        2010 Radiocrafts AS KNX User Manual  re
7.  and when sending a reading or command this address is added to the wireless  message  Up to 64 transmitter addresses  the 6 bytes of the extended address  can be  registered in the receiver  which will filter messages from only these transmitters     Sensors being transmitters only can be battery operated as they can by set in sleep mode  when not transmitting  For two way battery operated systems  the new KNX BiBat  Bi   directional Battery operation  specification applies     A re transmitter can be used to increase the range of the RF system  Messages from  transmitters that have been registered in the re transmitter will be re transmitted        2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 5 of 22    e SE           KNX RF Embedded Protocol    Basic functionality  The module offers a buffered packet radio acting as a KNX modem  The module contains a  fully embedded protocol supporting     Unidirectinal devices  transmit only  S1      Bi direction devices  S2   The mode is configurable by the KNX MODE parameter     The required KNX mode is configured by setting the module in configuration mode and  entering appropriate UART commands     S2 mode   Set KNX MODE   0  Set PREAMBLE LENGTH   0  for short preamble  or 1  for long preamble      S1 mode   Set        MODE   3  Set PREAMBLE LENGTH   0  for short preamble  or 1  for long preamble      KNX Ready use the long preamble  while KNX RF 1 1 use short preamble     The RF channel  868 3 MHz  and data rate  32 768 kchip
8.  before the     gt     prompt  is received  The time required to execute a command can vary depending on the command   see the Timing Information section   There is no     gt     prompt after the  X  exit command     The parameters that are set by dedicated configuration commands   C    P  etc  take  immediate effect after returning to normal operation  IDLE   but will not be stored in non   volatile memory and will be lost in case the supply power is turned off or if the module is  reset  These parameters are for example the radio channel and output power     Permanent changes of parameters can be done by writing to the configuration memory using  the memory command  M   These are for example default radio channel  default output power  and M Bus mode  see the Configuration Memory section for details     The flow diagram bellow illustrates how to use the UART interface to enter configuration  mode  change configuration parameters and return to IDLE mode        2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 9 of 22    e COKIN    Send 0x00 to RXD  Wait for   gt   from TXD    Send Command byte to RXD    Wait for      from TXD  Send Command parameters to RXD  Wait for      from TXD    New command     Figure 4  Configuration mode flow diagram                     Send X  to                    NO    UART Timing Information  A UART byte consist of one start bit  8 data bits  and one stop bit  In configuration mode a  command to prompt reply will looks like this     Command Pro
9.  data received data   Radio packet configuration   PREAMBLE _ Short of long Ox0A 0x00  0   Short 0x00  0  Preamble  header    LENGTH preamble in S 0x01  1   Long length  Use long for KNX  mode only Ready    BATTERY   Threshold 0x0B 0x00 0x3F 85 Step size is 30 mV step    THRESHOLD battery voltage 0  Disable 85 corresponds to 2 5 V   for alarm The function is disabled if   set to 0    TIMEOUT Time before 0x10  lt 1 254 gt  0x7C IF SLEEP_MODE 3 the  modem clear 0x01  1   32 ms same timeout is used to  buffer without 0x02  2   48 ms auto sleep slaves   transmitting if 0x03  3   64 ms  Buffer size  lt  0  7    124   2 s Modem transmit without  Length byte OxF9  249   4 s timeout when   first byte   Buffer size   length byte    Medium access  addressing and network management   NETWORK ROLE 0x12 0x00  0   0x00  0    Transmitter Rece  iver  0x01  1    Reserved  0x10  2    Reserved  Reserved 0x19 OxFF   255    Reserved Ox1A 0x00  0    SERIAL NUMBER Serial number    0x1B 0x00 0xFF 0x12  18   first byte  0 255    SERIAL NUMBER Serial number    0x1C 0x00 0xFF 0x34  52   second byte  0 255    SERIAL_NUMBER Serial number    0x1D 0x00 0xFF 0x56  86   third byte  0 255    SERIAL NUMBER Serial number    Ox1E 0x00 0xFF 0x78                     2010 Radiocrafts AS    KNX User Manual  rev  0 30        Page 17 of 22          KNX                                                             fourth byte  0 255   120   SERIAL NUMBER Serial number    Ox1F 0x00 0xFF 0x90  fifth byte  0 255   144   SER
10.  for each used by the module to  module  minimise the total  frequency tolerance  For  firmware upgrade  read  back the value and write  it back after the upgrade   LED CONTROL          0  Disabled 0x00  0  Use to enable  1  RX TX LEDO LED1 for RX TX  indicator packet indication or  2  UART RF UART RF IDLE mode  IDLE indicator indicator   INSTALL MODE Ox3D 0  Normal mode   2                        2010 Radiocrafts AS    KNX User Manual  rev  0 30        Page 18 of 22       KNX        accept installed  transmitters only                       1  Reserved  2  Filter off   accept all  messages   PART NUMBER 0x60  ROxxxx   0x6B KNX1  HW_REV_NO 0x6D         x  y and z  Any number  0x72 Od 9d  FW REV NO 0  74         x  y and z  Any number  0x77 Od 9d  MODULE_SERIAL_ 0xC0  All 0x00 8 bytes reserved for serial  NUMBER 0xC7 number for traceability  Is  programmed by  Radiocrafts during test   Exit from memory OxFF No argument To exit from command    configuration             should be sent    mode the    X    command  must be sent after   gt   is  received                 To make permanent changes to default values and other parameters  the Memory  Configuration command  M  is used  This command should be followed by pairs of byte being  the memory address and the new value to be stored at that address  In order to exit the  Memory Configuration mode  the  address  0xFF must be sent  but without any data  argument  Then wait for the     gt     prompt while the internal memory is re pr
11.  s  are set internally in the module  according to S mode     The module has an internal buffer and transmits application data after the whole packet is  received based on the packet length  first byte of the application frame   The module use  Listen Before Talk  LBT  to avoid collisions  The module will listen for a preamble for 15 30  ms  at random  and only transmit if the channel is free  If a preamble is detected  the module  will wait until that message has been completed  and will then again listen for a new preamble  for another 15 30 ms  at random   until the channel is free    Optionally  configurable  the module will send a  Transmission complete  message   Length    00h  followed by SFh  on the UART when the transmission has been done     For uni directional devices  S1 transmit only   data should not be sent to the module more  frequent than every 150 ms  The data packets should also have a random spacing of 0 10 ms   or more      The module also has a timeout feature that will empty the input buffer in case of false data  packets  The default timeout is 2 seconds  Max total payload is 246 bytes  or 255 including  the header in the first block     Sleep mode can be entered via an UART command and wake up is triggered on UART traffic   one FFh byte   Sleep mode can also be entered automatically after a transmission   configurable by SLEEP MODE  when using the S1  transmit only  mode     The module acts as a buffered packet radio  hence all data to be sent is stor
12.  to result in significant personal injury to the user  or as a critical component  in any life support device or system whose failure to perform can be reasonably expected to cause the failure of the  life support device or system  or to affect its safety or effectiveness  Radiocrafts AS customers using or selling these  products for use in such applications do so at their own risk and agree to fully indemnify Radiocrafts AS for any  damages resulting from any improper use or sale        2010  Radiocrafts AS  All rights reserved     Contact Information  Web site  www radiocrafts com    Address   Radiocrafts AS  Sandakerveien 64  NO 0484 OSLO  NORWAY    Tel   47 4000 5195  Fax   47 22 71 29 15    E mails  radiocrafts radiocrafts com    sales radiocrafts com    support radiocrafts com       Radiocrafts is a member of the KNX association  and will work closely with the association to  enable manufacturers of wired KNX products to develop wireless products compliant with the  KNX RF standard  You can also find more information on the KNX association web site     www knx org    KNX         2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 22 of 22    
13. FF        OxFF OxFF  0x48 Ox4F   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF                                     0  50 0  57   0x00 0  00 0  00 0  00 0x00 0x00 0x00 0x00  0x58 0x5F   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    0x60 0x67  0x68 0x6F  0x70 0x77                                  0x78 Ox7F   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  0x80 0x87 OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  0x88 0x8F OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  0x90 0x97 OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  0x98 0x9F OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  OxAO OxA7   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  OxA8 OxAF   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  OxBO 0xB7   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  OxB8 OxBF   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  0xC0 0xC7   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  0xC8 OxCF   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  0  00 0  07   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  OxD8 OxDF   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  OxEO OxE7   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  OxE8 OxEF   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  OxFO OxF7   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF  OxF8 OxFF   OxFF OxFF OxFF OxFF OxFF OxFF OxFF OxFF    Grey  Reserved  do not change    Blue  Reserved for Module part number and version information  do not change   Typical values shown  the actual  content of memory in this depends on part number and version number                                                                                        2010 Radiocraft
14. IAL NUMBER Serial number    0x20 0x00 0xFF 0x00  0   sixth byte  0 255   DOMAIN ADDRESS   Domain 0x21 0x00 0xFF 0x01  1   Address  first  0 255   byte  DOMAIN_ADDRESS   Domain 0x22 0x00 0xFF 0x02  2   Address   0 255   second byte  DOMAIN ADDRESS   Domain 0x23 0x00 0xFF 0x03  3   Address  third  0 255   byte  DOMAIN ADDRESS   Domain 0  24 0  00          0  04  4   Address  fourth  0 255   byte  DOMAIN ADDRESS   Domain 0x25 0x00 0xFF 0x05  5   Address  fifth  0 255   byte  DOMAIN ADDRESS   Domain 0x26 0x00 0xFF 0x06  6   Address  sixth  0 255   byte  Data and configuration interface  UART Serial Port  UART BAUD RATE   Baud rate 0x30 0x00  Not used   0x05  5  BE CAREFUL IF  0x01  2400 CHANGING AS HOST  0x02  4800 MAY LOOSE CONTACT  0x03  9600 WITH MODULE   0x04  14400 Does not take effect until  0x05  19200 module is re booted    0x06  28800 reset   0x07  38400  0x08  57600  0x09  76800  Ox0A  115200            230400  UART_FLOW_CTRL   UART flow 0x35 0  None 0x00  0   control 1 CTS only  3 CTS RTS  4 RXTX RS485   DATA_INTERFACE Data interface   0x36 0x00  KNX 0x00  0  Sets receiver data format   packet with ID First byte is always  and address packet length  except  0x01  Application when using start byte   data only  0x02  Reserved 0x10 can be combined  0x03  Reserved with the other settings by  0x04  Add using 0x11     0x1C  start stop byte  0x08  Add CRC                    start stop byte  and CRC  0x10  TX  complete   00 3Fh   FREQ CAL 0x39 Different   Found in factory and 
15. KNX User Manual    AN    ze   R             amp  Shutters 7     Security Systems   HVAC Systems    Ak     V EF  Energy Management   eG    Lighting  Remote S e          Fire  amp  Smoke detection White Goods    Monitoring Systems            2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 1 of 22    Embedded Wireless Solutions KN X  Table of contents  TABLE OF CONTENTS U U    Uu  u u           u                             2  QUICK INTRODUCTION                   u u u uu uu uu uu E aS ud SES nao ak            CY HE      xk eg Raga          sipiin 3  KNX ads  will izkimpce                                                             4  OPTIONAL CUSTOM SPECIFIC VERSION                                                  Q  J                   4  NETWORK TOPOLOGQY                            U                                      U  u                      5  KNX RF EMBEDDED PROTOCOQL                                                        u    u    u    l                 6  BASIC  FUNCTIONALITY  toes Ua U                   ee nee teret tease arse qa sec exp                          6  UART INTERFACE FOR KNX RF PACKET                                                                                                                          7  FRAME FORMAT FOR TRANSMITTING             7  FRAME FORMAT FOR RECEIVING DATA                       a    a  aaa aasssssssssssssaa 8  UART INTERFACE FOR MODULE CONFIGURATION                                       a    aa  aaa              nna 9  UART
16. cluding any timeout  until CTS is activated   1            960 us Time from last character is received by the UART   including any timeout  until the module sends the first  byte on the air    Trx IDLE 960 us Time from last character is sent on the air until module is  in IDLE mode  ready for RXD and RX    toFF IDLE 3 2 ms   tRESET IDLE 3 0 ms   tsLEEP IDLE 1 3 ms   tcoNFIG PROMPT 60 us Time from 00h   CONFIG pin is set low until prompt      gt        Ta cowriG 1 1 ms Delay after channel byte is sent until prompt         For  other volatile memory commands there is no delay but  immediate prompt    Ta cowriG 1 1 ms Delay after new M Bus mode byte is sent until prompt       gt       For other volatile memory commands there is no  delay but immediate prompt    Twat 1 55 ms  B  K and M   Delay from stop bit of the command byte to start bit of   command  the prompt reply  See figure 5 for details   24 us  all other  commands    TMEMORY CONFIG 31 ms In this period the internal flash  non volatile memory  is  programmed  Do not reset  turn the module off  or allow  any power supply dips in this period as it may cause  permanent error in the Flash configuration memory   After the last command parameter byte the host should  wait for the  gt   prompt before any further action is done  to ensure correct re configuration    TcoNriG IDLE 1 1 ms End of    X    to IDLE   ttx 3 6 ms TX time for T1 mode when Length 1 on the UART   Preamble  sync  CRC and KNX address field added  internally 
17. eceived when in    RSSI  detected signal or a valid configuration mode  it will   packet  return the RSSI of the last  received packet    Exit command   X     0x58    none  Exit to normal operation  mode  All changes of  parameters take effect    Sleep mode  Z                           Exit sleep mode by  sending OxFF on UART  RXD pin   Test mode 0  0     0x30    none  List all configuration  memory parameters   Test mode 1  1  0x81  none  TX carrier   Test mode 2    2        0x32            TX modulated signal  PN9 sequence   Test mode 3    3        0x33   none  TX off  RX mode   Testmode4    4  0x34            IDLE  TX off  RX off                    Note  ASCII characters are written as    X     hexadecimal numbers are written like 0x00  and  decimal numbers are written like 10 throughout the text  A table of ASCII characters and their  respective hex and decimal values are found in the Appendix        2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 15 of 22    e COKIN    Any invalid command will be ignored and the   gt   prompt will be re sent     If Test mode 1 or 2 is used  it is important to enter Test mode 3 before exiting the  configuration mode     X     in order to ensure proper operation in normal mode     Example   To select RF channel 3  send the follow sequence after asserting the CONFIG line and the     gt      prompt is received     Command Hex Response Comment Note  Enter 0x00  gt  Or assert CONFIG pin  De assert CONFIG after     gt     prompt     0x43  
18. ed in the module  before they are transmitted by the RF circuitry  Likewise  when data is received they are  stored in the module before they are sent to the host  This allows the communication  controller to add address information and CRC during transmission  and to do error check of  the received data     The Module has an UART interface that is used for both KNX RF packet data and module  configuration        2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 6 of 22    e SE          KNX    UART Interface for KNX RF packet handling    The KNX RF frame format follows the FT3 block format  using two CRC bytes for every 16  data bytes  This ensures the high integrity of the data link     Preamble  block1 10                2  16 bytes  CRC   CRC Postamble  sync bytes     The KNX modules include a KNX packet handler that with automatic generation of Preamble   Header   synchronization   Block 1  C filed  RF info and address   CRC and Postamble  This  will simplify the UART format for the host controller that only need to provide application layer  data to the module UART     The host use the UART Interface to send and receive KNX RF data  The UART packet format  can be changed in the configuration mode     When the Module receives a KNX packet over RF it will send the packet over the UART  interface on the TXD Line  When the host MCU wants to transmit a KNX packet over the RF   it must send the packet through the UART Interface on the RXD line     Wireless  link       Figure
19. gt   3 0x03  gt  Wait for     gt     prompt   A new command could be issued here   x    0x58  none  Module returns to IDLE state    Note that the CONFIG line must be de asserted after the first     gt     prompt was received  but  before the    X    command       2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 16 of 22       KNX1 Configuration Memory  The table below shows the complete list of configurable parameters stored in non volatile  memory  These values can be changed using the  M  command  All addresses and   arguments must be sent as binary values to the module  not as ASCII representation for hex    or decimal      KNX       Radio configuration                                                          RF  POWER Default RF 0x01 1 5 0x05  5  See data sheet for output  output power power levels    KNX_MODE KNX mode 0x03 0  S2 0x00  0  Use    G    command to   3  81 change value in volatile  memory only   SLEEP MODE Sleep mode 0x04 0  Disable Sleep   0x00  0  When enabled the   1  Enable Sleep module enter Sleep mode   after TX after transmission  or   2  Reserved reception   Delay set by   3  Enable Sleep RX TIMEOUT   after TX and RX   5  As 1 with If enabled with sleep   sleep timeout timeout  the module goes   5  As 3 with directly to Sleep after a   sleep timeout Reset  and to Sleep after  TIMEOUT when wakeup  from Sleep or exit Config  mode    RSSI MODE Append RSSI 0x05 0 Disabled 0x00  0  When enabled the RSSI  to received 1  Enabled value is appended to the 
20. host applications using a UART buffer the timing information used for parsing could be  lost  In this case a start and stop byte can be used  Setting DATA INTERFACE   4 will add a  START byte  68h  and a STOP byte  16h  to the message  This is only used for the module   to host communication direction  TXD   Setting DATA INTERFACE   8 will add a two byte  CRC checksum  and DATA INTERFACE          will add START STOP bytes and CRC  The  CRC is sent MSByte first     The RSSI value is added when RSSI MODE   1     UART Interface for Module Configuration   The configuration of the module can be changed in circuit from the host during operation  at  the time of installation of the equipment  at the manufacturing test  or even as a stand alone  module  The configuration is changed by sending commands on the UART interface after the  module is set in configuration mode  The configuration mode is entered by sending        to the  module  or by asserting the CONFIG pin  set low      In configuration mode the module will respond by sending a     gt     prompt on the TXD pin  This  indicates that the module is ready to receive commands  The CONFIG pin  if used  can then  be de asserted  Note that the CONFIG pin must be de asserted before the Exit command      X     is sent to the module in order to return to normal operation     After a command is executed  the module responds with the     gt     prompt character again   indicating it is ready for a new command  Do not send a new command
21. ir  an extended address is used  This is to avoid  conflicts between two adjacent networks  The Group addresses  source and destination  address  is coded in the beginning of the application header     By setting DATA INTERFACE   0x10  or in combination as 0x11     0x1C   the two byte string  00 3Fh  i e  L   0  will be sent on the UART when transmission is completed  after             Frame format for receiving data  The data frame for the UART TDX pin  Output for received KNX packets  is built like this       ID  TX serial nr or Domain address   Application header    2 byte source   2 byte dest                 CRC STOP     Enable by DATA                                     Enahleby   551 NODE  lt    gt  L Lenghtof    HEADEB CI APPL_DATA  RSSEH CRC                                     Enable by DATA  INTERFACE           Figure 3  UART interface packet reception  TXD pin     Data in blue and yellow are optional output parts of the UART message and can be enabled  in configuration mode by the DATA INTERFACE and RSSI MODE configuration parameters     L is the length byte and is always present  It does not include itself or the START STOP  bytes  but will include RSSI and CRC if enabled     Do also note that the receiving module will add RSSI information within the RF info byte   based on received signal level     When setting DATA INTERFACE   1  the received HEADER will not be sent on the UART        2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 8 of 22    e COKIN    For 
22. mpt  A                  RXD                   TXD    T BIT              T_BYTE  f  RSS          T UART BYTE          _              2              WAIT    Figure 5  UART Command        prompt    The command to prompt wait time  T Command2Prompt WAIT  is different from command  to command and values are shown in the timing table for each KNX feature set     The IDLE state is the normal state where the module both searches for preamble on the RF  and wait for a character to be received on the UART  RXD is the state when receiving  characters from the host filling up the internal buffer  TX state is when the data is transmitted  on the air  RX state is when data is received from the air after preamble detection  TXD is the  state where the received data is sent to the host on the UART     CONFIG is the configuration mode  the state entered by sending OOh or asserting the  CONFIG pin and is entered during parameter configuration  while MEMORY CONFIG is the  sub state entered by the  M  command where the non volatile configuration memory is being  programmed  Note the limitation on maximum number of write cycles using the  M  command   see Electrical Specifications        2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 10 of 22    e COKIN       Preamble detected First character on Last character on  UART TXD UART TXD                 tx                                         i i                   rxapce  IDLE    1      First character on Last character on  UART RXD UART RXD  
23. ode using the  I  command  When the  module is in the  receive all  mode it will accept all messages  and can use these to extract  addresses for binding     Transmitters can be bound to a Receiver by registering their addresses in the Address  Register  This is done by using the  B   Bind  command followed by a register number  1 64   and an 8 bytes slave address  The Serial Number address must start with FFh  00h followed  by the 6 address bytes  Note  the Domain Address shall NOT be registerd in the Address  Register  as it is configured using the  M  command in the Configuration Memory    A maximum of 64 Transmitters can be bound to one Receiver     Note  the host must know which registers are used and which are free at any time        2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 13 of 22    KNX1 Timing table    KNX    The table below shows the timing information for the module when changing between  different operating states  Timing symbol is according to figure 5 and 6      Table to be updated                                                         Symbol                         180 us Time from last byte is received from the air until first  character is sent on the UART   trxp Min 590 us trxp     bytes received x 590 us char  10 bits at 19 2 kBd    70 us delay per character    trxp IDLE 900 us Time from last character is sent on the UART until  module is in IDLE mode  ready for RXD and RX    Trxp cTs 20 us Time from last character is received by the UART   in
24. ogrammed  See  Timing Information for typical delay   To completely exit from command mode  the normal exit    command  X  must be sent     Example     To change the DOMAIN ADDRESS  at address 0x21 and 0x26  and set it to  100 200         0x64 0xC8        send the following sequence     Command Hex   Enter 0x00     M    0x4D  0x21 0x21   100 0x64  0x22 0x22  200 0xC8     new address could be sent here     new value could be sent here   OxFF OxFF  X 0x58    Response    E     V    TE     gt                 Comment Note   Or assert CONFIG pin   De assert CONFIG after     gt     prompt  Module ready to receive address    Wait for     gt     prompt  Module returns to IDLE state    Test mode 0     0    command  can be used to list all parameters stored in non volatile memory   This command can be used to verify and check the module configuration       2010 Radiocrafts AS    KNX User Manual  rev  0 30     Page 19 of 22    e KNX    Appendix  Configuration Memory Factory Default       Address KNX1 factory default Values   0x00 0x07   OxOB 0x05 0x02 0x00 0x00 0x00 0x64 0x00  0x08 OxOF   0x05 0x3C 0x00 0x55 0x00 0x00 0x80 0x80  0x10 0x17   Ox7C 0x00 0x00 0x01 0x00 0x00 0x17 0x00  0x18 0x1F   0x00 OxFF 0x00 0x12 0x34 0x56 0x78 0x90  0  20 0  27   0x00 0  01 0  02 0x03 0x04 0x05 0x06 0x04  0x28 Ox2F   OxFF 0x08 0x00 0x00 0x00 0x00 0x00 0x00  0  30 0  37   0x05 0  08 0  00 0  01 0  05 0  00 0  00 0  01  0x38 0x3F   Ox2B 0x00 0x00 0x44 0x06 0x02 0x00 0x00  0  40 0  47 OxFF OxFF OxFF OxFF Ox
25. p addresses       Listen before   Yes  according to  talk  LBT  KNX                      The command set used to configure the KNX modules are different for each feature set and  an overview is found in the appendixes     Note that this User Manual also is applicable for the RCxxxxTX KNX  planned future product    This is a TX only hardware and the RX features described in this User Manual is not  supported     Optional custom specific version   As an option to the standard feature sets  a full KNX application layer can be integrated in the  module based on customer specification  In this case all the application layer protocol and  timing will be handled internally by the module  See Data Sheet for details        2010 Radiocrafts AS KNX User Manual  rev  0 30  Page 4 of 22    Embedded Wireless Solutions KNX  Network Topology    A KNX based building automation system normally consists of a number of sensors which  reports their readings and status to a concentrator for further processing  or directly trigging  actuators  The network topology is one to many or peer to peer  KNX RX 1 1 or KNX RF  Ready does not use the Master     Slave concept of for example Wireless M Bus  Several  receivers can receive the same message based on registering the group  or individual   address of the transmitter     The Radiocrafts KNX RF family of modules RC11xx KNXx can be used as transmitters or  receivers  The module is configured with a unique address  Serial Number   and a Domain  Address 
26. s AS KNX User Manual  rev  0 30  Page 20 of 22    Embedded Wireless Solutions KNX          Appendix  ASCII Table  NUL      SOH    A       E        ENQ      ACK    F       H       HT                        oo  1  o     oN o  celo oo B  cpr                                    2010 Radiocrafts AS KNX User Manual  rev  0 30    Page 21 of 22    Embedded Wireless Solutions KNX          Document Revision History    1 0 First release       Disclaimer   Radiocrafts AS believes the information contained herein is correct and accurate at the time of this printing  However   Radiocrafts AS reserves the right to make changes to this product without notice  Radiocrafts AS does not assume  any responsibility for the use of the described product  neither does it convey any license under its patent rights  or  the rights of others  The latest updates are available at the Radiocrafts website or by contacting Radiocrafts directly     As far as possible  major changes of product specifications and functionality  will be stated in product specific Errata  Notes published at the Radiocrafts website  Customers are encouraged to check regularly for the most recent  updates on products and support tools     Trademarks    All other trademarks  registered trademarks and product names are the sole property of their respective owners     Life Support Policy   This Radiocrafts product is not designed for use in life support appliances  devices  or other systems where  malfunction can reasonably be expected
27. v  0 30  Page 3 of 22    e E COKIN    KNX feature sets   This User Manual describes the embedded protocol of the KNX Modules from Radiocrafts   The KNX firmware is available as different feature sets targeting specific applications  The  hardware platform is the same for all solutions  and the different feature sets available are  listed in the table below  Detailed information on how to use the different feature sets is found  in this User Manual     There are four KNX RF specifications       KNX RF Ready is a single channel system at 868 3 MHz  and is an update of KNX  RF revision 1 1 specified in EN 50090 5 3 2006      KNX RF Multi is a multichannel evolution of KNX RF Ready system with to additional  RF channels for fast reaction time products and two RF channels for slow reaction  time products   e KNX BiBatis a system for synchronised products based on KNX 1 1 specification      KNX BiBat 2 is an evolution of        with two RF channels based on KNX 1 1  specification    For additional information about the KNX RF packet structure  please see EN 50090 5   3 2006  and KNX System Specifications part 3 2 5  Communication Media  Radio Frequency        General Basic KNX RF 1 1  and KNX Ready  functions       Network role Sender and Receiver       KNX packet Yes             handler   Modes 51  82   Addressing Serial and domain  addressing   Number of Up to 64   installed serial   number       Filter function   Receiver only  receives messages  from  installed registered  grou
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
PDF of Online Help  TOURING 700HD Quick Start Guide  Your ULTIMATE MINI shop www.minimaniauk.com  User Manual UM EN MC 40  ATLAS- user manual - V1,1    MIT Scheme User`s Manual    HPC12B-E    Copyright © All rights reserved. 
   Failed to retrieve file