Author Topic: RFM12B clear interrupt  (Read 665 times)

Witace12

  • Newbie
  • *
  • Posts: 7
RFM12B clear interrupt
« on: November 06, 2014, 01:38:03 AM »
Having trouble converting from polled to interrupt driven receiver code.

When the transmit message is complete, I cannot clear the IRQ pin by reading all the bytes in the FIFO.

Seems like the RX might be triggering on noise.

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 5934
  • Country: us
    • LowPowerLab
Re: RFM12B clear interrupt
« Reply #1 on: November 06, 2014, 07:43:42 AM »
The library is already interrupt driven when a packet is received. You just poll the library to check if it already has read a packet from the transceiver.