This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1310: How to verify 32KHz crystal oscillator is running and actually used.

Part Number: CC1310

I have a proprietry CC1310 design. Using an EByte module with the RSM package. The module has no 32KHz crystal. It all works fine with ccfg set use the HF oscillator as the clock source. I have a new layout with an external crystal. Configuring for the crystal, the RTC frequency, as far as I can determine seems unchanged. Looking at the Q pins with a scope the signal is pretty awful but likely caused by the scope probe. Some questions;

 1 - It seems the clock uses the internal source if the external oscllator is not working, regardless of the ccfg setting. Is that correct?

 2 - Is there a way to verify which source is actually used for the 32KHz clock?

 3 - I have been not very successful with steering the clock to an output to measure, using the TRM notes. Does TI have an example of this?

Thanks for the help.

  • I have resolved 3/  I'm not using driverlib but need to for this. Also PIN_setMux didn't happen, I needed the CC26XX specific

    Assuming the pin handle is valid and the IO port is set to an output, the following code works...

    PINCC26XX_setMux(controlPinHandle, E70_14S2_DBG0, PINCC26XX_MUX_AON_CLK32K);
    AONIOC32kHzOutputEnable();

    Includes necessary are...

    #include <ti/devices/DeviceFamily.h>
    #include <ti/drivers/pin/PINCC26XX.h>
    #include DeviceFamily_constructPath(driverlib/aon_ioc.h)

    If the crystal is working, 2/ can be deduced by SET_CCFG_MODE_CONF_SCLK_LF_OPTION back to 0  in ccfg.c and the frequency output will change by about a KHz.

    Not certain about the answer to 1/ but could easily check it when I have a board with no oscillator and change the SET_CCFG_MODE_CONF_SCLK_LF_OPTION to see.

    I think I have answered my own questions. Thanks.