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.

CC1312R: TCXO issue

Part Number: CC1312R
Other Parts Discussed in Thread: SYSCONFIG

Hi Team,

Does the TCXO perform on/off based on the settings? Or must power it consistently?

The customer would like to know if it's possible to shut down when sleep and power on when wake up to reduce power consumption? If so, when is it appropriate to shut down/powerup? 

Could you help check this case? Thanks.

Best Regards,

Cherry

  • Hi Cherry,

    If you look at the CC1312R datasheet, you will find that the High Speed Clock is indeed turned off when in Standby:

    Regards,

    Arthur

  • Hi Arthur,

    Thank you for the support.

    1) The customer's goal is to turn this active crystal off when the system is in standby to reduce power consumption, and then on again without affecting normal transmission. But they don't know how to configure it properly. 

    2) Also, does the GPIO-controlled TCXO automatically control the active crystal power up and down based on the system configuration? Or is it required to control the power up and down with software commands?

    During the commissioning process, the customer found that the power program could not run immediately after the active crystal was powered down. 

    Could you help look into these 2 issues? Thanks.

    Best Regards,

    Cherry

  • Hi Cherry,

    Are they using one of our Launchpad boards, or is it a custom designed device?

    Our Power driver takes care of the TCXO power status automatically depending on how you configured it in SysConfig.

    Regards,

    Arthur

  • Hi Arthur,

    Our Power driver takes care of the TCXO power status automatically depending on how you configured it in SysConfig.

    This is the pointer here, could you help share how to configure it in SysConfig properly? They don't know how to configure it and there are few resources can be leveraged. 

    Thanks and regards,

    Cherry

  • Hi Cherry,

    It is described in this app note: https://www.ti.com/lit/an/swra640g/swra640g.pdf

    And SysConfig actually configures everything, as long as you select the External 48Mhz TCXO in there:

    Regards,

    Arthur

  • Hi Cherry,

    Some additional information, as SysConfig does not configure everything, after all:

    1. Once you have done the step I described above, copy the code from the application note I sent to a file in your project (rfPacketTx.c for instance), and replace GPIO_TCXO_PIN by CONFIG_GPIO_TCXO.
      void Power_enableTCXO(bool turnOn)
      {
          if ( turnOn ) {
              // Set corresponding DIO high to enable the TCXO
              GPIO_write(CONFIG_GPIO_TCXO, 1);
          }
          else {
              // Set the corresponding DIO low to disable the TCXO
              GPIO_write(CONFIG_GPIO_TCXO, 0);
          }
      }
    2. Then, in SysConfig, in the "Power" section, enter the name of the function you copied into "Enable TCXO Function":
    3. Now, define the GPIO that powers the TCXO in SysConfig (DIO30 on the Launchpad)
    4. Your project is ready to be compiled and flashed. Now, you should observe the same thing I do on an oscilloscope:

      where green is DIO30, the GPIO that powers the TCXO, and yellow is the TCXO output.

    Let me know how it works for you.

    Regards,

    Arthur

  • Hi Authur,

    Thank you for the response and it is working now.

    The customer just would like to confirm how long does the TCXO take from power up to shutdown (how long has the high been lasted) at your end?

    Thanks and regards,

    Cherry

  • Hi Cherry,

    The oscillogram I have posted above shows that the device stays on for around 9 milliseconds.This is from the rfPacketTx example, which sends a radio packet every 500 mS, and goes into standby mode in between.

    Regards,

    Arthur

  • Hi Arthur,

    May I know how long does it take to send it once, that is, how long has the TCXO power been pulled high?

    Thanks and regards,

    Cherry

  • Hi Cherry,

    As said, the TCXO is powered for 9 mS in that particular example, as shown by the green line on the oscillogram.

    Regards,

    Arthur

  • The issue your customer might be facing is that your customers TCXO starting time is different from the one on the Launchpad?

    May I know the reference of the TCXO they are using?

    Regards,

    Arthur