Manual AMB9625 & AMB9665 Release 1.0 SW-V3.4.0 AMBER wireless GmbH Phone +49.651.993.550 Email info@amber-wireless.de Internet www.amber-wireless.
Table of Contents 1 Summary ................................................................................................................................ 6 2 Electrical parameters ............................................................................................................ 7 2.1 Input voltage ..................................................................................................................... 7 2.2 Power consumption ..........................................................
9 User settings........................................................................................................................ 41 9.1 Difference between volatile and non-volatile settings ...................................................... 41 9.2 UserSettings overview .................................................................................................... 41 9.2.1 UART_PktMode .......................................................................................................
15.1 Update using UART interface........................................................................................ 95 15.2 Update using JTAG or Spy-Bi-Wire ............................................................................... 95 16 Firmware history ............................................................................................................... 96 17 Hardware integration .........................................................................................................
Abbreviations and abstract ACK Acknowledgement Acknowlegdement pattern confirming the reception of the transmitted data package CS Checksum DC Duty cycle Relative frequency reservation period LPM Low power mode Operation mode for efficient power consumption.
1 Summary The AMB9625 module was designed as a radio sub module for wireless communication between devices such as control systems, remote controls, sensors etc. It offers several addressing modes and relieves the host system of radio-specific tasks such as checksum calculation, address resolution, and repetition of unacknowledged telegrams. It can be deployed wherever the wireless exchange of small data packets (up to 128 bytes) between two or more parties is required.
2 Electrical parameters 2.1 Input voltage Description min typ max unit Supply voltage 2.0 2.5 3.6 V Description typ unit TX current consumption (@PHY_PaPower=0x0D) 58 mA TX current consumption (@PHY_PaPower=0x02) 30 mA RX current consumption 30 mA Low Power 3 µA 2.
4 Pinout Figure 1 Pinout Designation I/O Description ANT I/O Antenna connection VCC Supply Supply voltage GND, GND27 Supply Ground TX Output UART(Transmission) RX Input UART (Reception) /RESET Input Active low. Internally network to VCC. Do not connect if not needed. /CONFIG Input Switch the module to command mode, falling edge. Connect to GND if not needed. SLEEP Input Reserved.
Designation I/O /DATA_REQUEST Input Description Prompts the wireless transmission, falling edge. As long as no new data is received via UART or wireless transmission, the buffer content remains valid and can be resent by means of a new signal. If the function of this pin is enabled (see 9.2.20), this pin has an internal pull-up resistor. If the pin function is disabled and the pin is not needed, connect it to the GND. Without function in the command mode. /RTS Output Ready to send, active low.
5 Start-up and minimal configuration 5.1 Minimal configuration In the factory state, the modules are immediately ready for operation; the following pins are required in the minimal configuration: VCC, GND, UTXD, and URXD. If the module has to be connected to a PC, an adaptor (TTL to RS-232 or TTL to USB) has to be used. The AMB9625-EV is suited for this. In the default configuration all module inputs (TRX_DISABLE and /CONFIG) are activated and must be connected as shown in Table 1.
This data will be received by the second module and shows up as received data in the second hterm instance. You may send any string of size 1 to 128 characters from one module to the other. You just used the so called “transparent mode” of the modules to send your data. The address mode that was used is “0”. Thus all radio frames are broadcasts that can be received by anyone listening with an AMB9625 in default settings. The frame you send was generated using the timeout method.
If the CMD_RESET_IND message did not occur after resetting, the module is not in command mode. In factory state the default address mode is “0”, which means that all radio frames are broadcasts that can be received by anyone listening with an AMB9625 in default settings. Transmitter To send the string “Hello World”, the corresponding CMD_DATA_REQ has to be inserted into the input line of hterm.
Thus the CMD_DATAEX_IND message informs us that we received a packet with payload of 0x0D (13) bytes. 12 byte of these are user payload (0x48 0x65 0x6C 0x6C 0x6F 0x20 0x57 0x6F 0x72 0x6C 0x64 0x21 = Hello World!) and one byte is the RSSI value (here 0xD9, which is two’s complement for -39 dBm) directly outputted behind the payload, before the checksum. 5.
6 Host connection: Serial interface 6.1 UART 6.1.1 Supported data rates and data formats The data rate is adjusted through a configuration structure. The structure allows the configuration of the UART_Baudrate, UART_Databits, UART_Parity and UART_Stoppbits. Since the UART speed is derived from a digitally calibrated oscillator, this may result in variations of up to ± 2 %. The default baud rate of the AMB9625 is 9600 baud. The output of characters on the serial interface takes place with secondary priority.
7 Modes 7.1 Operating modes The AMB9626/AMB9665 can be used in the following operating modes: 1. Transparent mode (transparent data transmission) 2. Command mode (module configuration and data transmission using the predefined command interface) The operating mode after power-up can be configured by means of the OpMode parameter. By default, the module operates in transparent mode. Starting in the command mode, the module responds with a CMD_SET_MODE_CNF telegram. 7.1.
7.1.3 Transparent mode In this mode, data is received via the serial interface and initially buffered. As soon as a specific condition is met, the RF telegram is generated with a preamble, checksum, and address information (optional). To initiate an RF transmission, several options are available, listed in Table 2. Start Condition Description: Dependent usersettings Timeout Transmission starts if no new character is detected within a configurable time period after receiving a character via UART.
8 The command interface 8.1 Overview In the command mode, communication with the module occurs in form of predefined commands. These commands must be sent in telegrams according to the format described in Table 3. Start signal Command No. of data Data Checksum Table 3 Telegram format in the command mode Start signal: 0x02 (1 byte) Command: One of the predefined commands according to chapter 9.2.29.1 (1 byte) No.
8.2 Message overview Start signal CMD Message name Short description Chapter Requests 0x02 0x00 CMD_DATA_REQ Send data to configured address 8.3.1 0x02 0x01 CMD_DATAEX_REQ Send data to specific address 8.3.2 0x02 0x02 CMD_DATARETRY_REQ Resend the transmission of the data submitted earlier 8.3.4 0x02 0x04 CMD_SET_MODE_REQ Change into new operating mode 8.5.1 0x02 0x05 CMD_RESET_REQ Reset module 8.4.3 0x02 0x06 CMD_SET_CHANNEL_REQ Change the RF channel 8.5.
Destination network ID has been updated Destination address has been updated 0x02 0x47 CMD_SET_DESTNETID_CNF 0x02 0x48 CMD_SET_DESTADDR_CNF 0x02 0x49 CMD_SET_CNF User settings have been updated 8.6.1 0x02 0x4A CMD_GET_CNF Return the requested user setting values 8.6.2 0x02 0x4B CMD_SERIALNO_CNF Serial number request received 8.4.2 0x02 0x4C CMD_FWRELEASE_CNF Firmware version request received 8.4.1 0x02 0x4D CMD_RSSI_CNF RSSI request received 8.4.
8.3 Data transfer & reception in the command mode This group of commands includes the commands that are used to either request a radio telegram to be send or indicates a received frame. 8.3.1 CMD_DATA_REQ This command serves the simple data transfer in the command mode. Transmission takes place on the configured channel to the previously parameterised destination address. This command is especially suitable for transmission for a point-to-point connection.
8.3.2 CMD_DATAEX_REQ This command serves data transfer in a network with several parties. Both the channel to use and the destination address (depending on the parameterised addressing mode) are specified along with the command. The number of payload data bytes is limited to 128. The entered channel, destination network and destination address are loaded into the volatile runtime settings und thus kept until the system is reset.
Start signal Command Payload length + 2 Channel Destination address Payload CS 0x02 0x01 0x09 0x6A 0x05 0x47 0x6F 0x6F 0x64 0x62 0x79 0x65 0x38 Response: Start signal CMD_DATA_REQ | 0x40 Length Status CS 0x02 0x40 0x01 0x00 0x43 “Goodbye” was successfully transmitted AMB9625_MA_1_0 Page 22 of 107 Date: 09/2017
8.3.3 CMD_DATAEX_IND This telegram indicates the reception of data bytes and represents the counterpart to the commands CMD_DATA_REQ and CMD_DATAEX_REQ. Apart from the RX field strength (RSSI value), this telegram also specifies the sender address (depending on the parameterised addressing mode).
8.3.4 CMD_DATARETRY_REQ This command resends the transmission of the data submitted earlier on with CMD_DATA_REQ or CMD_DATAEX_REQ. Thus, the data does not need to be transmitted again via UART. The buffered data is lost as soon as new data is sent via UART or data is received via wireless transmission.
8.3.5 CMD_REPEAT_IND This command indicates that the module has repeated a data packet when acting in repeater mode. The source address and NetID is the address of the first sender of the RF packet, the destination address and NetID is the address of the device that is supposed to receive the RF packet.
8.4 Requesting parameters and actions This group includes all commands that will return read-only parameters or request actions in the module. 8.4.1 CMD_FWRELEASE_REQ This command is used to request the firmware version of the module.
8.4.2 CMD_SERIALNO_REQ This command can be used to query the individual serial number of the module. Format: Start signal Command Length CS 0x02 0x0B 0x00 0x09 Response: Start signal Command | 0x40 Length Serial Number CS 0x02 0x4B 0x04 Length 1 Byte For the serial number, the most significant byte (MSB), which identifies the product (product ID), is returned first.
8.4.3 CMD_RESET_REQ This command triggers a software reset of the module. The reset is performed after the acknowledgement is transmitted. Format: Start signal Command 0x00 CS 0x02 0x05 0x00 0x07 Response: Start signal Command | 0x40 Length Status CS 0x02 0x45 0x01 1 Byte 1 Byte Status: 0x00: success 8.4.4 CMD_RSSI_REQ This command returns the RX level of the last received packet determined by the transceiver IC in the form of a signed two's complement.
Response: Start signal Command | 0x40 Length RX level CS 0x02 0x4D 0x01 0xBD 0xF3 The value obtained in this way delivers the RX level RSSIdBm in dBm as follows: 0 xBDhex 10111101 bin 128 0 * 64 1 * 32 1 * 16 1 * 8 1 * 4 0 * 2 1 * 1 67 dBm AMB9625_MA_1_0 Page 29 of 107 Date: 09/2017
8.4.5 CMD_ERRORFLAGS_REQ This command returns internal error states. Format: Start signal Command Length CS 0x02 0x0E 0x00 0x0C Response: Start signal Command | 0x40 Length Error Flags MSB Error Flags LSB CS 0x02 0x4E 0x02 1 Byte 1 Byte 1 Byte The value of "0" returned by the error flag implies that no error has occurred. The value is reset either after a query or by a reset. The meaning of the error flags is not described in detail in this context.
8.5 Modification of volatile parameters This group contains all functions that will modify runtime settings while the module is running. These settings are all volatile and will be reset to defaults on a reset of the module. 8.5.1 CMD_SET_MODE_REQ This command is used to toggle the operating mode, e.g. to exit the command mode. The new operating mode is loaded into the volatile runtime settings. This and all other commands can be used in command mode only.
Start signal Command | 0x40 Length Newly configured operating mode CS 0x02 0x44 0x01 0x00 0x47 The operating mode has been successfully changed to transparent mode.
8.5.2 CMD_SET_PAPOWER_REQ This command is used to set the RF TX-power. Unlike the user settings parameter PHY_PAPower, this is a volatile runtime parameter, but it is handled in the same way. Thus see section 9.2.15.1 for more information. The Power must be selected in such a way that the Limits of the FCC regulatorys are not exceeded. Selecting a correct value is up to the customer. The entered power value is entered as a complement on two.
8.5.3 CMD_SET_CHANNEL_REQ This command is used to select the radio channel. Unlike the user settings parameter PHY_DefaultChannel, this is a volatile runtime parameter. Format: Start signal Command Length Channel CS 0x02 0x06 0x01 1 Byte 1 Byte Start signal Command | 0x40 Length Channel CS 0x02 0x46 0x01 1 Byte 1 Byte Start signal Command Length Channel CS 0x02 0x06 0x01 0xD0 0xD5 Start signal Command | 0x40 Length Channel CS 0x02 0x46 0x01 0xD0 0x95 Response: 8.5.3.
8.5.4 CMD_SET_DESTNETID_REQ This command serves to configure the destination network ID in addressing mode 2. Unlike the user settings parameter MAC_DestNetID, this is a volatile runtime parameter.
8.5.5 CMD_SET_DESTADDR_REQ This command serves to configure the destination address in addressing modes 1 and 2. Unlike the user settings parameter MAC_DestAddrLSB and MAC_DefaultDestAddrMSB, this is a volatile runtime parameter.
8.6 Modification of non-volatile parameters The non-volatile parameters are also called user settings and are stored in a special flash location. 8.6.1 CMD_SET_REQ This command enables direct manipulation of the parameters in the module’s non-volatile user settings. The respective parameters are accessed by means of the memory positions described in chapter 8. You can modify individual or multiple consecutive parameters in the memory at the same time.
Status: 0x00: Request successfully received and processed 0x01: invalid memory position (write access to unauthorised area > 127 / 0xFF) 0x02: invalid number of bytes to be written (write access to unauthorised area > 0xFF) 8.6.1.1 Example 1: Setting the number of wireless retries to 5 (parameter MAC_NumRetrys, memory position 20).
8.6.2 CMD_GET_REQ This command can be used to query individual or multiple user settings parameters. The requested number of bytes from the specified memory position are returned. You can query individual or multiple consecutive parameters in the memory at the same time. The sum of the memory position and requested data must not be more than the total size of the user-settings (however a max. of 128 Bytes). Otherwise no data will be returned. Parameters of 2 or more bytes will be transmitted LSB first.
8.6.3 CMD_FACTORY_RESET_REQ This command restores the default user settings of the module. If this was successful, a software reset of the module is executed additionally. The reset is performed after the acknowledgement is transmitted.
9 User settings 9.1 Difference between volatile and non-volatile settings The so called user settings are stored permanently into the internal flash of the module. At startup, these user settings are loaded into volatile settings, so called runtime settings. The validation of these runtime settings is lost after the module is powered off, or restarted (the process starts over again). 9.
Designation Summary 2 – 65535 5 12 2 UART_Timeout Timeout Timeout after the last character before the data received via UART are transmitted via wireless transmission [ms] Delay between signal by Pin /DATA_INDICATION and beginning of output by UART [ms] 0 – 65535 0 14 2 0 – 255 0 20 1 0/1/2 0 21 1 UART_DIDelay Data Indication Delay MAC_NumRetrys Retries MAC_AddrMode Addressing mode Number of wireless retries Addressing mode to use Permissible Default Memory Length values value position
Designation Summary Permissible Default Memory Length values value position CfgFlags Configuration flags (hex.) Flags for setting various properties; see 9.2.20 0 – 65535 512 72 2 RpFlags Repeater configuration flags (hex.
Mode 0: Transmission starts when the timeout defined with UART_Timeout has been reached or the packet has reached size UART_PktSize. Mode 1: Transmission starts when the character defined with UART_ETXChar has been detected or the packet has reached size UART_PktSize .The UART_ETXChar will be sent too. Not used in command mode. 9.2.1.1 Example 1: Set the parameter UART_PktMode to 0 (which means the transmisssion starts when the defined packet size or timeout has been reached).
AMB9625_MA_1_0 Page 45 of 107 Date: 09/2017
9.2.2 UART_PktSize Designation Summary Permissible Default Memory Length values value position UART_PktSize Packet size Number of characters for transmission start with set packet size 1 - 128 128 7 1 Maximum number of bytes after which the wireless transmission of the data received via UART starts. Used in packet mode 0 as well as in packet mode 1. Maximum is 128 due to buffer size. Not used in command mode. 9.2.2.1 Example 1: Set the parameter UART_PktSize to 120 (0x78).
9.2.3 UART_RTSLimit Designation Summary Permissible Default Memory Length values value position UART_RTSLimit /RTS limit Number of received characters after which /RTS responds 1 - 128 112 8 1 Number of bytes after which the host system is prompted to interrupt the data transfer over /RTS. This is necessary, because depending on the host system, an immediate response to the /RTS signal may not take place (UART FIFO). Not used in command mode. 9.2.3.
9.2.4 UART_ETXChar Designation Summary Permissible Default Memory Length values value position UART_ETXChar ETX character End-of-text character used to mark data packets; reception of this character triggers wireless transmission 0 - 255 10 9 1 End-of-text character that triggers the transmission of the data received via UART. Only used in packet mode 1. During the wireless transmission, the ETX character is treated like a normal character. Not used in the command mode. 9.2.4.
Successfully read the value of UART_ ETXChar as 10.
9.2.5 UART_Timeout Designation Summary Permissible Default Memory Length values value position UART_Timeout Timeout Timeout after the last character before the data received via UART are transmitted via wireless transmission [ms] 2 – 65535 5 12 2 The timeout defines the delay in milliseconds in transparent mode after the last character has been received by the UART before the wireless transmission starts. Only used in packet mode 0. The value should be chosen appropriate to the UART data rate. 9.
Successfully read the value of UART_ Timeout as 5 ms.
9.2.6 UART_DIDelay Summary Designation Permissible Default Memory Length values value position 0 – 65535 Delay between signal by Pin /DATA_INDICATION and beginning of output by UART [ms] UART_DIDelay Data Indication Delay 0 14 2 This parameter determines the delay in milliseconds between the indication of incoming RF data by the /DATA_INDICATION pin and the output of the data on UART. This delay can be used to alert a sleeping host system to prepare for the reception of data. 9.2.6.
Successfully read the value of UART_ DIDelay as 0 ms.
9.2.7 MAC_NumRetrys Designation Summary Permissible Default Memory Length values value position MAC_NumRetrys Retries Number of wireless retries 0 – 255 0 20 1 Determines the maximum number of wireless transmission retries. If this parameter is set to a value other than 0, the receiver module will automatically be prompted to send a wireless acknowledgement (“ACK”). Please note that sending acknowledgements additionally increases the traffic.
Successfully read the value of MAC_NumRetrys as 0.
9.2.8 MAC_AddrMode Designation Summary Permissible Default Memory Length values value position MAC_AddrMode Addressing mode Addressing mode to use 0/1/2 0 21 1 Addressing mode selection. The following modes have been implemented: 1. No addressing (mode 0): Each module receives the transmitted RF telegram and delivers the received data to the host system via UART. No address information is transmitted in the radio telegram. 2.
0x02 0x49 0x01 0x00 0x4A Request successfully received and processed 9.2.8.2 Example 2: Read the MAC_AddrMode from memory position 21 and length 1. Command: Start signal Command Length Memory Position Amount of Bytes CS 0x02 0x0A 0x02 0x15 0x01 0x1E Response: Start signal Command | 0x40 Length + 2 Memory Position Length Parameter CS 0x02 0x4A 0x03 0x15 0x01 0x01 0x5E Successfully read the value of MAC_AddrMode as 1.
9.2.9 MAC_NumRetrysCCA Designation Summary Permissible Default Memory Length values value position MAC_NumRetrysCCA Retries Number of wireless retries for the CCA 0 – 255 5 22 1 Determines the maximum number of retries, the module is checking for a clear channel before wireless transmission (CCA). 9.2.9.1 Example 1: Set the parameter MAC_NumRetrysCCA to 2.
9.2.10 MAC_CCARetryDelay Designation Summary Permissible Default Memory Length values value position MAC_CCARetryDelay Retries Delay for the retry of the CCA 5 – 255 20 23 1 Determines the delay the module waits for wireless transmission after a busy channel was detected. 9.2.10.1 Example 1: Set the parameter MAC_CCARetryDelay to 50 ms.
9.2.11 MAC_DefaultDestNetID Designation Summary Permissible Default Memory Length values value position MAC_DefaultDestNetID Dest. net ID Default destination network ID 0 – 255 0 24 1 Destination network address which is used in addressing mode 2. Can be modified with the command CMD_SET_DESTNETID_REQ at runtime (volatile). If the special broadcast ID and the broadcast address are set to 255, the packets will be received by all network participants. 9.2.11.
9.2.12 MAC_DefaultDestAddrLSB Designation Summary Permissible Default Memory Length values value position MAC_DefaultDestAddrLSB Dest. device address Default destination address (LSB) 0 – 255 0 25 1 Least significant byte of the destination address which is used in addressing modes 1 and 2. Can be modified with the command CMD_SET_DESTADDRESS_REQ at runtime (volatile).
9.2.13 MAC_DefaultSourceNetID Designation Summary Permissible Default Memory Length values value position MAC_DefaultSourceNetID Local net ID Own network ID 0 – 254 0 28 1 Source network ID to be used in addressing mode 2. 9.2.13.1 Example 1: Set the parameter MAC_DefaultDestNetID to 1.
9.2.14 MAC_DefaultSourceAddrLSB Designation Summary Permissible Default Memory Length values value position MAC_DefaultSourceAddrLSB Local device address Own address (LSB) 0 – 255 0 29 1 Source device address to be used in addressing modes 1 and 2. 9.2.14.1 Example 1: Set the parameter MAC_DefaultSourceAddrLSB to 1.
9.2.15 MAC_ACKTimeout Designation Summary Permissible Default Memory Length values value position MAC_ACKTimeout ACK timeout Waiting time for wireless acknowledgement [ms] 5 – 65535 10 32 2 Time to wait for a RF acknowledgement before a RF retry is triggered. RF data rate ACK timeout recommended 2.4 kbps 45 ms 38.4 kbps 8 ms 100.0 kbps 5 ms Table 6 Recommended timeouts 9.2.15.1 Example 1: Set the parameter MAC_ACKTimeout to 15.
Start signal Command | 0x40 Length + 2 Memory Position Length Parameter CS 0x02 0x4A 0x04 0x20 0x02 0x0A 0x00 0x64 Successfully read the value of MAC_ ACKTimeout as 10 ms.
9.2.16 PHY_PAPower Designation Summary Permissible Default Memory Length values value position PHY_PAPower PA power Output power [dBm]; value range depends on RF configuration -11 …15 2 41 1 complement on two Parameter for the RF output power of the module. The value +2dBm was used so that the AMB9625-EV board is not exceeding the FCC limits. Other Boards, Platforms or Antennas may need to use reduced settings to achieve FCC compliance. The RF chip only supports discrete values.
Start signal Command Length Memory Position Amount of Bytes CS 0x02 0x0A 0x02 0x29 0x01 0x22 Response: Start signal Command | 0x40 Length + 2 Memory Position Length Parameter CS 0x02 0x4A 0x03 0x29 0x01 0x00 0x63 Successfully read the value of PHY_PAPower as 0 dBm. 9.2.
9.2.17.2 Example 2: Read the PHY_DefaultChannel from memory position 42 and length 1. Command: Start signal Command Length Memory Position Amount of Bytes CS 0x02 0x0A 0x02 0x2A 0x01 0x21 Response: Start signal Command | 0x40 Length + 2 Memory Position Length Parameter CS 0x02 0x4A 0x03 0x2A 0x01 0xC8 0xA8 Successfully read the value of PHY_DefaultChannel as 200. 9.2.
9.2.18.2 Example 2: Read the PHY_CCAThr from memory position 43 and length 1. Command: Start signal Command Length Memory Position Amount of Bytes CS 0x02 0x0A 0x02 0x2B 0x01 0x20 Response: Start signal Command | 0x40 Length + 2 Memory Position Length Parameter CS 0x02 0x4A 0x03 0x2B 0x01 0x16 0x77 Successfully read the value of PHY_ CCAThr as 22 (which means -80 dBm). 9.2.
9.2.19.2 Example 2: Read the OpMode from memory position 60 and length 1. Command: Start signal Command Length Memory Position Amount of Bytes CS 0x02 0x0A 0x02 0x3C 0x01 0x37 Response: Start signal Command | 0x40 Length + 2 Memory Position Length Parameter CS 0x02 0x4A 0x03 0x3C 0x01 0x00 0x76 Successfully read the value of OpMode as 0 (transparent mode). 9.2.20 CfgFlags Designation Summary CfgFlags Configuration flags (hex.) Flags for setting various properties; see 9.2.
Bit no. Description 0 (0x0001) Setting this bit disables the /CONFIG pin. Thus the unit can no longer be switched to the command mode via this pin. 1 (0x0002) Setting this bit disables the /DATA_REQUEST pin. 2 (0x0004) Reserved 3 (0x0008) Setting this bit, disables handling of the status of the TRX_DISABLE pin. Hence, the module can no longer be set to the various power-saving modes via this pin. 4 (0x0010) Setting this bit, enables a different behaviour of the TRX_DISABLE pin.
9.2.20.1 Example 1: Set the CfgFlags to 0. Command: Start signal Command Length + 2 Memory Position Length Parameter CS 0x02 0x09 0x04 0x48 0x02 0x00 0x00 0x45 Response: Start signal Command | 0x40 Length Status CS 0x02 0x49 0x01 0x00 0x4A Request successfully received and processed 9.2.20.2 Example 2: Read the CfgFlags from memory position 72 and length 2.
9.2.21 RpFlags Designation Summary Permissible Default Memory Length values value position RpFlags Repeater configuration flags (hex.) Flags to set the repeater options, see 12 0 – 65535 0 74 2 16-bit field contains the settings of the repeater functionality. Table 7 represents a description of the respective flags. To use multiple settings, add the bit numbers and choose the result as value for RpFlags. On RF_ConfigIndex = 1 the RpFlags must be keept at the default value of 0x0000.
Command: Start signal Command Length Memory Position Amount of Bytes CS 0x02 0x0A 0x02 0x4A 0x02 0x42 Response: Start signal Command | 0x40 Length + 2 Memory Position Length Parameter CS 0x02 0x4A 0x04 0x4A 0x02 0x01 0x00 0x05 Successfully read the value of RpFlags as 1 (Repeater is enabled).
9.2.22 RP_NumSlots Designation Summary Permissible Default Memory Length values value position RP_NumSlots Number of (time) slots for packet repetition, see 12 0 – 255 32 76 1 An 8 bit field that contains the number of time slots to be used for the packet repetition. When using several repeater devices in a single network, repeated data packets can collide in the frequency channel, when all repeater devices send the received packet at the same time.
9.2.22.1 Example 1: Set the RP_NumSlots to 64. Command: Start signal Command Length + 2 Memory Position Length Parameter CS 0x02 0x09 0x03 0x4C 0x01 0x40 0x05 Response: Start signal Command | 0x40 Length Status CS 0x02 0x49 0x01 0x00 0x4A Request successfully received and processed 9.2.22.2 Example 2: Read the RP_NumSlots from memory position 76 and length 1.
9.2.23 UART_Baudrate Designation Summary Permissible Default Memory Length values value position UART_Baudrate Symbol rate of the UART (4 bytes!) 1200-115200 9600 80 4 A 32 bit field, that contains the symbol rate for the communication interface. Symbol rates up to 115200 baud are supported. Default symbol rate is 9600 baud. Please note that for baud rates higher than 9600 baud the LPM has a higher energy consumption. 9.2.23.1 Example 1: Set the UART_Baudrate to 115200 Baud.
Successfully read the value of UART_Baudrate as 115200 Baud. 9.2.24 UART_Databits Designation Summary Permissible Default Memory Length values value position UART_Databits Number of data bits 7,8 8 84 1 An 8 bit field that contains the number of data bits on the communication interface. Supported values are 7 and 8. 9.2.24.1 Example 1: Set the parameter UART_Databits to 8.
9.2.25 UART_Parity Designation Summary UART_Parity Parity Permissible Default Memory Length values value position 0,1,2 0 85 1 An 8 bit field that contains the parity for the communication interface. Values of 0 (no parity), 1 (even parity) and 2 (odd parity) are supported. 9.2.25.1 Example 1: Set the parameter UART_Parity to 0 (no parity).
9.2.26 UART_Stoppbits Designation Summary UART_Stoppbits Stop bits Permissible Default Memory Length values value position 1,2 1 86 1 An 8 bit field that contains the number of stop bits for the communication interface. Supported are 1 and 2 stop bits. 9.2.26.1 Example 1: Set the parameter UART_Stoppbits to 1.
9.2.27 RF_ConfigIndex Designation Summary Permissible Default Memory Length values value position RF_ConfigIndex Configuration index 3 and 4 3 92 1 An 8 bit field that addresses the applied RF configuration. RF_ConfigIndex Data rate (gross) [kcps] Freq. range [kHz] Modulation Max packet time for repeater mode [ms] 3 38.4 20 GFSK 40 4 100 47 GFSK 20 Table 10 RF profiles 9.2.27.1 Example 1: Set the RF_ConfigIndex to 4.
Start signal Command | 0x40 Length + 2 Memory Position Length Parameter CS 0x02 0x4A 0x03 0x5C 0x01 0x03 0x15 Successfully read the value of RF_ConfigIndex as 3.
9.2.28 RF_CCADisabled Designation Summary Permissible Default Memory Length values value position RF_CCADisabled Clear channel assessment 0,1 1 93 1 An 8 bit field that disables the channel access via clear channel assessment. The default value is 1 that means CCA disabled. 9.2.28.1 Example 1: Set the parameter RF_CCADisabled to 0 (CCA enabled).
9.2.29 RF_CCACheckTime Designation Summary Permissible Default Memory Length values value position RF_CCACheckTime LSB (Index 95) und MSB(Index 96) Observation time [ms] 0-60000 5 94 2 A 16 bit field that contains the time in milliseconds for which the channel with activated CCA has to be observed and identified as free before channel access can take place.
10 Device addressing and wireless monitoring To connect several modules to networks or to send data to specific devices, the AMB9625/AMB9665 supports the so called address mode. The corresponding user setting parameter MAC_AddrMode determines whether all modules in range, or all modules in a network or a single module with a fixed address is supposed to receive a certain message. The address resolution can be disabled ("packet sniffer") with bit 7 in the CfgFlags.
11 Radio parameters The RF parameters are configured with the RF_ConfigIndex as well as with PHY_DefaultChannel and PHY_PaPower. Further the volatile runtime parameter MAC_RuntimeChannel can also be changed with the corresponding command during the runtime. This leads to the adoption of this parameters with the next packet transmit or receive. The parameters PHY_PAPOWER and MAC_RuntimePtx are numbers in complement of two. The default configuration consists of a data rate of 38.
11.1 Channel assignment Red marked channels are not to be selected by the user configuration. Band Channel Frequency MHz 200 201 38.4 kBaud (index 3) 100 kBaud (index 4) Channel Frequency MHz 902.00 226 915.00 902.50 227 915.50 202 903.00 228 916.00 203 903.50 229 916.50 204 904.00 230 917.00 205 904.50 231 917.50 206 905.00 232 918.00 207 905.50 233 918.50 208 906.00 234 919.00 209 906.50 235 919.50 210 907.00 236 920.00 211 907.50 237 920.50 212 908.
12 Using the repeater functionality The AMB9625/AMB9665 module can be run as a repeater to artificially extend the range of sending devices in an existing network. This feature is available in all firmwares equal or newer than version 3.4.0. Figure 2 Range extention using repeaters If the module is configured as repeater it can be simply added to existing wireless networks consisting of AMB9625/AMB9665 modules.
Besides of this, a AMB9625/AMB9665 that is configured as repeater supports also the functions of a standard module. Thus it can receive data and can initiate the data transmission to other modules. 12.1.1 Setup of the network and repeater device The repeater mode can be enabled with setting bit 1 in the RpFlags. As ACKs are not supported by the Repeater-Mode all network members must make sure that the UserSettings value of MAC_NumRetrys is set to 0.
feature in the customer’s application. To be sure that the sender does not request ACKs the user setting MAC_NumRetrys must be set to 0. Every repeater sends each packet only once. But receivers can receive each packet several times (sent by different repeaters), if there are packets of different content in the network temporally close to each other. Thus, on the side of the receiving device, a mechanism can be implemented that filters double packets. 12.1.
b. Repeater 2 sends the packet. i. Repeaters 3 does not accept it, since it has been already received before (1.3). ii. Sender 1 does not accept it, since its address is wrong (unequal 5). iii. Repeater 4 receives and accepts the packet. C. Repeater 4 delays and sends the packet. a. Sender 6 and 7 do not accept it, since their addresses are wrong (unequal 5). b. Repeater 2 does not accept it, since it has been already received before (1.2). c.
13 Battery powered operation The TRX_DISABLE pin can set the module to one of two different modes of operation. 13.1 Active mode When TRX_DISABLE is low, the module is permanently ready to receive and forward data via UART or wireless transmission. The module will switch to one of the internal LPM after having processed any pending data transmission, i.e. /RTS must be low. 13.2 Stand-by mode When TRX_DISABLE is high, the operation of the module's transceiver is disabled.
14 Timing parameters 14.1 Reset behaviour Following a reset, a low on the /RTS pin signals that the module is ready for operation. This level is however only valid, after the delay required for the internal initialisation of the processor (a few µs). 14.1.1 Power-on reset After switching the supply voltage and releasing the /RESET pin (if wired), the time until the module is ready for operation can last up to 1 s. 14.1.
The channel access method adds additional latency. This can be configured in the user settings. The wireless transmission starts as soon as the first data is available in the transceiver memory. During the continuous wireless transmission the remaining payload data is transmitted byte by byte. On the receiver side, the FIFO is read as soon as an incoming packet is detected. If the module detects a packet that requires an ACK, the ACK is sent directly after the packet reception.
15 Firmware update We highly recommend to have pads/connectors for realizing these (external) uart connection on any customer PCB. 15.1 Update using UART interface As long as a firmware is running on the module the module can be updated with the PC utility "AMBER Config Center” (ACC V3) via the serial interface. If the module is not directly connected to a PC, the UART should be made accessible, e.g. by means of suitable connectors. Only the UTDX, URXD and GND signals are needed for this connection.
16 Firmware history Version 3.4.0 First release for 915MHz Band as a branch of AMB8626 V3.4.
17 Hardware integration 17.
18 Design in guide 18.1 Advice for schematic and layout For users with less RF experience it is advisable to closely copy the relating evaluation board with respect to schematic and layout, as it is a proven design. The layout should be conducted with particular care, because even small deficiencies could affect the radio performance and its range or even the conformity. The following general advice should be taken into consideration: A clean power supply is strongly recommended.
Figure 5: Layout To avoid the risk of short circuits and interference there should be no routing underneath the module on the top layer of the baseboard. On the second layer, a ground plane is recommended, to provide good grounding and shielding to any following layers and application environment. In case of integrated antennas it is required to have areas free from ground. This area should be copied from the evaluation board.
18.2 Dimensioning of the 50 Ohm microstrip The antenna track has to be designed as a 50 Ohm feed line. Figure 6 Dimensioning the antenna feed line as micro strip The width W for a micro strip can be calculated using the following equation: 5.98 H W 1.25 50 1.41 Tmet r 87 e Equation 1 Parameters of the antenna feeding line Example: a FR4 material with r = 4.3, a height H = 1000 µm and a copper thickness of Tmet= 18 µm will lead to a trace width of W ~ 1.9 mm.
In the following chapters, some special types of antenna are described. 18.3.1 Lambda/4 radiator An effective antenna is a Lambda/4 radiator. The simplest realization is an 8.6 cm long piece of wire for 868 MHz, respectively a 3.1 cm long piece of wire for 2.44 GHz. This radiator needs a ground plane at its feeding point. Ideally, it is placed vertically in the middle of the ground plane.
19 Manufacturing information The assembly contains moisture sensitive devices of the MSL classification 3. Only the dry packed Tape & Reel devices are suitable for the immediate processing in a reflow process. Further information concerning the handling of moisture sensitive devices, (e.g. drying) can be obtained from the IPC/ JEDEC J-STD-033.
20 References [1] „CC1125 Single-Chip Low Cost Low Power RF-Transceiver”, Texas Instruments [2] „AMB9625 Datasheet”, AMBER wireless GmbH AMB9625_MA_1_0 Page 103 of 107 Date: 09/2017
21 Regulatory compliance information 21.1 Important notice The use of RF frequencies is limited by national regulations. The AMB9625 has been designed to comply with the FCC and IC. The AMB9625 can be operated without notification and free of charge in the area of USA and Canada. Conformity assessment of the final product The AMB9625 is a subassembly. It is designed to be embedded into other products (products incorporating the AMB9625 are henceforward referred to as "final products").
21.2 FCC Compliance statement AMB9625 FCC ID: R7TAMB9625 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 received, including interference that may cause undesired operation. (FCC 15.19) Modifications (FCC 15.
A label must be affixed to the outside of the host product with the following statements: This device contains FCCID: R7TAMB9625 This equipment contains equipment certified under ICID: 5136A-AMB9625 The final host / module combination may also need to be evaluated against the FCC Part 15B criteria for unintentional radiators in order to be properly authorized for operation as a Part 15 digital device.
22 Important information 22.1 Exclusion of liability AMBER wireless GmbH presumes that the information in this document is correct at the time of publication. However, AMBER wireless GmbH reserves the right to modify technical specifications or functions of its products or discontinue the production of these products or the support of one of these products without any written announcement or notification to customers. The customer must make sure that the information used is valid.