Dragino LSN50 sensor node - problem with Digital Interrupt

Hi,

I have a Dragino LSN50 v2 (bought July 2020) connected to the TTN; the DS18B20 temp sensor works correctly, but I am having issues with a door sensor.
If I connect the doorsensor as a digital input on VCC and PA12, it will correctly indicated Digital_IStatus ‘H’ or ‘L’.
But I’d like to use the ‘Digital Interrupt’ feature (VCC and PB14) where an interrupt is generated using the falling edge. This does not work. Any idea how I can get this to work ?
Additional question: will using the ‘Digital Interrupt’ feature create an immeadiate Lora transmission (I assume that) or will it just report it’s status at the next (5 min) transmission interval ?
If it does not immeadiately transmit, I can use the existing digital input option.

best regards,

Chris
Belgium

Which AT commands did you use to setup the interrupt?

I did not use an AT-command; according to the manual the default setting is ‘falling edge’ - but you’re right, I will I’ll double check the settings & Firmware version - need to find my USB-TTL adapter.

regards,

Try a AT+ INTMOD? to see what was actually set before changing it!

ok,

I’ve checked the config:
CONFIG LSN50

AT+ADR=1
AT+TXP=1
AT+DR=4
AT+DCS=0
AT+PNM=1
AT+RX2FQ=869525000
AT+RX2DR=3
AT+RX1DL=1000
AT+RX2DL=2000
AT+JN1DL=5000
AT+JN2DL=6000
AT+NJM=1
AT+NWKID=00 00 00 13
AT+FCU=1
AT+FCD=0
AT+CLASS=A
AT+NJS=1
AT+RECVB=0:
AT+RECV=0:
AT+VER=v1.6.3 EU868
AT+CFM=0
AT+CFS=0
AT+SNR=0
AT+RSSI=0
AT+TDC=300000
AT+PORT=2
AT+RX1WTO=6
AT+RX2WTO=9
AT+MOD=1
AT+INTMOD=2 <changed this to 1 >
AT+WEIGAP=400.0
AT+5VT=0
AT+CHS=0

I’ve changed INTMOD to 1 and now it is working on falling & raising edge - no idea why it did not work before, I’ll let it run for a while before I install it.
thanks for your help