2017-04-24 05:43 AM
A lots of time, the timer used to switch off the TCXO of the LoRa Module seems to block the timer utility. As this one stay indefinitely on the head.
Did someone see already this problem ?
#i-cube-lrwan2017-04-27 12:25 AM
Maybe this problem is related to this one found on the official semtech repro :
https://github.com/Lora-net/LoRaMac-node/issues/219
PS : It should be very easier to put the lrwan code on this repo..... to get bug correction as fast as possible.
2017-04-27 03:32 AM
Hello Fabien,
I'll report this case internally for farther check.
However, it will be interesting to know if the patch suggested in GitHub issue does really fix the problem you are facing.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-05-05 10:33 AM
Hello
LETORT.Fabien
,We need following details in order to more investigate the issue: what are you using as:
Thank you,
Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-05-10 08:31 AM
Hello
,Issue was deeply investigated by our expert.
Root cause seems to be related to the factwhen 2 RTC alarms occur one just after the other, the first alarm is hiding the second one.
The suggested workaround is to replace current implementation ofHW_RTC_IrqHandler in HW_RTC.c file by the following one:
void HW_RTC_IrqHandler ( void ){ RTC_HandleTypeDef* hrtc=&RtcHandle; /* enable low power at irq*/ LowPower_Enable( e_LOW_POWER_RTC ); /* Get the AlarmA interrupt source enable status */ if(__HAL_RTC_ALARM_GET_IT_SOURCE(hrtc, RTC_IT_ALRA) != RESET) { /* Get the pending status of the AlarmA Interrupt */ if(__HAL_RTC_ALARM_GET_FLAG(hrtc, RTC_FLAG_ALRAF) != RESET) { /* Clear the AlarmA interrupt pending bit */ __HAL_RTC_ALARM_CLEAR_FLAG(hrtc, RTC_FLAG_ALRAF); /* Clear the EXTI's line Flag for RTC Alarm */ __HAL_RTC_ALARM_EXTI_CLEAR_FLAG(); /* AlarmA callback */ HAL_RTC_AlarmAEventCallback(hrtc); } }}�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?�?
This fix will be available in coming release of I-Cube-Lrwan package.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-05-24 07:51 AM
I don't understand this fix.
this code is similar to hal one ? (
HAL_RTC_AlarmIRQHandler)
in my case i have only one rtc alarm activated (as
I-Cube-Lrwan package do).