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.

CC430F5137 Get stack after the command SetVCore(2);

I'm tryig to debug the prog. RF_Toggle_LED_Demo.c  which  is included in slaa465b.zip (SLAA465 - CC430 RF Examples) via the simulator of IAR for MSP430 ver.5.501.

When I run the frog. step by step I get stack in the command SetVCore(2);

If I break the simulator it goes to the commands :

while ((PMMIFG & SVSMLDLYIFG) == 0);   // Wait until SVM low side is settled

remarak this command transfer to :

while ((PMMIFG & SVSMLDLYIFG) == 0);  // wait for lowside delay flags

emarak this command transfer to :

while ((PMMIFG & SVSMHDLYIFG) == 0);  // Wait until SVM highside is settled

After remarking those lines in hal_pmm.c file the simulator get stack in the folloing line which is InitRadio(); command.

What is the reason for this ?   What can I do in order to simulate the program ?

BR

Yaniv