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.

whether uart works or not without external 32.768Khz crystal

Other Parts Discussed in Thread: CC2540

Hello ,

If we do not use the external 32.768KHz crystal , does the uart of CC2540 work well ?

Now I want to check whether the external 32.768KHz crystal works or not, if it does not start , I want to send something to main MCU using UART , can i do that ?

  • Hello,

    The 32kHz crystal is needed for sleep/wakeup timing. Are you enabling POWER_SAVINGS in your project?

    Best wishes
  • Thank you .

    Now I am just testing. At the beginning of the project, I do not enable POWER_SAVING, it does not run ble_stack. I just want to test whether the UART can work or  not without enabling any clock.My real purpose is that if the uart can run, i can use it send some information to main MCU to indicate some clock not run well ,if needed. The example code like this:

    void main(void)

    {

    check 32.768Khz start ot not.

    if ( start) 

    goto normal project,which runs based on BLE_stack

    else if (not start)

    uart initialize

    while(1)

    sending some bytes to main MCU  to inform this external crystal does not work

    }

    whether does the above example  run or not ?