Replies: 2 comments 1 reply
-
A few questions for you - |
Beta Was this translation helpful? Give feedback.
1 reply
-
The vector at position 0xF is TIM2, not TIM3. It looks like you are using TIM2 but have not registered an interrupt handler for it. Seems like maybe this is a CubeMX code generation issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Jeff,
I've been able to integrate LPTIM-Tick into my project, but the system vectors off to Default_Handler, vector 0x0F (TIM3 ISR I think) right after _ISB() is called in vPortSuppressTicksAndSleep(). When configuring the SYS section in ST CUBE, it recommended to NOT use SysTick as the HAL timebase, so I chose TIM3 instead.
It seems like LPTIM1 runs the FreeRTOS timebase, while the ST HAL timebase is separate. I set configTICK_INTERRUPT_PRIORITY 4 per your instructions, because all application interrupt priorities in ST CUBE were 3 or below, but I still get hung up in Default_Handler.
What am I missing? My application would really benefit from lower-power sleep!
Beta Was this translation helpful? Give feedback.
All reactions