• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF Bluetooth® Low Energy & ANT Forum » CC2541 32.768 KHz Crystal Not Oscillating On Prototype Boards
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

CC2541 32.768 KHz Crystal Not Oscillating On Prototype Boards

This question is not answered
yt
Posted by yt
on Aug 03 2012 01:11 AM
Intellectual310 points

Hello,

I am in need of help on a CC2541 prototype board that I designed that is based on the TI CC2541reference design schematic. the external 32.768 KHz crystals are not functioning on my prototype boards. I have verified the internal 1.8 volt regulator is functioning by measuring the voltage at pin 40 (DCOUPL). The ground pins are also connected to the GND plane of the PCB.I have also verified the reference volt (1.25)is fuctioning by measuring the voltage at pin 30.

The 32.768 KHz crystal that I am using in the design is the Epson Toyocom FC-12M 32.768KD-A3. 15 pf load capacitors are connected to the crystal to GND in the design.

The FC-12M 32.768KD-A3 datasheet specifies a typical CLOAD capacitance of 12.5 pf.

Any suggestions or thoughts on why my crystals are not functioning. Is there is an issue with the CLOAD capacitor values that I am using in the design?

THX

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Eng351
    Posted by Eng351
    on Aug 07 2012 13:48 PM
    Genius3030 points

    Have you enabled the 32.768 external oscillator in software?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • yt
    Posted by yt
    on Aug 13 2012 00:57 AM
    Intellectual310 points

    Yes,I have enabled it by following word:

    #define BV(n) (1 << (n))


    #define XOSC_STB BV(6) /* XOSC: powered, stable=1 */
    #define HFRC_STB BV(5) /* HFRCOSC: powered, stable=1 */
    /* CLKCONCMD bit definitions */
    #define OSC BV(6)
    #define TICKSPD(x) (x << 3)
    #define CLKSPD(x) (x << 0)
    #define CLKCONCMD_32MHZ (0)
    #define CLKCONCMD_16MHZ (CLKSPD(1) | TICKSPD(1) | OSC)
    #define OSC_PD BV(2) /* Idle Osc: powered down=1 */

    #define EXTERNAL_CRYSTAL_OSC 0x00 // external 32kHz XOSC
    #define INTERNAL_RC_OSC 0x80 // internal 32kHz RCOSC

    // For non-USB, assume external, unless an internal crystal is explicitly indicated.
    #define XOSC32K_INSTALLED TRUE //FALSE TRUE
    #if !defined (XOSC32K_INSTALLED) || (defined (XOSC32K_INSTALLED) && (XOSC32K_INSTALLED == TRUE))
    #define OSC_32KHZ EXTERNAL_CRYSTAL_OSC
    #else
    #define OSC_32KHZ INTERNAL_RC_OSC
    #endif

    //START_HSOSC_XOSC
    SLEEPCMD &= ~OSC_PD; /* start 16MHz RCOSC & 32MHz XOSC */
    while (!(SLEEPSTA & XOSC_STB)); /* wait for stable 32MHz XOSC */

    //SET_OSC_TO_HSOSC
    CLKCONCMD = (CLKCONCMD & 0x80) | CLKCONCMD_16MHZ;
    while ( (CLKCONSTA & ~0x80) != CLKCONCMD_16MHZ );

    //SET_32KHZ_OSC
    CLKCONCMD = (CLKCONCMD & ~0x80) | OSC_32KHZ;
    while ( (CLKCONSTA & 0x80) != OSC_32KHZ );

    //SET_OSC_TO_XOSC
    CLKCONCMD = (CLKCONCMD & 0x80) | CLKCONCMD_32MHZ;
    while ( (CLKCONSTA & ~0x80) != CLKCONCMD_32MHZ );

    //STOP_HSOSC
    SLEEPCMD |= OSC_PD; /* stop 16MHz RCOSC */

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Steven Wik
    Posted by Steven Wik
    on Aug 15 2012 14:03 PM
    Prodigy135 points

    Hi,

    We used the KeyFob for our reference design recently and had similar problems with the 32kHz osc.  The problem, as you've already surmised, had to do with the capacitor values.  I don't remember off the top of my head which caps we had to change, but will check later and get back to you.

    -Steve

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • yt
    Posted by yt
    on Aug 15 2012 20:25 PM
    Intellectual310 points

    Hi

    the first ,I should say thanks to you

    I can only to say the 32 kHZ OSC is too sensitive to the capacitance value.

    I try to change the Cl Value from 8p to 22pf ,the 32khz OSC still does not work。but the 32MHZ work well。

    I follow the design guideline “AN100 - Crystal Selection Guide (Rev. A) ” try to resolve this problem .but it still does not work……

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eng351
    Posted by Eng351
    on Aug 15 2012 21:17 PM
    Genius3030 points

    How do you know the oscillator is not running? The crystal waveform can be tricky to measure as the amplitude is very low

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • yt
    Posted by yt
    on Aug 15 2012 22:43 PM
    Intellectual310 points

    HI Eng351

       the most easy method is enable the CKOEN bit of PMUX registers

    When this bit is set, the selected 32-kHz clock is output on one of the P0 pins

    and we can measue to a pin of the P0 port

    other method is use a Low parasitic capacitance  oscilloscope probe ,and  turn it to X10 position to measure the waveform……

    and the last method is use the sleep timer to blink a LED with XOSC

    and so on

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Fredrik K
    Posted by Fredrik K
    on Aug 16 2012 01:52 AM
    Genius9570 points

    Hi Yt,

    With a Cl value of 12.5pF I would think 22pF should be the correct value for the load capacitors.

    Are you sure your footprint for the crystal is correct? Crystal pins are pin 1 and 3, and pin 2 should be connected to ground.

    /Fredrik

    --
    PS. If I answered your question, please hit   Verify Answer  !

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Steven Wik
    Posted by Steven Wik
    on Aug 16 2012 07:56 AM
    Prodigy135 points

    Those cap values look fine to me... we had to change ours to 12-15 pf for both oscillators.  Don't see any reason why those wouldn't work.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eng351
    Posted by Eng351
    on Aug 16 2012 16:10 PM
    Genius3030 points

    yt

    HI Eng351

       the most easy method is enable the CKOEN bit of PMUX registers

    When this bit is set, the selected 32-kHz clock is output on one of the P0 pins

    and we can measue to a pin of the P0 port

    other method is use a Low parasitic capacitance  oscilloscope probe ,and  turn it to X10 position to measure the waveform……

    and the last method is use the sleep timer to blink a LED with XOSC

    and so on

     

    Was just checking you knew how to check it is running - clearly you do :)

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • yt
    Posted by yt
    on Aug 17 2012 10:06 AM
    Intellectual310 points

    HI Fredrik K

    Like you say,I have tried to calculate the compliance with design guidelines。

    (C1*C2)/(C1+C2) =CL’   ,

    C1=C2,

    CL ‘= CL+(2~8pf)

    the results is 22pf

    but the XOSC still dose not work

    finally,I had to re-release a version of the PCB to a larger PCB manufacturers。 

    on the new version PCB ,I use the CL VALUE of 12pf with the 12.5 pf Recommended in the crystal Data Sheet,and it work well

    when I change the CL value from 12pf to 22pf by Calculated through the empirical formula ,It is not working too

    so i had to change back to 12pf

    now it work well

    so i think the last version PCB’s Quality is too bad 。and i also think the 32k osc function is too sensitive Compared with the 32M

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • yt
    Posted by yt
    on Aug 17 2012 10:08 AM
    Intellectual310 points

    Hi Eng351

       you know it

      thank you all the same

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Karel Seeuwen
    Posted by Karel Seeuwen
    on Aug 19 2012 21:26 PM
    Intellectual280 points

    From our experience with the CC2511 the 32K osc. circuit was extremely sensitive to "dirt" on the circuit.

    On our first design we used a leaded Xtal device which was hand soldered with no clean flux, and on some boards this lead to very slow start-up times for the oscillator.

    As a work around we added code in the cold boot start-up procedure to check the 32K (Sleep Timer) counter against a counter running from the CPU clock before making a jump to the main firmware code.

    After changing to an SMT Xtal we have not experienced start-up FAILURES, but we have kept the "cold boot start-up procedure" in the firmware just in case. (Note: this was NOT a Xtal / CL selection - suitability issue).

    If the CC254x is similar to the CC2511, you may experience the same type of problems, especially after doing some re-soldering work. Make plenty of prototype boards and be willing to toss them if they start giving you trouble.

    Also remember about Static Discharge.

    Karel

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • yt
    Posted by yt
    on Aug 20 2012 07:46 AM
    Intellectual310 points

    Hi Karel

    thank you for your experience.If I encounter this problem, I will try your approach

    I will continue to update my latest progress

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Eng351
    Posted by Eng351
    on Aug 21 2012 13:46 PM
    Genius3030 points

    A note I use ABS07-32.768KHZ-T with 12p caps and have never had a problem with osc.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • yt
    Posted by yt
    on Aug 21 2012 20:57 PM
    Intellectual310 points

    Hi Eng351

    thank you for your reply

    Now I use epson FC-135 with 12p and it works well.But I re-released version of the PCB,and find a bigger manufacturers

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use