Help with timer in retriggerable one pulse mode
I am using the STM32L4S9AII6 clocked at 120MHz.
I am trying to configure a simple (to me it should be simple) retriggerable one pulse mode timer. I was able to configure TIM6 in one-shot mode, but I had the following issues:
- The timer was not retriggerable
- MxCube did not allow me to eliminate the pulse delay as this was a basic timer.
I am now trying to use general purpose timer TIM15 because the reference manual is inferring that this is the only timer that is capable of retriggerable one pulse mode. However, I am not even able to get this timer to trip an interrupt. My frustration is that I have now come across 3 different ST documents that explain how to configure the timer in this mode, but all of them reference hardware registers which means little to me because MxCube does not indicate what registers are being changed with the avalable settings.
Can someone please help me know how to set up a retriggerable one pulse timer using MxCube? Specifically, I want this to be completely software driven where a single pulse of fixed duration occurs at the moment I call:
HAL_TIM_Base_Start_IT(&htim15);
I do have the TIM15 interrupt enabled in MxCube. Here are the remaining pieces of configuration details, however, I have tried many different combinations of things. My expectation is that the clock ticks every micro-second (120MHz/120) and the interrupt callback gets called after about 45us (45-1).