RF-Star EFR32BG22 Manual

Bluetooth low energy 5.0 master-slave module and protocol
Table of Contents

Advertisement

Quick Links

EFR32BG22 Bluetooth Low Energy 5.0
Master-Slave Module and Protocol
Version: V1.7
Shenzhen RF-star Technology Co., Ltd.
th
Jun. 8
, 2022

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EFR32BG22 and is the answer not in the manual?

Questions and answers

Summary of Contents for RF-Star EFR32BG22

  • Page 1 EFR32BG22 Bluetooth Low Energy 5.0 Master-Slave Module and Protocol Version: V1.7 Shenzhen RF-star Technology Co., Ltd. Jun. 8 , 2022...
  • Page 2: Revision History

    Update the measured power consumption. Adjust the setting method of the broadcast name, user-defined broadcast, and extended broadcast. 2021.03.10 V1.3 Add a carriage return and line feed when APP sends AT command. Shenzhen RF-star Technology Co., Ltd. Page 1 of 93...
  • Page 3 Update the module power-on stabilization time to 600 ms. Update the chapter description. Update the chapter description. 2022.06.08 V1.6 Update the pin attribute diagram. 2022.08.02 V1.6 Add the RF-BM-BG22Bx and RF-BM-BG22Cx descriptions. Shenzhen RF-star Technology Co., Ltd. Page 2 of 93...
  • Page 4 1. The document will be optimized and updated from time to time. Before using this document, please make sure it is the latest version. 2. To obtain the latest document, please download it from the official website: www.rfstariot.com, www.szrfstar.com. Shenzhen RF-star Technology Co., Ltd. Page 3 of 93...
  • Page 5: Table Of Contents

    Device Information UUID: 0x180A ........................27 Manufacturer Name ..............................27 Hardware Revision ..............................27 Firmware Revision ..............................27 System ID ................................... 27 Generic Access UUID: 0x1800 .......................... 28 Device Name ................................28 Device Appearance ..............................28 Shenzhen RF-star Technology Co., Ltd. Page 4 of 93...
  • Page 6 • Enable/Disable UUID Configuration Function of Master Role ..........51 • Configure UUID of Master Role ......................52 • Master Role Reads the Specified UUID Data................. 53 • Send Data by AT Command ........................53 Shenzhen RF-star Technology Co., Ltd. Page 5 of 93...
  • Page 7 9.2.1 Antenna Design Recommendation ....................80 9.2.2 Antenna Output Mode Modification ....................81 9.2.3 External Antenna Design Recommendation of the Half-Hole ANT Pin ......82 9.3 Reference Design ............................83 9.3.1 RF-BM-BG22Ax(I) ..........................83 Shenzhen RF-star Technology Co., Ltd. Page 6 of 93...
  • Page 8 2.3 0 dBm, 1000 ms broadcast cycle: 15.12 μA ................92 3 Connection Mode ..............................93 3.1 0 dBm, 30 ms connection interval: 146.74 μA ................93 3.2 0 dBm, 100 ms connection interval: 34.68 μA ................93 Shenzhen RF-star Technology Co., Ltd. Page 7 of 93...
  • Page 9: Overview

    Support software reset module by AT command. Support acquire and modify the MAC address (take effect after resetting) by AT command. 10. Support modify the Bluetooth connection interval and control different transmit rates (dynamic power consumption Shenzhen RF-star Technology Co., Ltd. Page 8 of 93...
  • Page 10 146.74 μA 0 dBm Connection interval: 20 ms 181.01 μA 6 dBm 9.39 μA 0 dBm Connection interval: 1000 ms 11.64 μA 6 dBm Open serial port 1.2 mA Turn off broadcasting Shenzhen RF-star Technology Co., Ltd. Page 9 of 93...
  • Page 11: Working Mode Specification

    5. UUID: 0x0112233445566778899AABBCCDDEEFF0. In Beacon mode, the serial port is closed and unavailable, thus, the data cannot be transmitted transparently. if the serial port is needed, pls try hardware wakeup and AT commands. Shenzhen RF-star Technology Co., Ltd. Page 10 of 93...
  • Page 12: Description Of Default Broadcast Data

    6. BONDING COMPLETED: Bonding and pairing succeeded. 7. BONDING FAILED: Bonding and pairing failed. 8. ENTER THE PAIRING PASSWORD: The other slave device requires the master device to enter the pairing PIN Shenzhen RF-star Technology Co., Ltd. Page 11 of 93...
  • Page 13: Multi-Connection

    The user disconnects the device which is set as automatic reconnection by AT commands, and the current automatic reconnection of the device will be failed. It will take effect after the next abnormal disconnection. Shenzhen RF-star Technology Co., Ltd. Page 12 of 93...
  • Page 14 4 devices, so the data source should be included in the data packets, otherwise it cannot be identified which device the data came from. Figure 1. Multi-Connection Diagram Shenzhen RF-star Technology Co., Ltd. Page 13 of 93...
  • Page 15: Package And Pin Assignment

    There is a series of RF-BM-BG22Ax Bluetooth 5.2 Low Energy modules. All of them are based on Silicon Labs EFR32BG22 SoC series. Because the EFR32BG22 series ICs are compatible in package, pins, and peripherals, those modules are pin-to-pin compatible with each other as well.
  • Page 16 EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 RF-BM-BG22A3 RF-BM-BG22A3I Figure 2. Module Photos of RF-BM-BG22Ax(I) RF-BM-BG22Ax Shenzhen RF-star Technology Co., Ltd. Page 15 of 93...
  • Page 17 EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 RF-BM-BG22AxI Figure 3. PCB Footprint of RF-BM-BG22Ax(I) Figure 4. Pin Assignment of RF-BM-BG22Ax(I) Shenzhen RF-star Technology Co., Ltd. Page 16 of 93...
  • Page 18 Slave role (including Beacon) connection status indicator: at a low level PD01 Status indicator during connection (LED always on) Master role connection status indicator: at a low level during connection PD00 Status indicator (LED always on) PC00 GPIO PC01 GPIO Shenzhen RF-star Technology Co., Ltd. Page 17 of 93...
  • Page 19 See details in “Description of default broadcast data”. Input status monitoring, the tatus will update in the broadcast packet in PC05 real time. See details in “Description of default broadcast data”. Ground Shenzhen RF-star Technology Co., Ltd. Page 18 of 93...
  • Page 20: Rf-Bm-Bx

    EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 2.2 RF-BM-Bx RF-BM-BG22Bx includes RF-BM-BG22B1. Figure 5. Module Photos of RF-BM-BG22B1 Figure 6. PCB Footprint of RF-BM-BG22B1 Shenzhen RF-star Technology Co., Ltd. Page 19 of 93...
  • Page 21 Input status monitoring, the tatus will update in the broadcast packet PC03 in real time. See details in “Description of default broadcast data”. PC04 Input status monitoring, the tatus will update in the broadcast packet Shenzhen RF-star Technology Co., Ltd. Page 20 of 93...
  • Page 22 MCU is not allowed to send data to the module serial port. When it is at a low level, the MCU is allowed to send data to the module serial port. PC00/TX Serial port TX PC01/RX Serial port RX Shenzhen RF-star Technology Co., Ltd. Page 21 of 93...
  • Page 23: Rf-Bm-Cx

    EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 2.3 RF-BM-Cx RF-BM-BG22Cx includes RF-BM-BG22C3. Figure 8. Module Photos of RF-BM-BG22C3 Figure 9. PCB Footprint of RF-BM-BG22C3 Shenzhen RF-star Technology Co., Ltd. Page 22 of 93...
  • Page 24 Input status monitoring, the tatus will update in the broadcast packet PD01 in real time. See details in “Description of default broadcast data”. RESET Reset pin, active low (internal pull-up). Max. power supply: 1.8V. Shenzhen RF-star Technology Co., Ltd. Page 23 of 93...
  • Page 25 Slave role (including Beacon) connection status indicator: at a low PC05 Status indicator level during connection (LED always on) Power supply: 2.2 V~ 3.8 V, recommended to 3.3 V Ground EXT_ANT External antennal output Shenzhen RF-star Technology Co., Ltd. Page 24 of 93...
  • Page 26: Uart Transparent Transmission Protocol (Bridge Mode)

    5. Most serial port tools on the PC end do not have CTS detection. When the Bluetooth communication rate is lower than the serial port rate, for reliable transparent transmission, please use flow control. It is recommended to use the software SecureCRT. Shenzhen RF-star Technology Co., Ltd. Page 25 of 93...
  • Page 27: Ble Protocol Specification (App Interface)

    The command must Remarks end with a carriage return and line feed (CRLF) (\r\n or 0x0D0A etc.). The master needs to open notify to receive the data sent by the module. Shenzhen RF-star Technology Co., Ltd. Page 26 of 93...
  • Page 28: Device Information Uuid: 0X180A

    V1.6 - Jun., 2022 Device Information UUID: 0x180A Manufacturer Name Characteristics UUID 0x2A29 Executable Operations READ Remarks Shenzhen RF-star Technology Co., Ltd. Hardware Revision Characteristics UUID 0x2A27 Executable Operations READ Module hardware version reading channel. The module hardware version can be Remarks obtained by reading the channel.
  • Page 29: Generic Access Uuid: 0X1800

    Whether this module supports address resolution can be obtained by reading this channel. If the module supports address resolution {Value: (0x01)}, the directional Remarks broadcast function can be used. Note: Directional broadcast function needs to be user-defined. Shenzhen RF-star Technology Co., Ltd. Page 28 of 93...
  • Page 30: At Command

    7. The parameters in any command cannot contain invisible characters such as spaces and tabs. 8. The setting value can not be exceeding the settable range of the parameters. Shenzhen RF-star Technology Co., Ltd. Page 29 of 93...
  • Page 31: At Command List

    Only effective in master mode and master-slave AT+S_NAME out. mode. AT+SEND Send data via AT command. Take effect immediately. Only effective in master mode and master-slave AT+CONNECT Connect the device. mode. Shenzhen RF-star Technology Co., Ltd. Page 30 of 93...
  • Page 32 Query/set whether to display the device Take effect immediately, cannot be saved after AT+STATUS status. power off. AT+AUTH Query/set the user authentication. Take effect after the next connection, can be Shenzhen RF-star Technology Co., Ltd. Page 31 of 93...
  • Page 33 Query the device firmware version. Return Value of AT Command Successful operation. FAIL Failed operation. ERROR Error operation. BUSY The operation is busy, please wait for the fulfillment of the previous operation. Shenzhen RF-star Technology Co., Ltd. Page 32 of 93...
  • Page 34: Detailed At Command

    Parameter 2: Broadcast name of the current device. The factory default is RFstar_XXXX. XXXX is the last two bytes of the MAC address. AT+NAME= Function Set the device name. Example AT+NAME=0,TEST-NAME Example AT+NAME=1,544553542D4E414D45 Shenzhen RF-star Technology Co., Ltd. Page 33 of 93...
  • Page 35: Mac Address

    1: Master Remark 2: Master-slave 3: Beacon, connectable. (The serial port is disabled by default and unavailable in this mode. The serial port can be enabled by pulling low the CTS pin.) Shenzhen RF-star Technology Co., Ltd. Page 34 of 93...
  • Page 36: Tx Power

    28,-20,-10,-5,-3,0] AT+POWER? Function Query the current TX power of the device. Example AT+POWER? AT+POWER=4 Return Value Remark The current TX power is 4 dBm. AT+POWER= Function Set the device's TX power. Shenzhen RF-star Technology Co., Ltd. Page 35 of 93...
  • Page 37: Broadcast Parameter

    Enable unconnectable broadcasting with 500 ms broadcast interval. Take effect immediately after setting, can be saved after power off. Remark Invalid under master mode. Remark: The minimum broadcast interval is 20 ms. Shenzhen RF-star Technology Co., Ltd. Page 36 of 93...
  • Page 38: User-Defined Broadcast Data

    Parameter 1: The current device input format of broadcast response packet data. (0: ASCII, 1: HEX) Remark Parameter 2: The current device broadcasts response packet data. If the user does not set this parameter, it returns NULL. Shenzhen RF-star Technology Co., Ltd. Page 37 of 93...
  • Page 39: Long Range Broadcast

    At the same time, the master must be in the LE CODED PHY to be able to scan this broadcast and connect. Take effect immediately after setting, can be saved after power off. Remark: RF-BM-BG22A1 and RF-BM-BG22A1I do not support this command. Beacon mode does Shenzhen RF-star Technology Co., Ltd. Page 38 of 93...
  • Page 40: Extended Broadcast (Big Broadcast Packet)

    OK when the specified length is reached, as shown below. If the set timeout time is up Remark but the specified input data length is not reached, it will return to RECEIVE_TIMEOUT. For example: Send →◇AT+ADV_EXT=120,5000 Receive ←◆OK INPUT_ADV_EXT:120 Send→◇ 123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a1 23456789a123456789a123456789a123456789a Shenzhen RF-star Technology Co., Ltd. Page 39 of 93...
  • Page 41: Beacon

    Remark: In this mode, the serial port is disabled and unavailable. The serial port can be enabled by pulling down the CTS pin. AT+BEACON? Function Query the Beacon parameters. Example AT+BEACON? AT+BEACON=4C00,0708,0506,-48,0112233445566778899AABBCCDDEEFF0 Return Value AT+BEACON= Function Set the Beacon parameters. Example AT+BEACON=4546,0102,0304,-50,0102030405060708090A0B0C0D0EF010 Shenzhen RF-star Technology Co., Ltd. Page 40 of 93...
  • Page 42: Scan As A Master

    Parameter 4: The time interval of scanning the reconnection device list is 3 seconds. (This parameter is only effective when the automatic reconnection function is enabled.) AT+SCAN= Function Regularly scan the surrounding slave devices. Shenzhen RF-star Technology Co., Ltd. Page 41 of 93...
  • Page 43: Phy Of Master Role

    • PHY of Master Role AT+SCAN_PHY=? Function Query the parameter range of this command. Example AT+SCAN_PHY=? AT+SCAN_PHY=[0,1] Return Value 0: 1 M PHY Remark 1: CODED PHY Only effective in master mode and master-slave mode. Shenzhen RF-star Technology Co., Ltd. Page 42 of 93...
  • Page 44: Scan And Print Out Slave Device Name

    AT+S NAME? Function Query the status of this function. Example AT+S_NAME? AT+S_NAME=1 Return Value 0 means the current scan status is stopped. Remark 1 means the current scan status is scanning. Shenzhen RF-star Technology Co., Ltd. Page 43 of 93...
  • Page 45: Connection As A Master

    2. If the current mode is the master-slave mode, the master device can only connect up to 7 slave devices. Please do not try to connect to an unconnectable broadcasting device. Shenzhen RF-star Technology Co., Ltd. Page 44 of 93...
  • Page 46: Display The Connected Devices

    For example: If device A is in the master role with two slave devices connected, and "AT+DISCONNECT=1,1" means disconnecting the slave device with handle 1 connected to device Shenzhen RF-star Technology Co., Ltd. Page 45 of 93...
  • Page 47: Automatic Reconnection

    1 and 2, the automatic reconnection function takes effect on the parameter 2 specified MAC address device, and other devices maintain the original status. Parameter 3: Optional parameter. 1: Automatic reconnection function will be enabled immediately, although the device is not Shenzhen RF-star Technology Co., Ltd. Page 46 of 93...
  • Page 48 Set the automatic reconnection function. Only effective in master mode and master-slave mode. Example 1 AT+AUTO_CNT=1 Return Value Remark Enable the automatic reconnection function of all devices in the automatic reconnection list. Example 2 AT+AUTO_CNT=0,EB:71:5B:DE:08:87 Shenzhen RF-star Technology Co., Ltd. Page 47 of 93...
  • Page 49: Delete Automatic Reconnection Device

    Query the parameter range of this command. Example AT+CNT_INTERVAL=? AT+CNT_INTERVAL=[6~3200] Return Value The parameter range is 6 ~ 3200. Remark The connection interval = parameter * 1.25 ms, which corresponds to 7.5 ms ~ 4000 ms. Shenzhen RF-star Technology Co., Ltd. Page 48 of 93...
  • Page 50: Designate Transmission Device

    The handle value range is 1 ~ 8. And it is allocated by the system. Remark Remark: There are at most 8 values. It is that the module is simultaneously connected to 8 slave devices, and each handle corresponds to a slave device. Shenzhen RF-star Technology Co., Ltd. Page 49 of 93...
  • Page 51: Set The Uuid Of Slave Role

    UUID of the above parameters to constitute the actual 128-bit UUID of the device). Remark: 1. The basic UUID of 0000xxxx-0000-1000-8000-00805F9B34FB cannot be used. 2. This command is only effective in the slave role. (Slave mode, master-slave mode, and Beacon mode) AT+SERVICE? Shenzhen RF-star Technology Co., Ltd. Page 50 of 93...
  • Page 52: Enable/Disable Uuid Configuration Function Of Master Role

    1: Enabled the user-defined UUID transmission channel function. Remark: After enabled, the master will print the characteristic UUID of each slave in turn Remark when connecting. It is shown as follows: -CHAR:0 UUID:002A,Read; Shenzhen RF-star Technology Co., Ltd. Page 51 of 93...
  • Page 53: Configure Uuid Of Master Role

    Parameter 4: The specific attribute to be selected of Parameter 2 Write operation. For example, if the Write channel to be selected is Without Response attribute, the parameter should be 0; if the Write channel to be selected is Write attribute, the parameter should be 1. Shenzhen RF-star Technology Co., Ltd. Page 52 of 93...
  • Page 54: Master Role Reads The Specified Uuid Data

    If the sending data with the specified length is entered within the set valid time, it will return OK when the specified length is reached. If the set timeout time is up but the specified input length is Shenzhen RF-star Technology Co., Ltd. Page 53 of 93...
  • Page 55: Observer

    Parameter 5: The RSSI that needs to be filtered. The value less than the RSSI value will be filtered. Parameter 6: The vendor ID that needs to be filtered. 2-byte complete ID needs to be filled in. Shenzhen RF-star Technology Co., Ltd. Page 54 of 93...
  • Page 56 “RF”. Or, you can change the parameter 4 to do the filter. The command "AT+OBSERVER=0" can be sent to stop scanning. Wherein, "ADV" is the broadcast packet data, and "RSP" is the broadcast response packet. AT+OBSERVER=2 Example 2 Return Value Primary PHY:FA:8D:0D:27:50:C6, Shenzhen RF-star Technology Co., Ltd. Page 55 of 93...
  • Page 57: Phy Rate

    Remark: RF-BM-BG22A1 and RF-BM-BG22A1I only support 1M PHY and 2M PHY. AT+PHY? Function Query the preferred PHY when connecting. Example AT+PHY? AT+PHY=1 Return Value Shenzhen RF-star Technology Co., Ltd. Page 56 of 93...
  • Page 58: Baud Rate

    Set the serial port baud rate. Example AT+UART=9600 Return Value Set the baud rate as 9600 bps. The changed setting will take effect after 2 s and print the string Remark "BPS SET AFTER 2S..." Shenzhen RF-star Technology Co., Ltd. Page 57 of 93...
  • Page 59: Serial Port Frame Size And Timeout Time

    AT+PACK=250,100 Return Value Set the receiving frame size to 250 bytes, and the receiving timeout time to 100 ms. Remark Take effect immediately after setting, can be saved after power off. Shenzhen RF-star Technology Co., Ltd. Page 58 of 93...
  • Page 60: Serial Port Echo

    AT+STATUS=? Function Query the parameter range of this command. Example AT+STATUS=? [0,1] AT+STATUS= Return Value 0: Disable device status display function. Remark 1: Enable device status display function (enable by default). Shenzhen RF-star Technology Co., Ltd. Page 59 of 93...
  • Page 61: User Authentication

    (Data transmission characteristic value sends the authentication key.) AT+AUTH? Function Query the current status of the user authentication function. Example AT+AUTH? AT+AUTH=1,12GH**_)),15 Return Value Remark Parameter 1: 1, enable user authentication function. Shenzhen RF-star Technology Co., Ltd. Page 60 of 93...
  • Page 62: Enter User Authentication Key

    0: Disable the pairing function of the slave role. Remark 1: Enable the pairing function of the slave role. Parameter 2: Pairing passkey, 123456 is by default. Only effective in slave mode. AT+PAIR? Shenzhen RF-star Technology Co., Ltd. Page 61 of 93...
  • Page 63: Pairing Function Of Master Role

    (Please refer to the table below for the correspondence between the pairing function and the pairing method) Pairing methods description: A. Just works In this case, it is impossible to confirm the identity of the connected device. This method does Shenzhen RF-star Technology Co., Ltd. Page 62 of 93...
  • Page 64 R inputs I inputs R inputs No Input and No Just Works Just Works Just Works Just Works Just Works Output Display with I displays Numeric R displays Just Works Numeric Shenzhen RF-star Technology Co., Ltd. Page 63 of 93...
  • Page 65: Enter Pairing Passkey Of Master Role

    Only effective in master mode and master-slave mode. • Pairing List AT+PAIR_LIST Function Query the pairing list. Example AT+PAIR_LIST AT+PAIR_LIST= Return Value (FF:1C:2B:D1:4C:BD) (EB:71:5B:DE:08:87) Shenzhen RF-star Technology Co., Ltd. Page 64 of 93...
  • Page 66: Delete Paired Device

    When using this command in the slave role, the paired master devices with the slave will be deleted. • Sleep Mode AT+SLEEP=? Function Query the parameter range of this command. Example AT+SLEEP=? AT+SLEEP=<0,1>,<0,1> Return Value Remark Parameter 1: Device serial port function switch (0: disable. 1: enable) Shenzhen RF-star Technology Co., Ltd. Page 65 of 93...
  • Page 67 Parameter 2: Enable the device BLE function. Parameter 3: Disable the device serial port wake-up function (by default). AT+SLEEP= Function Set the device sleep mode. Example AT+SLEEP= AT+SLEEP=0, 0, 0 Return Value Shenzhen RF-star Technology Co., Ltd. Page 66 of 93...
  • Page 68: Enable/Disable Watchdog

    The device will be rebooted after setting. Take effect immediately. • Reset Device AT+RESET Function Reset the device. Example AT+RESET Return Value Remark The device will be rebooted after setting. Take effect immediately. Shenzhen RF-star Technology Co., Ltd. Page 67 of 93...
  • Page 69: Query Firmware Version

    V1.6 - Jun., 2022 • Query Firmware Version AT+VERSION Function Query the device firmware version. Example AT+VERSION AT+VERSION= RF_BM_BG22A3_V0.2.1_2021.01.21 Return Value Remark Query the firmware version information and the updated date. Shenzhen RF-star Technology Co., Ltd. Page 68 of 93...
  • Page 70: Transparent Transmission Test

    APP side, turn on the notify enable for receiving and AT command operation, and then the bi- directional data transparent transmission and AT command between the mobile phone and the PC (analog MCU) will be started. As shown in the following pictures: Shenzhen RF-star Technology Co., Ltd. Page 69 of 93...
  • Page 71 EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 Shenzhen RF-star Technology Co., Ltd. Page 70 of 93...
  • Page 72: Test By Pc End

    Preparation before Use 1. Hardware preparation ⚫ PC with standard Type-A USB interface ⚫ RF-DG-40A (nRF52840 dongle) ⚫ RF-BM-BG22Xx module 2. Software preparation ⚫ nRF Connect for Desktop Download address: https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-desktop/Download#infotabs Shenzhen RF-star Technology Co., Ltd. Page 71 of 93...
  • Page 73: Connection Steps

    Dongle device for normal use. Click Select device to pop up the device name, and then click to select the corresponding device (this device name corresponds to the MAC address of the device) Shenzhen RF-star Technology Co., Ltd. Page 72 of 93...
  • Page 74 Notify of the receiving channel, and then start the two-way data transparent transmission and AT between the module and the PC (with the help of Dongle as the master device) Ordered. As shown in the following pictures: Shenzhen RF-star Technology Co., Ltd. Page 73 of 93...
  • Page 75 EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 Shenzhen RF-star Technology Co., Ltd. Page 74 of 93...
  • Page 76 EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 Shenzhen RF-star Technology Co., Ltd. Page 75 of 93...
  • Page 77 EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 Shenzhen RF-star Technology Co., Ltd. Page 76 of 93...
  • Page 78: Ios App Programming Reference

    * @param characteristic The characteristic for which the value needs to be read. * @discussion Fetch the value of a characteristic. * The relevant delegate callback will then be invoked with the status of the request. * @see peripheral:didUpdateValueForCharacteristic:error: Shenzhen RF-star Technology Co., Ltd. Page 77 of 93...
  • Page 79 * characteristic for a peripheral. All reads and notifications come here to be processed. -(void)peripheral:(CBPeripheral*)peripheral didUpdateValueForCharacteristic:(CBCharacteristic *)characteristic error:(NSError *)error Note: after each reading operation, this callback function will be performed. The application layer saves the data that is read in this function. Shenzhen RF-star Technology Co., Ltd. Page 78 of 93...
  • Page 80: Mcu Reference Code (Transparent Transmission)

    //Enable RTS, that is, MCU can receive date from BLE module set_rts_enable(); While(1){ //Aquire whether the CTS status is at a low level If(get_cts_state()==0){ // Send test data to BLE module mcu_send_to_ble_string("Test data.\r\n"); // Processing the data obtained by MCU mcu_data_process(mcu_uart_read_data()); Shenzhen RF-star Technology Co., Ltd. Page 79 of 93...
  • Page 81: Hardware Specifications

    (2) Make sure that there is no signal line or copper foil in each layer below the antenna. (3) It is best to hollow out the antenna position in the following figure to ensure that the S11 of the module is minimally affected. Shenzhen RF-star Technology Co., Ltd. Page 80 of 93...
  • Page 82: Antenna Output Mode Modification

    ANT pin, the capacitor position should be removed to the left solder joint to have the access to the ANT pin. The location of the capacitor is shown in the figure below. Figure 13. Antenna Output Mode Change of RF-BM-BG22A1I Shenzhen RF-star Technology Co., Ltd. Page 81 of 93...
  • Page 83: External Antenna Design Recommendation Of The Half-Hole Ant Pin

    Example: FR4 is a double-layer board with a thickness of 1.0 mm. Through calculation, the width of the trace is 0.8254 mm, and the spacing between traces and copper is 0.22 mm. Figure 16. SI9000 Impedance Calculation Diagram Shenzhen RF-star Technology Co., Ltd. Page 82 of 93...
  • Page 84: Reference Design

    EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 9.3 Reference Design 9.3.1 RF-BM-BG22Ax(I) The reference design is as follows: Figure 17. Reference Design of RF-BM-BG22Ax(I) Shenzhen RF-star Technology Co., Ltd. Page 83 of 93...
  • Page 85: Rf-Bm-Bg22Bx

    V1.6 - Jun., 2022 9.3.2 RF-BM-BG22Bx The reference design is as follows: Figure 18. Reference Design of RF-BM-BG22Bx 9.3.3 RF-BM-BG22Cx The reference design is as follows: Figure 19. Reference Design of RF-BM-BG22Cx Shenzhen RF-star Technology Co., Ltd. Page 84 of 93...
  • Page 86: Basic Operation Of Hardware Design

    The performance of ground absorption and reflection of radio waves will be poor when the module is tested close to the ground. 2. Seawater has a strong ability to absorb radio waves, so the test results by the seaside are poor. Shenzhen RF-star Technology Co., Ltd. Page 85 of 93...
  • Page 87: Vulnerable Module

    3. If the extension wire or feeder wire is of poor quality or too long, the bit error rate will be high. 9.6 Electrostatics Discharge Warnings The module will be damaged by the discharge of static. RF-star suggests that all modules should follow the 3 precautions below: 1.
  • Page 88 Max. 6 ℃/s Time from 25 ℃ to Peak Temperature (t Max. 6 minutes Max. 8 minutes Time of Soldering Zone (t 20±10 s 20±10 s Figure 20. Recommended Reflow for Lead-Free Solder Shenzhen RF-star Technology Co., Ltd. Page 87 of 93...
  • Page 89: Contact Us

    EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 10 Contact Us SHENZHEN RF-STAR TECHNOLOGY CO., LTD. Shenzhen HQ: Add.: C601, Skyworth Building, High-tech Park, Nanshan District, Shenzhen, Guangdong, China, 518057 Tel.: 86-755-3695 3756 Chengdu Branch: Add.: N2-1604, Global Center, North No. 1700, Tianfu Avenue, Hi-Tech District, Chengdu, Sichuan, China, 610095 Tel.: 86-28-6577 5970...
  • Page 90: Fcc

    EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 Appendix A: RF-BM-BG22A1 RF-BM-BG22B1 Shenzhen RF-star Technology Co., Ltd. Page 89 of 93...
  • Page 91 EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 Shenzhen RF-star Technology Co., Ltd. Page 90 of 93...
  • Page 92: Appendix B: Power Consumption Test Screenshot

    EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 Appendix B: Power Consumption Test Screenshot 1 Sleep Mode: 3.23 μA 2 Broadcast Mode 2.1 0 dBm, 200 ms broadcast cycle: 57.82 μA Shenzhen RF-star Technology Co., Ltd. Page 91 of 93...
  • Page 93: Dbm, 500 Ms Broadcast Cycle: 24.13 Μa

    EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 2.2 0 dBm, 500 ms broadcast cycle: 24.13 μA 2.3 0 dBm, 1000 ms broadcast cycle: 15.12 μA Shenzhen RF-star Technology Co., Ltd. Page 92 of 93...
  • Page 94: Connection Mode

    EFR32BG22 www.szrfstar.com V1.6 - Jun., 2022 3 Connection Mode 3.1 0 dBm, 30 ms connection interval: 146.74 μA 3.2 0 dBm, 100 ms connection interval: 34.68 μA Shenzhen RF-star Technology Co., Ltd. Page 93 of 93...

Table of Contents