ABP in Release v1.4.0
I have a complete working project based on stack v1.3.1. Two days ago I tried to move it on a new release v1.4.0 and I immediately ran into a problem with ABP. Same flow, same init, same settings, same parameters, same inputs on same custom board works smoothy on v1.3.1, but not on the v1.4.0. The problem show up on the first attempt to send a package which results in "tx timeout".
v1.4.0 ABP logs with "TX TimeOut":
[LORA-JOIN]: JOINED, act type: ABP
[LORA-JOIN] U/L FRAME:JOIN | DR:5 | PWR:0
[LORA_IDs]
DevEUI: 00:00:00:00:00:00:00:02
JoinEUI: 01:01:01:01:01:01:01:03
DevADDR: 00:00:00:04
[LORA-EVT] OnTxTimerEvent
[LORA-TX] APP PACKET [PORT 2]: 0 AA [2]
[MW] RegionCommonTxConfigPrint: TX on freq 868100000 Hz at DR 5
[MW-MAC] OnRadioTxTimeout: TX TimeOut
[LORA-TX] MCPS-Confirm:
U/L FRAME:0002 | PORT:2 | DR:5 | PWR:0
MSG TYPE: UNCONFIRMED
...
v1.3.1 ABP logs without "TX TimeOut":
[LORA-JOIN]: JOINED, act type: ABP
[LORA-JOIN] U/L FRAME:JOIN | DR:5 | PWR:0
[LORA_IDs]
DevEUI: 00:00:00:00:00:00:00:02
JoinEUI: 01:01:01:01:01:01:01:03
DevADDR: 00:00:00:04
[LORA-EVT] OnTxTimerEvent
[LORA-TX] APP PACKET [PORT 2]: 0 AA [2]
[MW] RegionCommonTxConfigPrint: TX on freq 868500000 Hz at DR 5
[MW-MAC] OnRadioTxDone: TX DONE
[MW] RegionCommonRxConfigPrint: RX_1 on freq 868500000 Hz at DR 5
[MW-MAC] RadioIrqProcess: IRQ_RX_TX_TIMEOUT
[MW-MAC] OnRadioRxTimeout: RX TimeOut
[MW] RegionCommonRxConfigPrint: RX_2 on freq 869525000 Hz at DR 0
[MW-MAC] RadioIrqProcess: IRQ_RX_TX_TIMEOUT
[MW-MAC] OnRadioRxTimeout: RX TimeOut
[LORA-TX] MCPS-Confirm:
U/L FRAME:0002 | PORT:2 | DR:5 | PWR:0
MSG TYPE: UNCONFIRMED
...
Another thing I would like to mention is that on the other hand, I have no "tx timeout" problems at all with OTAA on v1.4.0. Did I miss something? I've spent the last 48 hours trying to figure out what's wrong. But without success. Maybe someone has encountered a similar problem and could help me. Or at least point me in the right direction where to dig further?
Btw, I'm using a Seeed Lora-5E module on a custom PCB.
Thank you!
ST Internal Reference: 223766
Hello @spirit-st,
Thank you for your report, after investigation to reproduce your issue, we tested the application with both versions. We believe there is no problem with our application.
We reviewed the attached serial log, and it appears there is an issue with the radio IRQ handler.
Basically, this print "OnRadioTxDone: TX DONE" or "OnRadioTxTimeout: TX TimeOut" is at Radio IRQ level, so there could be something related to the BSP porting or similar factors.
You can find in attachment file below the serial log result of both application version:
BR, Mohamed Chaker.