Other Parts Discussed in Thread: ENERGYTRACE, SYSBIOS, SYSCONFIG
Tool/software: Code Composer Studio
Hi,
I am modifying the rfPacketRx example you have provided. I am receiving packets with a regular period of space in between each, whose period is not very strict. My code is working, but my power as measured by EnergyTrace is high (6mA average). It is even higher (8mA average) when the board is receiving no signal.
At the end of each received packet, I run RF_yield, then use a timer to run RF_runCmd again before the next packet will come. I can vary this timer from long to short, and my power usage doesn't change. When I run EnergyTrace++, it shows that my RF stays in rxwait 100% of the time.
If I run the rfWakeOnRadioRx example, my power usage is 1mA average, and EnergyTrace++ shows that the RF stays off most of the time. How do I get the radio in that state? I thought RF_yield was supposed to do it, but as I said I see no power savings.
I also implemented some timers to watch for a long period of no input and run RF_yield, and I can verify on the logic analyzer that I'm getting into that state, but my power does not change.
Thank you