cancel
Showing results for 
Search instead for 
Did you mean: 

Timer interrupt timeout issue with LoRa Wio E5 Mini(STM32WLE5JC6)

user_01
Associate II

I have been using Seeed-LoRa-E5 github repository for my project. I have added code to send I2C sensor data to the LNS and the device joins and sends data successfully and the code works fine as expected. Now I want to add a timer interrupt and so I am using timer 2 to do that. I calculate the ARR value for the timer using the formula Time interval = (ARR + 1)*(PSC + 1)/FCLK. I get the desired time interval when running the timer in a blank project after calculating the ARR and configuring accordingly, but when done in this project for example I get 30 sec time interval for the ARR value calculated for 1 sec. In the project by default only the internal RTC is enabled and used to periodically make the MCU go to sleep and wake up during transmission, and no other timers are enabled. Why do I get this issue?

 

1 REPLY 1
STTwo-32
ST Employee

Hello @user_01 

First of all, the LoRa-E5 HF is a Seed Studio module based on a STM32WLE MCU. So, to ask about it, it will be better to contact them on their forum.

Best Regards.

STTwo-32 

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.