Other Parts Discussed in Thread: CC2520, CC2420, CC2530, MSP430F5438
hi,
i'm doing an auto-learning on an rf transceiver module, as i'm not familiar with ti products. i'm using an msp430 microcontroller eb and an rf transceiver eb module using the 802.15.4 (i'm a beginner at the moment).
my question is, where can i find a step-by-step tutorial on how to programme an rf transceiver (notably on the 2.4 Ghz band) ? i've tried following the example codes without much success.
so far, my procedure for the transmission has been as follows (not working great though):
- init (for the ports, spi interface, rf module)
- interrupts (config, enable or disable)
- oscillator (start and wait till stable)
- set the source pan id and source address
- flush tx queue
- fill payload (just anything to receive)
- write everything to fifo (respeting the packet format and bytes: length, fcf, sequence, dest pan id, dest add, source pan id, source add, payload)
- initiate tx
- wait for ack (optional)
is my procedure generally okay ? have i missed out something important (okay, the brief summary above wasn't that detailed, so hard to tell right ?) ?
thanks a zillion !
VZ