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.

[FAQ] CC1311P3: SDK-6_10_00_29 cannot use TCXO?

Part Number: CC1311P3

Hi, 

I try to porting my project from SDK-5_40_00_40 to SDK-6_10_00_29. When I run the project, the program enter PowerCC26X2.c --> switchXOSCHF() --> if(!PowerCC26X2_oschfTrySwitchToXosc()) cannot pass. My change is showing below, please correct me if I miss anything

  • Which compiler do you use? 

    I have looked into this for a different chip the latest few days and I have found that using TIClang seems to change the timing slightly.

    If you use this compiler, you can try copy PowerCC26x2.c into the project and add a small delay here:

    static void switchXOSCHF(void)
    {
        bool readyToCal;
        unsigned int key;
    
        key = HwiP_disable();
    
        delayUs(5); 
    
        if (!PowerCC26X2_oschfTrySwitchToXosc()) {
            /* Unable to switch to XOSC after we were informed it is ready to
             * switch. It is fine if we spin, there is no sensible recovery
             * mechanism from such an error.
             */
            while(1) ;
        }

  • Hi,

    I use CCS. After I add delay, the system can work correctly. Thank you