Skip to main content
Snm.1
Associate III
Mar 30, 2021 12:23 PM UTC
Question

B-L072Z-LRWAN1

I am using B-L072Z-LRWAN1. I ran the ping pong application ready here. I wanted to set up timer interrupt myself but there is no .ioc file. I opened another project, set up a timer in cubemx, tried and run it, and added it to the ping pong project. but timer interrupt ping pong did not work in the project. I wonder if you have a solution.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
Mar 30, 2021 3:48 PM UTC

The code was written by an engineer, not code-generated, and based on Semtech's model, not ST's

Add the TIM code as if you were using the HAL directly.

Look at the HAL TIM examples

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Snm.1
Snm.1Author
Associate III
Mar 31, 2021 6:05 AM UTC

hello I just added the state code but I couldn't run it. I wonder if I'm trying to use a timer that I shouldn't use. I used timer 2-3-4. I am working for my university project. I will be glad if you help.

Snm.1
Snm.1Author
Associate III
Mar 31, 2021 6:05 AM UTC

hello I just added the state code but I couldn't run it. I wonder if I'm trying to use a timer that I shouldn't use. I used timer 2-3-4. I am working for my university project. I will be glad if you help.