I have a custom CC430F5133 board which hangs at the following command when using the RF example code.
while ((RF1AIN&0x04)== 0x04); // chip-ready ?
I am wondering what could cause this. The 26MHz crystal seems to be working ok, and the code only hangs when Strobe( RF_SRX ); is called. Is there any significance to using BIT2 (0x04)? When I checked the register using the debugger, RF1AIN is equal to 0x04.
Any help would be greatly appreciated. I'm not really sure what could be causing this.
Has anyone else run into this problem? Does anyone from TI know what could cause this bit to not clear?
NJC,
The only think I can think of is the fact that you have to set the MSP430 Core voltage to level 2 in order to use RF.
Look for a function called:
SetCore(2);
Regards,/TA
---------------------------------------------------------------------------------------------------------Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------
I also have the same problem.
I remark SetCore(2); and it still not working.
It stucks in ResetRadioCore();
if you remark this line also it stucks in InitRadio();
What can we do in order to operate this prog ?
I succeed to go forward some steps by disabling the commands (it must not be like this but lets say it's ok for this moment):
while( !(RF1AIFCTL1 & RFINSTRIFG)); // Wait for radio to be ready for next instruction
and while ((PMMIFG & SVSMHDLYIFG) == 0); // Wait until SVM highside is settled
But now there is a new problems :
1. it stucks on __no_operation();
2.if I remark __no_operation(); command it stucks on the command: if (buttonPressed).
The initial settings of buttonPressed is zero. So it shuld go to the command else if(!transmitting)
In the reality it's not going to anywhere.
What should I do now ???