R3XX FIRMWARE USER GUIDE
©2016 Silicon Labs - 4 - R3xx Firmware User Guide (Rev 2.00)
7.7.5 I/O pin control – ETRX357 ............................................................................................... 46
7.7.6 PWM control .................................................................................................................... 48
7.7.7 ADCs ................................................................................................................................ 48
7.8 S-Registers Defining the Functionality of the Module ...................................................... 49
7.8.1 Introduction ...................................................................................................................... 49
7.8.2 Interrupts (S23-S28) ........................................................................................................ 49
7.8.3 Timers (S29-S38) ............................................................................................................. 50
7.8.4 Power Management (S39-S3A) ....................................................................................... 50
7.8.5 Functionality text (S3B-S3C) ............................................................................................ 51
7.8.6 Supply voltage (S3D) ....................................................................................................... 51
7.9 Advanced settings (S3E-S35) .......................................................................................... 51
7.9.1 Predefined multicast table entries (S3E, S3F) ................................................................. 51
7.9.2 Message endpoint settings (S40, S41) ............................................................................ 51
7.9.3 Message cluster ID settings (S42, S43) ........................................................................... 51
7.9.4 Message profile ID (S44, S45) ......................................................................................... 51
7.9.5 Counter register (S46) ..................................................................................................... 51
7.9.6 Power descriptor (S47) .................................................................................................... 51
7.9.7 Endpoint 2 Profile ID, Device ID and Device Version (S48-S4A) .................................... 52
7.9.8 Endpoint 2 input and output cluster lists (S4B, S4C) ....................................................... 52
7.9.9 Mobile End Device poll timeout (S4D) ............................................................................. 52
7.9.10 End Device poll timeout (S4E) ......................................................................................... 52
7.9.11 MAC timeout (S4F) .......................................................................................................... 52
8 BUILT-IN FUNCTIONS ....................................................................................................... 52
8.1 Introduction ...................................................................................................................... 52
8.2 Triggering a function ........................................................................................................ 53
8.3 Example functions ............................................................................................................ 55
8.3.1 Introduction ...................................................................................................................... 55
8.3.2 0010 – If I am an end device Poll Parent for data ............................................................ 55
8.3.3 0014 – Check for other devices on the network ............................................................... 55
8.3.4 0015 – Scan and join a network ....................................................................................... 55
8.3.5 0017 – Allow joining via the local node for 60 Seconds ................................................... 55
8.3.6 0018 – Copy local Inputs to Remote outputs ................................................................... 55
8.3.7 001E – Disassociate from the PAN if no coordinator or sink has been heard from ......... 56
8.3.8 003x – ETRX2: Toggle I/Ox. ETRX357: Toggle PA0-7 (x=0-7) or PB0-7 (x=8-F) ........ 56
8.3.9 004x – Flash I/Ox (pull low) for 250ms ............................................................................ 56
8.3.10 005x, 006x – set an output high or low ............................................................................ 56
8.3.11 0108, 0109 – send a text message to the sink ................................................................ 56
8.3.12 0110 – Send ADC readings ............................................................................................. 56
8.3.13 0111 – Send ADC readings ............................................................................................. 57
8.3.14 0112, 0113 – Location tracking ........................................................................................ 57
8.3.15 0114, 0115 – Location tracking ........................................................................................ 58
8.3.16 0116, 0117 – Location tracking ........................................................................................ 58
8.3.17 0118, 0119 – Location tracking ........................................................................................ 59
8.3.18 0130, 0131 – Send ADC readings ................................................................................... 59
8.3.19 02xx – broadcast sink address ........................................................................................ 59
8.3.20 0400 – show network status on pin PA7 .......................................................................... 59
8.3.21 0401 – show network status on pin PB7 .......................................................................... 60
8.3.22 0402 – show network status on pin PA6 .......................................................................... 60
8.3.23 2000 – event counter ....................................................................................................... 60
8.3.24 2001 – character counter ................................................................................................. 60
8.3.25 2100, 2101 – create your own function ............................................................................ 61
8.3.26 24xx, 25xx, 26xx – control other timers ........................................................................... 61