28. XTAL Manager

The set of commands included in this tool are used to configure the XTAL trimming register. When XTAL Manager is opened, an extra tab named RF Master is added to the ribbon which contains useful utilities. More info here: RF Master’s Ribbon.

28.1. XTAL Output

This command is used to enable or disable XTAL16M or XTAL32M output on a specific GPIO (P0_5 or P1_2). Note that some devices may use P0_5 for UART communication. In such a case communication with the device over UART will be lost if XTAL output on P0_5 is enabled.

Table 11 XTAL Manager

Figure 147 XTAL Manager for DA1458x, DA1453x, DA14585/586 and DA1468x family devices


Figure 148 XTAL Manager for DA1469x family devices

This command also enables or disables:

  1. XTAL32K output on GPIO P0_6
  2. RC16M output on P0_7
  3. RC32K output on P1_0

After sending enable or disable command, firmware responds with an event message. Not receiving the event message, indicates a problematic state. User is advised to press the Reset button from the horizontal toolbar and, if the problem persists, to download the firmware again to the target.

28.2. XTAL Trimming

With the set of commands included in XTAL Trimming section, user can read and write the value of XTAL16M or XTAL32M register. This is a decimal value and it is written to the device register and not stored in Flash. When the Write button is pressed, first the write command is called and then the read command, in order to read again the trim value and verify its change.

Sample log output:


Figure 149 Sample log output for XTAL read command

User is sending an XTAL read command and firmware responds with an event, containing the trim value (Figure 149). Firmware responds with an event to both read and write commands. Not receiving an event after sending the command, indicates a problematic state.

28.3. XTAL Calibration

With this set of commands the user can run calibration tests on specific GPIOs.

Sample log output:


Figure 150 Sample log output for Xtal auto calibration command on P1_05