Ok i am working with several CC1120s and the program iv wrote has been 100% my own however i will post some of it if need be. My issue at the moment is low power.
right now i have once set up as a transmitter on an old msp-exp430F5438 board which transmits data packs whenever i press a button. the receiver is wired to a msp-ts430pz100usb board with an msp430F5659 in it.
ok iv been receiving great no issues there when in rx mode continuously so in the interest of low power it is time to work on ewor and rx sniff mode.... so iv got it working but the power consumption when waiting to receive is about 16.23mA..... a little high for what i need.
Now to describe how iv got it set up, i changed some register settings to work for ewor
WOR_CFG0 = 0x26 so that RCOSC is running and calibrates ever 4th time it goes to rx.
WOR_CFG1 = 0x88 so its also in normal mode not feedback (i was getting marc stat = 0x03 in that with no way to fix it)
also changed RFEND_CFG0 = 0x09 partially so that rx termination is enabled on CS as well as it goes to idle when a packet comes in this is so i can check the gpio that pulses and the marc state so i know i have a packet to read i set that up with an ISR so anytime it goes to idle it enters my isr and checks that marc state and handles the issue from there.... hope this is sounding good so far..
now when i check the logic analyzer the MISO line pulses for just over 3ms every about 10ms this is of course after all registers are set and iv strobe the SWOR command. (dont know if the MISO line pulsing tells you guys anything)
now when i hit the transmiter it transmits some packets fine and the reciever picks them up fine but while no packets or sync words are coming in its still at 16.27 ish mA
if anyone has any suggestions to get the current as low as possible while waiting to get a packet please let me know any help would be greatly appriceated