CTUNE Commands#

Wireless Gecko (EFR32™) portfolio devices support configuring the crystal oscillator load capacitance in software. The crystal oscillator load capacitor tuning (CTUNE) values are tuned during the production test of both Wireless Gecko-based modules and Silicon Labs Wireless Starter Kit (WSTK) radio boards. For modules, the optimal value for each device is written to the Device Information (DI) page in flash. For radio boards, the optimal value for each board is written to an EEPROM that is inaccessible to the software running on the target device, but readable by Simplicity Commander. The ctune commands support reading out the stored CTUNE values from these locations, and writing and reading the CTUNE manufacturing token.

CTUNE Get Command#

This command retrieves the CTUNE value stored in the Device Info page, the value stored in EEPROM on the board, and the value written to the CTUNE manufacturing token. The values are displayed.

Command Line Syntax

$ commander ctune get

Command Line Input Example

$ commander ctune get

Command Line Output Example

Getting CTUNE values from the Device Info page, stored in EEPROM on the board, and the MFG token.
DI:    Not set
Board: 346
Token: 346
DONE

Note: Not all devices have the CTUNE value stored in both the Device Info page and in EEPROM on the board. If this is the case, the value is displayed as "Not set".

CTUNE Set Command#

This command sets the CTUNE manufacturing token to the value specified by the value option.

Command Line Syntax

$ commander ctune set <value>

Command Line Input Example

$ commander ctune set --value 346

Command Line Output Example

Setting CTUNE token to 346
DONE

CTUNE Autoset Command#

This command retrieves the CTUNE value from EEPROM on the board and sets the CTUNE manufacturing token to this value.

Command Line Syntax

$ commander ctune autoset

Command Line Input Example

$ commander ctune autoset

Command Line Output Example

Getting CTUNE value stored on the board...
Board: 346
Setting the CTUNE value...