Author Topic: RFM69 select DIO  (Read 1698 times)

Jeroen

  • Newbie
  • *
  • Posts: 2
RFM69 select DIO
« on: November 19, 2014, 05:45:54 AM »
Hi,

For the Arduino Uno I have an adapter board for the RFM69 transceiver. With this adapter, DIO0 is wired to D0 on the Arduino. DIO2 is wired to D2 (interrupt 0). Is it possible to the let the RFM69 library use the DIO2 pin instead of DIO0? Thanks!

Regards,
Jeroen.

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 5992
  • Country: us
    • LowPowerLab
Re: RFM69 select DIO
« Reply #1 on: November 19, 2014, 07:47:53 AM »
DIO2 has very different functions. How are you using DIO2?

Jeroen

  • Newbie
  • *
  • Posts: 2
Re: RFM69 select DIO
« Reply #2 on: November 19, 2014, 07:59:10 AM »
I was wondering if it's possible to change the function of DIO0/1/2/3 in software, but I guess it's not? Then it's a flaw in the adapter board.

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 5992
  • Country: us
    • LowPowerLab
Re: RFM69 select DIO
« Reply #3 on: November 19, 2014, 08:10:16 AM »
See p48 of the datasheet for the DIO pin mappings and their functions in continuous and packet mode: http://www.semtech.com/images/datasheet/sx1231h.pdf
The RFM69 library uses packet mode and DIO0 as payload ready interrupt.
You can probably cut the trace from DIO2 and rewire it from DIO0 with a short hookup wire.