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.

MSP-EXPCC430RFx Experimenter Kit

Other Parts Discussed in Thread: CC1101

Hi,

I have a the EXPCC430RFx Experimenter kit.  I can get it to work out of the box using the User Experience software on both the 5137 and 6137 boards.  I need to use the 6137 as a receiver with variable length packets where the max packet size is 255 bytes or less and the FIFO threshold is set at 32 bytes.   Using all the User Experience defaults with the exception that I changed the RX interrupt from RFIFG9 (interrupt on EOP) to RFIFG4 (interrupt on FIFO threshold or EOP).  On an interrupt I only read out one less byte than is in the FIFO (as required as per the manual page 25.3.3.8) unless it's the EOP in which case I read out the entire FIFO.  On the TX side I'm sending out an 81 byte packet once per second.

The software works fine if the packet size is smaller than the FIFO size and I can read out the entire FIFO in one interrupt.  When I read out one less byte than is in the FIFO and return from the ISR, the interrupt fails to retrigger and the ISR is never called again.  I've tried disabling and re-enabling the interrupt and that doesn't retrigger it.  Clearing the flags in the interrupt flag register doesn't fix it.  I've tried different interrupts, and a combination of interrupts.  The interrupt always fails to retrigger unless the entire FIFO is read out in the ISR.

How do I implement variable length packets?  I can't find anything in the manual directly related to this other than what's in section 25.3.38 of the manual, "CC430 User Guide"

Thanks!

Kevin