3.2 Module Configuration

Use the ASCII command interface for configuring the GPIO pins of the RNBD350 module to different functions. The following table provides the details about the various pins and functions in the RNBD350 module that are available for configuration and their default configuration settings.
Note: This configuration is not applicable in the HCI mode.
Table 3-2. Configurable Functions and Descriptions
PinFunction NameDescription
PB5Bluetooth® status LEDTo indicate the Bluetooth Low Energy connection status by a specific LED flash pattern, see the following pattern description. The function can be enabled or disabled. By default, the function is disabled.
  • Standby mode – No Bluetooth Low Energy connection. The RNBD350 Module is in Advertisement or Scan state. Flash one time for every three seconds.
    • ON – 50 ms
    • OFF – 2950 ms
  • Linked mode – The Bluetooth Low Energy ACL link is connected regardless of whether it is in the Central or Peripheral role. Flash two times for every 1.5 seconds.
    • ON – 50 ms
    • OFF – 150 ms
  • DFU mode – The RNBD350 module is in the MCU DFU procedure. Flash 4 times for every two seconds.
    • ON – 100 ms
    • OFF – 100 ms
Note: By default, the Bluetooth status LED is turned OFF. The user can enable this feature by using the SR,<hex16> command, for example, SR,0001. For more details, refer to the RNBD350 Bluetooth® Low Energy Module User’s Guide (DS50003684).
PB7ADCA dedicated ADC input pin where an analog signal can be the input to the RNBD350 module. The RNBD350 module performs the ADC conversion using a fixed reference and provides the digital value that can be read using a command. For more details, refer to the RNBD350 Bluetooth® Low Energy Module User’s Guide (DS50003684).
PB5, PA3, PB4, PB8, PA9, PA8, PA10I/O level controlThe host MCU can assert the RN command to set some GPIO pins as output pins to set their level or input pins to read their level.
PA9UART mode switch
  • When the host MCU pulls the UART mode switch pin from low to high (rising edge), the RNBD350 module switches to the Data mode.
  • When the host MCU pulls the UART mode switch pin from high to low (falling edge), the RNBD350 module switches to the Command mode.
  • When the host MCU uses the RN command to switch the mode, the host MCU keeps the UART mode switch pin to the original setting.
    Note: By default, the UART mode switch functionality is not assigned on to the PB2 pin. The user can enable this feature using the SR,<hex16> command, for example, SR,0002. For more details, refer to the RNBD350 Bluetooth® Low Energy Module User’s Guide (DS50003684).
PB9UART RX indication
  • If the RNBD350 module’s low power is enabled, the host MCU must wake up the RNBD350 module before sending the UART data out.
  • Pull the UART RX indication pin low to wake up the system.
PA3RSSI indication
  • Use this indication pin to indicate the quality of the link based on the RSSI level.
  • If the RSSI level is lower than the specified threshold value, the RSSI indication pin goes low.
PB4UART TX indication
  • The UART TX indication is an output pin. Provides indication if the RNBD350 module is transmitting to host the MCU over UART.
  • Pulled low before the UART TX begins and pulled high after the UART TX is over.
PA10, PB8Status indicationThe status indication pins identify the device status for connection, and data transmission
Table 3-3. Status Indication Pins
BT_Status_Ind1 (PB5)BT_Status_Ind2 (PB7)RNBD350 Module Status
LowLowBluetooth® Low Energy is disconnected
Data transmission channel is closed
HighLowBluetooth Low Energy is connected
Data transmission channel is closed
HighHighBluetooth Low Energy is connected
The data transmission channel is opened
LowHighDFU mode
Note: By default, the Bluetooth status indication feature is disabled in the firmware. The user can enable this feature via the SR,<hex16> command, for example, SR,1000. For more details, refer to the RNBD350 Bluetooth® Low Energy Module User’s Guide (DS50003684).