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.

CC1110 + DMA and RFISR

Hi,

I'm using CC1110 with RF interrupt on packet received and DMA.

It's sure that when the receiver is in RX state and IRQDONE is setted, the packet is received or i need to wait another flag of DMA before to read ?

I ask this, because some times, when i read the packet from buffer, CRC is ok, but some data is missing inside tha packet ( many zero are present on packet).

Thank you !!

  • Hi Rob

    In receive mode the radio and DMA interrupt will happen almost simultaneously except in the case where PKTCTRL1.APPEND_STATUS = 0b and PKTCTRL0.CRC_EN = 1b. In this case the DMA interrupt will happen before the RF interrupt. This means that waiting for the RF interrupt is enough.

    Please note that if the radio implements maximum length filtering (PKTCTRL0.LENGTH_CONFIG = 01b and PKTLEN ≠ 0xFF) or address filtering (PKTCTRL1.ADR_CHK ≠ 00b), filtering of packets will cause the IRQ_DONE flag to be asserted, but will not give a DMA trigger (DMAIRQ.DMAIFn will not be asserted).

    Design note DN107 (DMA and Radio Configuration) explains how to configure and use the DMA together with the radio:

    http://www.ti.com/lit/swra164

    You can also take a look at the example code Please take a look at the code example posted May 16 2014 here:

    http://e2e.ti.com/support/wireless_connectivity/f/156/t/341608.aspx

    BR

    Siri