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.

CCS/CC2652R: Clock source selection problem in custom boards

Part Number: CC2652R

Tool/software: Code Composer Studio

Hi

We have developed a custom board based on CC2652R. In order to test the functionality of our board, we developed two equivalent blinking led codes in both CCS (based on SimplePeripheral app in SDK) and sensor controller. We've already checked codes and they worked properly on the launchpad, however, when we load them in on our custom board, only sensor controller version works properly.  

we are using SDK v3.30 CCS v9.2 and sensor controller 2.5.0.84

in sensor controller, we create delays using fwDelayUs() function. and sensor controller is in 24MHZ active mode.

and in CCS our system configuration is shown in the below picture

We've used FC-12M 32.7680KA-A3 32.768kHZ crystal with two 12pF external capacitors and ECS-480-10-33B-CKM-TR 48MHZ crystal with no external capacitors and also tried all possible iterations of cap array for capacitance tuning.

our questions are:

1- Is there an internal 48MHz clock source for HF clock? we ask this question because of highlighted statements in the Sensor controller document.

2- How to Implement a delay in sensor controller using RTC 32.768kHz?

  • Hi Ali.

    1. Yes, the chip has a internal RCOSC running at 48MHz. This is used as the main system clock for the CPU and peripherals. When RF operation is needed, a more accurate HF OSC is needed, si the device switches to the external one. You can read more about the clock systems in section 6.13 in the datasheet.  
    2. To implement a delay function in the sensor controller based on the RTC you can use the Timer 0/1 Event Trigger and read the RTC value. The Timer 0/1 Event Trigger uses a 8kHz signal which is in sync with the RTC. 

    When you say your code does not work in one of the examples, how does it not work. Note that the Cap Array Tuning is for tuning the HF_XOSC, and not the LF_XOSC.

    Regards,

    Vegard.

  • Hi Ali. 

    Any updates on this?

    Regards, 
    Vegard

  • Hi Vegard.

    Thanks for the answer. I'm sorry for our delayed response.

    There were some problems with the montage of our boards that led us to ask these questions. after the new montage, everything seems fine and working properly.

    Regards

    Ali