PTA Configuration#
You can configure the PTA feature on the SiWG917 by enabling BIT[21] (SL_SI91X_PTA_3WIRE_EN) in the config feature bit-map of the Operation Mode command. Select one of three configuration modes by enabling or disabling Bit [23:22] as shown in the following table.
BIT [23] | BIT [22] | Configuration |
|---|---|---|
0 | 0 | Reserved |
0 | 1 | Configuration 1 |
1 | 0 | Configuration 2 |
1 | 1 | Configuration 3 |
Each configuration modifies the behavior of how the GRANT signal is asserted in response to the REQUEST and PRIORITY signals. These behaviors are described in the following table.
| Configuration | Description |
|---|---|
| Configuration 1 |
|
| Configuration 2 |
|
| Configuration 3 |
|
PTA Main Application Configuration for SiWG917#
Use the SiWG917 throughput application to measure and display throughput values. Refer to the throughput application for more details.
To enable the PTA 3-wire feature, set BIT[21] (SL_SI91X_PTA_3WIRE_EN) in the "config_feature_bit_map" field of the opermode mode command. BIT[22] and BIT[23] are used to select the desired PTA configuration. These bit settings are defined in the "app.c" file under the "sl_wifi_device_configuration_t" structure section.
The "config_feature_bit_map" is activated when BIT[31] is set to 1 in both the "tcp_ip_feature_bit_map" and "ext_tcp_ip_feature_bit_map".
To enable, configure and use the PTA 3-wire feature use the macro below, along with the available configuration options:
#define SL_SI91X_PTA_3WIRE_EN BIT (21)Configuration options for selecting among configurations 1, 2, and 3, where BIT [22] and BIT [23] are used to set NUM_CONN_EVENTS as shown in the table.
In the table below, the value '0' is reserved for future use. For the PTA 3-wire configuration at the DUT:
GPIO_7 is used as the Grant pin (driven by the DUT).
ULP_GPIO_1 is used as the Request input pin.
ULP_GPIO_6 is used as the Priority input pin.
Mode | BIT [23] | BIT [22] |
|---|---|---|
Reserved | 0 | 0 |
config1 | 0 | 1 |
config2 | 1 | 0 |
config3 | 1 | 1 |
Update the PTA 3-wire configuration in the "app.c" file as shown below to configure Config 1, Config 2, or Config 3:
.config_feature_bit_map = SL_SI91X_PTA_3WIRE_EN | SL_SI91X_PTA_3WIRE_CONFIG_SEL (config_sel)Set "config_sel" to 1, 2, or 3 based on the desired configuration mode.


Note: Run the PTA Main throughput application first, then execute the commands for the PTA Secondary.
PTA Secondary Configuration for EFR32MG21#
To configure the PTA Secondary for the EFR32MG21 device, follow the steps described in PTA Software Setup with the Component Editor. The instructions assume that you have installed Simplicity Studio 5 and EmberZNet SDK 7.x.