3.2 Module Configuration
Use the ASCII command interface for configuring the GPIO pins of the RNBD451 module to different functions. The following table provides the details about the various pins and functions in the RNBD451 module that are available for configuration and their default configuration settings.
Note: This configuration is not applicable in HCI mode.
Pin | Function Name | Description |
---|---|---|
PB5 | Bluetooth® status LED | To indicate the Bluetooth Low Energy connection status by a specific LED flash pattern, see the following pattern description:
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 RNBD451 Bluetooth Low Energy Module User’s Guide (DS50003467). |
PB1 | ADC | A dedicated ADC input pin where an analog signal can be the input to the RNBD451 module. The RNBD451 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 RNBD451 Bluetooth Low Energy Module User’s Guide (DS50003467). |
PB8, PB10, PB11, PA0, PA1, PB12, PB13 and PA10 | I/O level control | 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. |
PB2 | UART mode switch |
|
PB4 | UART RX indication |
|
PA3 | RSSI indication |
|
PA2 | UART TX indication |
|
BT_Status_Ind1 (PB3) | BT_Status_Ind2 (PB7) | RNBD451 Status |
---|---|---|
Low | Low | Bluetooth® Low Energy is disconnected |
Data transmission channel is closed | ||
High | Low | Bluetooth Low Energy is connected |
Data transmission channel is closed | ||
High | High | Bluetooth Low Energy is connected |
Data transmission channel is opened | ||
Low | High | DFU mode (local or Over-the-air Profile Client (OTAPC)) |
Note: By default the Bluetooth status indication feature is disabled in the firmware. The user can enable this feature via SR,<hex16> command, for example, SR,1000 . For more details, refer to the RNBD451 Bluetooth Low Energy Module User’s Guide (DS50003467). |