Closed MrSurly closed 6 years ago
There should not be any conention.
Mind sharing the sketch here, so that I can take a peek ?
On Wed, Aug 22, 2018 at 2:46 PM Eric Poulsen notifications@github.com wrote:
I have a TimerMillis that I'm using to blink LEDs -- it triggers every 100ms. If I do not activate this timer, the the join seems to occur immediately. When it's in use, join can take several minutes.
Having the timer > 1000 ms helps considerably.
Is there some sort of timer contention on the STM32L0?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/ArduinoCore-stm32l0/issues/33, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfJsQ3soSj88SPpeyv0xPZPcWG5wAks5uTcMRgaJpZM4WIYsd .
It's ... very large. I'll try to make a minimum sketch that will re-create.
Oki. What board is that on ?
On Wed, Aug 22, 2018, 5:10 PM Eric Poulsen notifications@github.com wrote:
It's ... very large. I'll try to make a minimum sketch that will re-create.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/ArduinoCore-stm32l0/issues/33#issuecomment-415216859, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfLVTcFuxQ5OJcSvMYWia7tNd0zb6ks5uTeT_gaJpZM4WIYsd .
It's a custom board running the CMWX1ZZABZ-078. Variant is B-L072Z-LRWAN1. Actual MCU is STM32L082.
Note that I have not nailed it down to any root cause. I do notice that when I disable the LED timer, then it often connects immediately after the first (sometimes second) join request. Before, the wait was 5-6 join requests.
The physical gateway is 5 feet away, and we're using TTN.
Is there a quick repro I could take a peek at ?
Yes, sorry, I've been out-of-town since Wednesday.
I'm going to close this for now. I think TTN is just slow at responding sometimes.
I have a TimerMillis that I'm using to blink LEDs -- it triggers every 100ms. If I do not activate this timer, the the join seems to occur immediately. When it's in use, join can take several minutes.
Having the timer > 1000 ms helps considerably.
Is there some sort of timer contention on the STM32L0?