PTA Controller Application#
The PTA Controller application is a custom application designed to help customers evaluate coexistence features on Silicon Labs devices. The Zigbee radios act as peripheral devices, and require a control device to react and respond to coexistence requests. The PTA Controller application implements this and allows users to control the behavior of the PTA Controller to evaluate the corresponding behavior of the peripheral device.
Commands in the PTA Controller Application#
Command | Command Description | Argument and Description |
---|---|---|
configuration | Print out the current configuration of features | - |
request | Set REQUEST signal polarity | activehigh: sets the signal polarity active HIGH |
" | " | activelow: sets the signal polarity active LOW |
grant | Set GRANT signal polarity | activehigh: sets the signal polarity active HIGH |
" | " | activelow: sets the signal polarity active LOW |
priority | Set PRIORITY signal polarity | activehigh: sets the signal polarity active HIGH |
" | " | activelow: sets the signal polarity active LOW |
rho | Set RHO signal polarity | activehigh: sets the signal polarity active HIGH |
" | " | activelow: sets the signal polarity active LOW |
grantabort | Enable/Disable GRANT Abort feature, and set abort percentage | 0: disables GRANT Abort |
" | " | 1-100: enables GRANT Abort and sets percentage of GRANTS that are aborted |
grantdelay | Enable/Disable GRANT Delay feature, and set delay percentage | 0: disables GRANT Delay |
" | " | 1-100: enables GRANT Delay and sets percentage of GRANTS that are delayed |
grantdeny | Enable/Disable GRANT Deny feature, and set deny percentage | 0: disables GRANT Deny |
" | " | 1-100: enables GRANT Deny and sets percentage of GRANTS that are denied |
rhofeature | Enable/Disable Radio Hold Off (RHO) feature, and set rho percentage | 0: disables RHO feature, and sets pin to High Z mode. |
" | " | 1-100: enables RHO and sets percentage of Radio Hold Off requests |
txStreamToggling | Output a toggling stream for a specified time, up to 60 seconds. Note: This feature sets GRANT to always asserted | 1-60: time for which to output stream |
setTxStream | Output a stream | 1: Enable stream |
" | " | 0: Disable stream |
setPower | Set the current transmit power in deci dBm, or raw units if 'raw' is specified | Output power to set (range depends on capabilities of radio device. Refer to datasheet of device for more info) |
getPower | Get the current transmit power in deci dBm | - |
setchannel | Set the current radio channel | 0-15: Value 0 corresponds to Zigbee channel 11 |
getchannel | Get the current radio channel | - |
Using the PTA Controller Application#
The PTA Controller application is ready to use after compilation with the following default features:
REQUEST is set to Active HIGH
GRANT is set to Active HIGH
PRIORITY is set to Active HIGH
RHO is set to Active HIGH, but the feature is disabled and the pin is set to High Z mode
GRANT Abort, GRANT Delay, and GRANT Deny are disabled
No stream is active
To change any of the default configurations, use the commands previously listed.
Use the configuration
command to print out the current configuration. An example output returned through the CLI is:
Request: Active High
Grant: Active High
Priority: Active High
Radio Hold Off: Active High
Grant Abort: Disabled
Grant Delay: Disabled
Grant Deny: Disabled
RHO Feature: Disabled
The PTA Controller application can also hinder network traffic to test behavior of the peripheral device in such conditions. The txStreamToggling
command outputs a periodic stream for a specified time, causing packets or sections of packets on the network to get corrupted.