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.

CC2340R5: The initialization sequence code with TCXO

Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hello expert,

This is a new question which related to https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1350303/cc2340r5-tcxo-usage

Our customer operated the initial value of the following registers

HWREG(CKMD_BASE + CKMD_O_HFXTCTL) |= CKMD_HFXTCTL_TCXOMODE;

HWREG(CKMD_BASE + CKMD_O_HFXTCTL) |= CKMD_HFXTCTL_TCXOTYPE_CMOS;

The Power_init() function in SDK code is called at the initialization process,

C:\ti\simplelink_lowpower_f3_sdk_8_10_01_02\source\ti\drivers\power\PowerCC23X0.c

Currently this function worked without standing the HFXTFAULT flag.

In the PowerCC23X0_startHFXT()  initialization sequence, 

It seems these register value is operated , LDOCTL, AMPADCCTL,  HFXTCTL ,

When using with TCXO, these function and register setting can be used as is?

If they need the special initialization process with TCXO, can you please provide the code?

Regards,

A.Fujinaka

  • Hi A.Fujinaka,

     

    These functions cannot be used as is. The default bits must be changed to allow TCXO.

    PowerCC23X0_startHFXT() would be the place to modify it. However, understand that there's no formal support for TCXO via sysconfig yet.

    The current workaround is:

    • connect TCXO to X48P
    • in CKM, set HFXTCTL.TCXOMODE = 1
    • set HFXTCTL.TCXOTYPE to the correct type (clipped sine / cmos)
    • enable HFXT by setting HFXTCTL.EN = 1

    Best regards,

    Bun