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.

CC2530: HFRC CC2530_IS_HFRC_STABLE()语句不通过。

Part Number: CC2530

你好

       我在使用cc2530调试程序时,主函数中执行到

void main(void)

{

      uint8 appMode = TX;
      halBoardInit();

}

void halBoardInit(void)函数中halMcuInit()函数中clockSetMainSrc(CLOCK_SRC_HFRC)函数while (!CC2530_IS_HFRC_STABLE() || ((SLEEPSTA & SLEEP_OSC_PD_BM)!=0))语句

将最后一条语句分开写后。

发现while (!CC2530_IS_HFRC_STABLE() )无法通过,一直停留在这个函数

我应该如何调试呢?

iar版本10.20

程序版本swrc135b